Computing.Net > Forums > Linux > PHP Installation in Debian Linux

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

PHP Installation in Debian Linux

Reply to Message Icon

Name: djx01dlob
Date: April 18, 2005 at 13:29:01 Pacific
OS: Debian Linux
CPU/Ram: 512 meg
Comment:

Hi,

I have just set up a web server running debian linux.

After setting it all up i have been able to see html fiel that i put in the var/ww direcotry from other computers, the problem is, is that i like to make most websites in php.

I have no idea how to get php to work, if anyone could provide or give me a link to a step by step for debian that is very simple, because i cant find any that work anywhere it would be appricaited

Thanks

Darren

Thanks,



Sponsored Link
Ads by Google

Response Number 1
Name: simonmagus
Date: April 19, 2005 at 00:04:33 Pacific
Reply:

hi
well you can just apt-get install php4
that would be the easy way out

simon


0

Response Number 2
Name: djx01dlob
Date: April 19, 2005 at 07:55:32 Pacific
Reply:

Hi,

I have done that, but it dosnt seem to make any difference, it still wont work with php, it just list the fiels (index of/) it dosnt recognise index.php as a homr page, but if u click on it it still dosnt work, it just asks to download, so the php just dosnt seem to be working at all

Thanks

DArren

Thanks,


0

Response Number 3
Name: K-maleon
Date: April 19, 2005 at 10:13:31 Pacific
Reply:

If you have php4 already installed, and cannot display php pages on the browser...
You need modify the httpd.conf (the problem is Apache, not php).
Im sorry for my pour english.

check this lines in your httpd.conf:

<IfModule mod_dir.c>
DirectoryIndex index.html index.php index.htm index.shtml index.cgi
</IfModule>

and...

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps


good luck and regards!


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: PHP Installation in Debian Linux

Java in debian www.computing.net/answers/linux/java-in-debian/13026.html

Problem installing Debian Linux www.computing.net/answers/linux/problem-installing-debian-linux/25073.html

Installing a package in Debian www.computing.net/answers/linux/installing-a-package-in-debian/10168.html