Need some help with PHP
Well, I have 10.2 installed on my server, and a few nights ago when I tried to use the phpsysinfo page I had just uploaded, to my surprise PHP was not working. According to Webmin, the PHP package is installed, and there is a php.ini in my httpd configuration folder. I have a feeling that I need to add something to httpd.conf or something like that in order to get PHP to work. I am running Apache 1.3.33, and Webmin says that PHP version 4.4.0 is installed. I don't need the latest versions, I just want the stuff to work. Any help would be greatly appreciated. Thanks in advance.
|
And you did not think to open /etc/apache/httpd.conf in an editor and look for the string "php"????
Everything is well documented there. Eric |
Well, I sense a little bit of "you stupid newbie" in that post, but anyway, I sure don't see any documentation in my httpd.conf file. I checked it before I even thought of coming here. I will be more than happy to post it once this stupid "You Cannot Post URL's Until You Have Made More Than 5 Posts" thing goes away... Anyone else wanna give me some more helpful advice?
|
In your http.conf file, near the bottom, there "should" be a line like this (possibly commented out):
Include /etc/apache/mod_php.conf |
Taken from Slackware 10.2 /etc/apache/httpd.conf starting with line 1018:
Code:
# By default, all external Apache modules are disabled. To enable a particular Remove the # from the last line shown here and restart apache. Stupid newbie... no (I do not know anything about your experience), but you definitely have your eyes in your pockets. Eric |
Eric - a little more tact is called for here. It may not be that the OP isn't looking closely, it may be that they don't understand what they are looking at. Basically, everything apart from the last sentence of your post is fine.
|
All times are GMT -5. The time now is 10:20 AM. |