Howdy, Redhat is notorious for leaving out things, such as apxs. To get php working, you will most likely have to download apache, build it, and install it. Make sure you configure apache with --enable-so. After apache builds, do make install. And then, when configuring php, do ./configure --with-apxs2=/usr/local/apache2/bin/apxs That should work just fine. You can still have your old apache installed at the same time, just don't use it. Copy the config files from the old apache, and do /etc/init.d/httpd stop, then startup the other apache (probably /usr/local/apache2/bin/httpd), and php should be working perfectly -- Regards, Matthew Fonda On Sun, 2004-10-03 at 07:03, Robert Cummings wrote: > On Sun, 2004-10-03 at 09:43, Teng Wang wrote: > > Surely apache is running. > > And I checked httpd.conf. There is no "LoadModule php4.x.x > > ...". Anyother settings should be removed? > > > > The first time I installed php5.0.0, I forgot to add > > --with-apxs2=/usr/sbin/apxs. It works but the version is 4.3.8 as phpinfo() shows. When I added this option, the php > > didn't work anymore. But the apache works fine. The browser > > can read .html files. > > Redhat splits up the http config file into sub configurations for each > module. Check the config file located at: > > /etc/httpd/conf.d/php.conf > > Cheers, > Rob. > -- > .------------------------------------------------------------. > | InterJinn Application Framework - http://www.interjinn.com | > :------------------------------------------------------------: > | An application and templating framework for PHP. Boasting | > | a powerful, scalable system for accessing system services | > | such as forms, properties, sessions, and caches. InterJinn | > | also provides an extremely flexible architecture for | > | creating re-usable components quickly and easily. | > `------------------------------------------------------------' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php