apache && php help needed
hey linux lovers....help me
i installed apache2 from source installation using the following command.. ./configure --prefix=/usr/local/apache2 --enable-module=so and php5 :: ./configure --with-apxs2=/usr/local/apache2/bin/apxs and configured the httpd.conf as ::: LoadModule php5_module libexec/libphp5.so and added AddType application/x-httpd-php .php and started the service with the command /usr/local/apache2/bin/apachectl start and it displayes an error msg saying cannot load /usr/local/apache2/libexec/libphp5.so into server: /usr/local/apache2/libexec/libphp5.so: cannot open shared object file no such file or directory... and when php files are opend in browser the get downloaded and cannot be viewd... where did i go wrong???? Thanks in Advance::: :newbie: |
anybody to help me....
|
The error might be because you don't have libphp5.so in the path that you think it is. Try
#locate libphp5.so and see where it is... |
exatly to where do i need to place it..???
|
Quote:
See if that works... |
1) Did you run make install when you compiled php? If so, do what tuxrules has told you:
Code:
locate libphp5.so Code:
/usr/lib/libphp5.so That should solve it. Oh, and verify you are not using apache 2.0.52, it doesn't work with php5. Been fuzzling my head for months when php refused to read the config file. Use 2.0.53 instead, it works perfectly. |
All times are GMT -5. The time now is 12:45 AM. |