php3-list | 199912
Date: 12/04/99
- Next message: Richard Heyes: "[PHP3] Variable problem"
- Previous message: se <email protected>: "Re: [PHP3] How to send UPDATE command to MySQL?"
- In reply to: Sandip Bhattacharya: "[PHP3] Apache installation problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> * 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>
- Next message: Richard Heyes: "[PHP3] Variable problem"
- Previous message: se <email protected>: "Re: [PHP3] How to send UPDATE command to MySQL?"
- In reply to: Sandip Bhattacharya: "[PHP3] Apache installation problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

