![]() |
linux/apache/php help
Im trying to compile apache and php on my box, but it wont create the libphp4.so file.
What am i doing wrong ? Here is my PHP configure command ./configure ./configure --prefix=/usr/local/php4 --with-apxs2=/usr/local/apache2/bin/apxs --with-libxml-dir=/usr/local/lib --with-zlib --with-zlib-dir=/usr/local/lib --with-mysql=/usr --enable-soap --enable-sockets --with-jpeg-dir=/usr --enable-exif make make install Here is my apache configure command ./configure --prefix=/usr/local/apache2 --enable-so make make install Both apache and PHP are successfully compiled, but the libphp4.so is not to be found anywhere on the system, should be placed in ...../apache2/modules/ |
Your using apache 2 ?
|
1. run your configure script as it is
2. Open the libtool file that is created in the php source directory 3. find the variable definition: deplibs_check_method= 4. edit it to read: deplibs_check_method="pass_all" 5. run make Next time, use google. It's filled with libphp4.so build problems |
Quote:
|
Quote:
|
its /modules not /bin
|
its true
|
nevermind, i need sleep
|
Quote:
|
Quote:
LoadModule php4_module /usr/local/apache2/modules/libphp4.so |
Quote:
|
Quote:
if so try renaming it |
google said add this
--disable-cgi --enable-force-cgi-redirect |
im of no help, sorry, but you can still see my siggy :winkwink:
|
| All times are GMT -7. The time now is 01:16 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123