LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   make php does not create libphp4.so (https://www.linuxquestions.org/questions/linux-software-2/make-php-does-not-create-libphp4-so-287068/)

dlublink 02-06-2005 07:02 PM

make php does not create libphp4.so
 
Hi.

I downloaded the latest version of php 4 (4.3.10). I untar it (tar -zxvf php-4.3.10.tar.gz) to a folder(php-4.3.10). I tried to compile ( ./configure --with-mysql && make && make install). It seemed to do everything, but it does not create the file libphp4.so. The INSTALL file said that this file is the file that should be loaded with in httpd.conf (LoadModule php4_module libexex/libphp4.so). When I configured Apache, although this should make no different to the trouble I am having, I used the option --enable-module=so.

I searched the entier system and libphp4.so does not exist.

Where did I go wrong?


thanks,

David

__J 02-07-2005 03:15 AM

did it create libphp4.so.x.x.x? did you pass --enable-shared to configure?

bathory 02-07-2005 04:10 AM

You should configure php --with-apxs(2)=/path/to/apache(2)/bin/apxs
N.B. (2) is for apache2

dlublink 02-07-2005 10:28 PM

It would seem that I confused apxs with something else. I thought apxs was some add in that I did not need, I did not realize that it was a vital part of PHP/Apache installations.

It appears that this was the problem.

Mine was in /usr/local/apache/bin/apxs.

Thanks a bunch. If anyone else has this trouble, and like me, has forgotten where apache was installed.

Just do

find / | grep apxs

There is a better way to find it , but heck, it works for me :D

David


All times are GMT -5. The time now is 02:12 AM.