(assuming apache2)
 
apt-get install libapache2-mod-php5
 
when your done, you may need enable the module:
 
cd /etc/apache2/mods-enabled/
ln ../mods-available/php5.conf --symbolic
ln ../mods-available/php5.load --symbolic
 
and then of course you would need to restart apache2
 
/etc/init.d/apache2 restart
 
Later,
Dave
On Mon, 30 Oct 2006 18:23:13 -0700 Josh Ricker <[EMAIL PROTECTED]> writes:
I am trying to get my installation of PHP5 to work on my Debian server.  I know that my problem is common, but I haven't been able to come up with a solution from the net that will work.  When I view a .php file on my site, it asks me if I want to save the file or open it, instead of the server processing and serving it up to the browser.  I recently ran an update with aptitude and used apt-get to get PHP5 installed on my machine.

Any help would be appreciated! thanks.

Josh
 
--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/newbies

Reply via email to