Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 02-16-2005, 07:02 AM   #1
etech
Confirmed User
 
Join Date: Feb 2004
Location: Right next to you....
Posts: 1,148
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/
etech is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2005, 07:03 AM   #2
JFPdude
Confirmed User
 
Join Date: Jan 2002
Location: Mountains of Western North Carolina.
Posts: 4,027
Your using apache 2 ?
JFPdude is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2005, 07:09 AM   #3
Weppel
Confirmed User
 
Join Date: Aug 2003
Location: Netherlands
Posts: 2,190
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
Weppel is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2005, 07:34 AM   #4
etech
Confirmed User
 
Join Date: Feb 2004
Location: Right next to you....
Posts: 1,148
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 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2005, 07:36 AM   #5
etech
Confirmed User
 
Join Date: Feb 2004
Location: Right next to you....
Posts: 1,148
Quote:
Originally Posted by JFPdude
Your using apache 2 ?
yes, im using apache 2
etech is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2005, 07:55 AM   #6
bringer
i have man boobies
 
bringer's Avatar
 
Join Date: Jul 2003
Location: van down by the river
Posts: 13,082
its /modules not /bin
__________________
333-765-551
bringer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2005, 07:58 AM   #7
bringer
i have man boobies
 
bringer's Avatar
 
Join Date: Jul 2003
Location: van down by the river
Posts: 13,082
its true
__________________
333-765-551
bringer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2005, 08:06 AM   #8
bringer
i have man boobies
 
bringer's Avatar
 
Join Date: Jul 2003
Location: van down by the river
Posts: 13,082
nevermind, i need sleep
__________________
333-765-551
bringer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2005, 08:21 AM   #9
etech
Confirmed User
 
Join Date: Feb 2004
Location: Right next to you....
Posts: 1,148
Quote:
Originally Posted by bringer
its /modules not /bin
ohh, libphp*.so should be placed in modules
etech is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2005, 08:24 AM   #10
bringer
i have man boobies
 
bringer's Avatar
 
Join Date: Jul 2003
Location: van down by the river
Posts: 13,082
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
__________________
333-765-551
bringer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2005, 08:29 AM   #11
etech
Confirmed User
 
Join Date: Feb 2004
Location: Right next to you....
Posts: 1,148
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
etech is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2005, 08:35 AM   #12
bringer
i have man boobies
 
bringer's Avatar
 
Join Date: Jul 2003
Location: van down by the river
Posts: 13,082
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
__________________
333-765-551
bringer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2005, 08:40 AM   #13
bringer
i have man boobies
 
bringer's Avatar
 
Join Date: Jul 2003
Location: van down by the river
Posts: 13,082
google said add this
--disable-cgi --enable-force-cgi-redirect
__________________
333-765-551
bringer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2005, 08:43 AM   #14
Screaming
I can change this!!!!!
 
Join Date: Feb 2004
Posts: 18,972
im of no help, sorry, but you can still see my siggy
__________________
Screaming is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.