copy library file
I just try to install apache to centos server , when start apache , it pops the below error .
I just would like to ask if the file "libphp5.so" is missing , could I copy it from another machine which have the samiliar version of php ? Code:
httpd: Syntax error on line 185 of /usr/local/apache2/conf/httpd.conf: Cannot load modules/libphp5.so into server: /usr/local/apache/modules/libphp5.so: undefined symbol: XpmLibraryVersion |
libphp5 is available, but that version is not compatible with the apache.
|
If you want to risk borking your system, yeah sure, why not?
Why not just post what's on line 185 so we can see what it's on about? |
Is php installed?
|
Quote:
Does the application you have need php? If php is needed, you need to install with yum command. |
Nicee..
|
Quote:
Code:
LoadModule php5_module modules/libphp5.so |
Quote:
|
Quote:
So, first, remove that line from httpd.conf, then install php module for apache; I think it is called mod_php (search with yum) Code:
yum search mod_php After install with yum, it will insert the line in httpd.conf; so after yum command, restart httpd service and test your application. |
All times are GMT -5. The time now is 08:28 PM. |