I configured php4.0b3 with:
./configure --with-mysql=/usr/local/mysql --with-config-file-path=/www/conf --with-apache=../httpd --enable-track-vars
then configured apache_1.3.14, which was stopped and not running, with:
./configure --prefix=/usr/local/etc/httpd
--sysconfdir=/www/conf
--activate-module=src/modules/php4/libphp4.a
--enable-module=status
Apache seemed to configure ok, but 'make'
ended with this error:
"
make[4]: No rule to make target ../../include/alloc.h', needed bymod_php4.o'. Stop.
make[3]: [all] Error 1
make[2]: [subdirs] Error 1
make[2]: Leaving directory
/usr/local/etc/apache_1.3.14/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory/usr/local/etc/apache_1.3.14'
make: [build] Error 2
"
I also tried to configure apache with
libmodphp4.a instead of libphp4.a
because I saw that filename, inside apache's src/modules/php directory.
When I restart apache, the lynx browser just asks if I want to download, or cancel, the
application-x, rather than executing the
Hello from the hello.php script.
Thanks for any help with this.