I'm cracking up!
| From: | Paul Hooper | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | I'm cracking up! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-11625@lists.php.net to get a copy of this message | ||
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
--------------------------------------