Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.
Moderator: General Moderators
JasonTC
Forum Commoner
Posts: 92 Joined: Wed Nov 02, 2005 11:05 am
Location: Grand Rapids, MI
Post
by JasonTC » Thu Sep 14, 2006 10:37 am
I'm installing PHP 5 on Debian Linux with Apache 1.3.
Step 14 on
http://us3.php.net/manual/en/install.un ... nix.apache tells me:
Edit your httpd.conf to load the PHP module. The path on the right hand
side of the LoadModule statement must point to the path of the PHP
module on your system. The make install from above may have already
added this for you, but be sure to check.
For PHP 4:
LoadModule php4_module libexec/libphp4.so
For PHP 5:
LoadModule php5_module libexec/libphp5.so
There is no libphp5.so file anywhere on my system. What do I do?
volka
DevNet Evangelist
Posts: 8391 Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger
Post
by volka » Thu Sep 14, 2006 3:45 pm
11. make
12. make install
These steps ran without errors?
JasonTC
Forum Commoner
Posts: 92 Joined: Wed Nov 02, 2005 11:05 am
Location: Grand Rapids, MI
Post
by JasonTC » Fri Sep 15, 2006 8:59 am
Yes.
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098 Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia
Post
by Chris Corbyn » Fri Sep 15, 2006 3:38 pm
Try this:
As root:
If it shows you where the apxs binary is then do this:
Code: Select all
linux -$ cd php-source-dir
./configure --with-apxs=/path/to/apxs \
your-other-flags=xxx
Then do make and make install hopefully most of the hard work will have then been done for you.
EDIT | I should have read the manual page you referred to
Did you check your path to apxs?
ibbo
Forum Commoner
Posts: 51 Joined: Tue Sep 19, 2006 6:20 am
Post
by ibbo » Tue Sep 19, 2006 6:54 am
its probably under /usr/local.
When you configured php5 (./configure) did you supply a --prefix=/path/ parameter?
If not it would have defaulted to /usr/local although you should also find it in the build dir too.
ibbo