PHP 4.1.1 and Apache 2.0.38 beta
| From: | Michael Kjorling | Date: | Fri, 25 Jan 2002 13:58:50 +0000 |
| Subject: | PHP 4.1.1 and Apache 2.0.38 beta | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-5749@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello everyone,
I have a problem that is pretty urgent. I have recently upgraded from
Apache 1.3.22 to 2.0.38 beta (primarily because of its IPv6 support),
but I cannot get PHP to work. An example of what it looks like is
available here: http://forum.prairiedog.info/
I tried downloading and compiling PHP 4.1.1 (php-4.1.1.tar.gz) on my
Linux box but it failed with a message saying 'NOT_FOUND' was not
declared:
> /bin/sh /d1/home/michael/software/php/php-4.1.1/libtool --silent --mode=compile gcc -I.
> -I/d1/home/michael/software/php/php-4.1.1/sapi/apache -I/d1/home/michael/software/php/php-4.1.1/main
> -I/d1/home/michael/software/php/php-4.1.1 -I/usr/local/apache2/include
> -I/d1/home/michael/software/php/php-4.1.1/Zend
> -I/d1/home/michael/software/php/php-4.1.1/ext/mysql/libmysql
> -I/d1/home/michael/software/php/php-4.1.1/ext/xml/expat
> -I/d1/home/michael/software/php/php-4.1.1/TSRM -g -O2 -prefer-pic -c sapi_apache.c
> sapi_apache.c: In function `apache_php_module_main':
> sapi_apache.c:81: `NOT_FOUND' undeclared (first use in this function)
> sapi_apache.c:81: (Each undeclared identifier is reported only once
> sapi_apache.c:81: for each function it appears in.)
> make[3]: *** [sapi_apache.lo] Error 1
> make[3]: Leaving directory `/d1/home/michael/software/php/php-4.1.1/sapi/apache'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/d1/home/michael/software/php/php-4.1.1/sapi/apache'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/d1/home/michael/software/php/php-4.1.1/sapi'
> make: *** [all-recursive] Error 1
I then tried to use the libphp4.* files that I built for PHP 4.0.6 in
Apache 1.3.22, without success. It appears that the correct MIME type
was not returned. (And yes I did add ``AddType application/x-httpd-php
.php'' to my httpd.conf and restart.)
Could anyone please point me in the right direction? I did search the
archives but didn't find any relevant posts.
Thank you very much in advance,
Michael Kjörling
- --
Michael Kjörling -- Programmer/Network administrator ^..^
Internet: michael@kjorling.com -- FidoNet: 2:204/254.4 \/
PGP: 95f1 074d 336d f8f0 f297 6a5b 2aa3 7bfd 8a70 e33e
``And indeed people sometimes speak of man's "bestial" cruelty, but
this is very unfair and insulting to the beasts: a beast can never be
so cruel as a man, so ingeniously, so artistically cruel.''
(Ivan Karamazov, in Dostoyevsky's 'The Brothers Karamazov')
*** Thinking about sending me spam? Take a close look at
*** http://michael.kjorling.com/spam/ before doing
so.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Public key is at http://michael.kjorling.com/contact/pgp.html
iD8DBQE8UWSgKqN7/Ypw4z4RAkBvAJwNfEkBHPJtYDdFh1/iu38nbYMExwCeKO49
diQPotOPeTK3HMxaciZnMwY=
=pFxe
-----END PGP SIGNATURE-----