RE: [PHP] I'm cracking up!

From: Date: Mon, 14 Aug 2000 16:11:54 +0000
Subject: RE: [PHP] I'm cracking up!
Groups: php.general 
Request: Send a blank email to php-general+get-11628@lists.php.net to get a copy of this message
Paul, Have you added the following line to your httpd.conf file in apache? AddType application/x-httpd-php .php or if you want to have html pages parsed too... AddType application/x-httpd-php .php .html And with your "httpd not running, trying to restart" problems, take a look inside your /var/lib/apache/bin/apachectl file and see where it is trying to put the httpd.pid file. The directory must exist and you need to have full access to it. --- Kurt A. Boyer Advanced Software Engineer Matchlogic, Inc. http://www.matchlogic.com -----Original Message----- From: Paul Hooper [mailto:Paul.A.Hooper@Anglia.ac.uk] Sent: Monday, August 14, 2000 10:02 AM To: linux-uk-help@mailbase.ac.uk; php-general@lists.php.net; php-install@lists.php.net Cc: Simon R Jones Subject: [PHP] I'm cracking up! Hi, This is one of many attempts at trying to get PHP installed and it still doesnt work.. Can anyone help!!!!!!!!!!! Please.. Im losing my marbles... Im installing php4.0.1pl2 onto linux slackware 7.1 with mysql-3.22.32. source directories:: apache: /var/lib/apache (already installed) mysql : /usr/local/mysql-3.22.32 php4 : /var/lib/php-4.0.1pl2 Install procedure:: 1. stop apache: /var/lib/apache/bin/apachectl stop 2. cd /var/lib/apache 3. ./configure --prefix=/var/lib/apache 4. cd ../php* 5. ./configure \ --with-mysql=/usr/local/mysql-3.22.32 \ --with-xml \ --with-apache=/var/lib/apache \ --enable-track-vars 6. make 7. make install 8. cp php.ini-dist /usr/local/lib/php.ini 9. cd /var/lib/apache 10. ./configure \ --activate-module=src/modules/php4/libphp4.a \ --enable-module=php4 \ --prefix=/var/lib/apache 11. make 12. make install 13. uncomment httpd.conf commands "AddType application/x-httpd-php .php" "AddType application/x-httpd-php-source .phps" 14. cp /var/lib/apache/src/httpd /var/lib/apache/bin/httpd 15. restart server /var/lib/apache/bin/apachectl start OK at this point there are no errors in compiling. however when i test a .php document Im prompted to save the file. 16. Ive checked that the module has been complied and when I do : root@var/lib/apache/bin> httpd -l the list contains : mod_php4.c 17. And when I check the apache compile : ./apachectl configtest I get : syntax OK 18. I try restarting apache ./apachectl restart error report: "httpd not running, trying to restart" "httpd started" 19. So I decided to stop the server and ./apachectl stop error report: "httpd (no pid file) not running" yet when I look at localhost the server is still up???? Can anyone help? cheers in advance Paul -------------------------------------- Paul Hooper IT Support Anglia Polytechnic University Library Systems Office, East Road, Cambridge. CB1 1PT Tel: +44 (0)1223 363271 Ext.2305 E-Mail: paul.a.hooper@anglia.ac.uk -------------------------------------- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#11628) next »