Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199912

Re: [PHP3] Apache installation problem From: Rasmus Lerdorf (rasmus <email protected>)
Date: 12/04/99

> * installed it with --apache and --with-mysql etc. to make it an apache DSO
> module. For this i did the following
> - ran the configure script with --apache[=DIR] --with-mysql --debug
> etc...

An Apache DSO is a Dynamic Shared Object. --with-apache compiles PHP as a
static library that gets linked right into your httpd binary. Therefore,
if you use --with-apache, you have to recompile your httpd binary too. To
actually get DSO support, you should be using the --with-apxs
switch. Unfortunately RedHat didn't manage to get the apxs program right
in the RH-6.1 RPM that you have.

You might want to rebuild Apache from source as well. I would suggest
first removing your old Apache install:

rpm -e apache-devel
rpm -e apache

Then grab the current Apache-1.3.9 tarball from an Apache mirror and
install it using:

  ./configure --with-layout=RedHat --enable-module=so
  make
  make install

Then build PHP against that using:

  ./configure --with-apxs=/usr/sbin/apxs --with-mysql --with-xml
  make
  make install

Read through http://cvs.php.net/cvsweb.cgi/INSTALL.REDHAT?rev=HEAD
for the of the config instructions.

-Rasmus

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>