GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   linux/apache/php help (https://gfy.com/showthread.php?t=432524)

etech 02-16-2005 07:02 AM

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/

JFPdude 02-16-2005 07:03 AM

Your using apache 2 ?

Weppel 02-16-2005 07:09 AM

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

etech 02-16-2005 07:34 AM

Quote:

Originally Posted by Weppel
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

It's allready set to pass_all

etech 02-16-2005 07:36 AM

Quote:

Originally Posted by JFPdude
Your using apache 2 ?

yes, im using apache 2

bringer 02-16-2005 07:55 AM

its /modules not /bin

bringer 02-16-2005 07:58 AM

its true

bringer 02-16-2005 08:06 AM

nevermind, i need sleep

etech 02-16-2005 08:21 AM

Quote:

Originally Posted by bringer
its /modules not /bin

ohh, libphp*.so should be placed in modules

bringer 02-16-2005 08:24 AM

Quote:

Originally Posted by etech
ohh, libphp*.so should be placed in modules

AddType application/x-httpd-php .php
LoadModule php4_module /usr/local/apache2/modules/libphp4.so

etech 02-16-2005 08:29 AM

Quote:

Originally Posted by bringer
AddType application/x-httpd-php .php
LoadModule php4_module /usr/local/apache2/modules/libphp4.so

well i know that, the problem is that the libphp4.so file isn't generated when its build

bringer 02-16-2005 08:35 AM

Quote:

Originally Posted by etech
well i know that, the problem is that the libphp4.so file isn't generated when its build

is there a libphp4 file there without the .so?
if so try renaming it

bringer 02-16-2005 08:40 AM

google said add this
--disable-cgi --enable-force-cgi-redirect

Screaming 02-16-2005 08:43 AM

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