php-general | 2001122
Date: 12/30/01
- Next message: David Jackson: "Re: [PHP] MySQL problem"
- Previous message: Good Fella: "[PHP] MySQL problem"
- In reply to: Todd Cary: "[PHP] Need some Linux/Apache help"
- Next in thread: Edwin Boersma: "[PHP] Re: Need some Linux/Apache help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
* Todd Cary (todd <email protected>) [Dec 30. 2001 19:22]:
> I did "tar -xzvf /usr/src/redhat/SOURCES/php-4.0.6pl1.tar.gz" which
> created a directory /tmp/php-4.0.6. I cd'd into that directory and did
> a ./configure --with-interbase=/opt/interbase
> --with-apache=/usr/include/apache
Are you sure the entire Apache source code is in /usr/include/apache?
I believe you wanted --with-apxs rather than --with-apache. If you
really wanted --with-apache, and you know the difference, then you will
also need to cd into the apache source directory, and configure apache
with --activate-module=src/modules/php4/libphp4.a, then make and install
Apache again.
Using --with-apache builds PHP as a static module. --with-apxs builds
PHP as a DSO -- a shared module that can be loaded and unloaded via
httpd.conf using the LoadModule directive.
If you use --with-apxs, when configuring PHP, after you make install, it
will install a PHP module in your *current* Apache install's modules
directory, and it may attempt to update your httpd.conf with the correct
LoadModule line if needed.
> After quite a period, I received a "Thank you for using PHP" message. I
> followed this with a "make" and a "make install".
That "prepped" the PHP module to be included into httpd when you build
Apache. You installed PHP into /usr/local/apache/src (or a similar
path).
> Now Apache does not respond to a "testphp.php" script that contains
> "phoinfo()" and it use to.
That's because PHP isn't installed as an Apache module yet, or you
haven't rebuilt Apache yet.
-- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 Imminent Death of the Net Predicted. GIFs at 11.-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: David Jackson: "Re: [PHP] MySQL problem"
- Previous message: Good Fella: "[PHP] MySQL problem"
- In reply to: Todd Cary: "[PHP] Need some Linux/Apache help"
- Next in thread: Edwin Boersma: "[PHP] Re: Need some Linux/Apache help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

