|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
After installing PHP4 and making the following changes to
http.conf: Loadmodule php4_module libexec/libphp4.so Addmodule mod_php4.c Addtype application/c-httpd-php .php I restart apache and get the following error message: Cannot load /var/lib/apache/libexec/libphp4.so into server: File not found The file is in the location it is supposed to be and I have tried the fix I found in many places on the net; which is editing the "/etc/ld.so.conf" file to include the directory where libphp4.so resides and then run "ldconfig". However, this does not do anything. When I start apache I get the same error.. Any thoughts on this problem would be greatly appreciated! |
|
#2
|
|||
|
|||
|
>> Addtype application/c-httpd-php .php
There is no such thing as c-httpd-php >> which is editing the "/etc/ld.so.conf" file to include the directory where libphp4.so resides No, it's too late and you need to do it prior to running ./configure. See, the problem is when you install software to non-standard location. Anyhow you need to reinstall all over again. |
|
#3
|
|||
|
|||
|
i think you get the same error message if the library depends on other libraries not installed.
do: ldd /var/lib/apache/libexec/libphp4.so it will tell you if all necessary libs are there. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > Apache/PHP config problems |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|