Apache and PHP problem
Hi, I've seen this problem posted in a few places but never saw a solution suitable for me.
I have installed apache 2.2.3 and php 5.1.5. I have added the necessary lines to my httpd.conf and when trying to start apache again using this command: Code:
/usr/local/apache2/bin/apachectl start Code:
httpd: Syntax error on line 54 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory I am a linux newbie and im using CentOS 4.3. If anyone can help me i would be very grateful. Thanks |
Copy the file needed from where you installed php5 into the map it is needed. COPY not CUT!
|
the file libphp5.so is nowhere to be found. Thats my problem.
|
Could you give as more details, like how did you installed apache and php? Did you used your package manager, or did you compiled them from source?
|
Try downloading the source and see if they supply the library. More than likly you are going to have to compile php from source.
|
All times are GMT -5. The time now is 07:03 PM. |