INI Configuration

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

Post Reply
JasonTC
Forum Commoner
Posts: 92
Joined: Wed Nov 02, 2005 11:05 am
Location: Grand Rapids, MI

INI Configuration

Post by JasonTC »

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?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

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 »

Yes.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Try this:

As root:

Code: Select all

linux -$  which apxs
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 :oops: Did you check your path to apxs?
User avatar
ibbo
Forum Commoner
Posts: 51
Joined: Tue Sep 19, 2006 6:20 am

Post by ibbo »

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
Post Reply