954,174 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

cannot run php on apache

Once php has been installed on apache server, why I cannot run php program on it, any idea?

michael123
Junior Poster in Training
94 posts since Jun 2005
Reputation Points: 10
Solved Threads: 0
 

the server must support php, then you can use it

axieaxie
Newbie Poster
13 posts since Jun 2005
Reputation Points: 11
Solved Threads: 0
 

You need to add support to apache as stated something like this if you have apache2;
APACHE2_OPTS="-D PHP4"
On my distro (Gentoo) its in /etc/conf.d/apache2/apache2.conf
Each distro may be a little different like /etc/apache2/httpd.conf

comprookie2000
Light Poster
35 posts since Jun 2005
Reputation Points: 10
Solved Threads: 3
 

what versions of apache and php do you have?

wakOrang3
Newbie Poster
21 posts since Jun 2005
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: