Hi!
I hope this is not a standard problem. I've searched the forum but didn't find any message which fits my problem. :-(
My setup: Red Hat 7.0 with Reiser-support and kernel 2.2.17-8.R
My intention: To build a LAMP-environment with the current releases. PHP should be linked statically into Apache.
My steps:
I compiled MySQL 3.23.33. No problem.
Then I pre-configured Apache 1.3.17 with
./configure --prefix=/usr/local/apache
Next was PHP 4.0.4PL1 which compiled fine too with these configure options:
./configure --prefix=/usr/local/php --sysconfdir=/etc --with-mysql --with-gd --with-config-file-path=/etc --with-apache=../apache_1.3.17
Then configured Apache with
./configure --prefix=/usr/local/apache --sysconfdir=/etc/httpd --localstatedir=/var --activate-module=src/modules/php4/libmodphp4.a
without problem. During the following make an error occurred:
mod_php4.c: zend.h No such file or directory
mod_php4.c: <several .h-files of php> No such file or directory
These .h-files are located in /usr/local/php/include/php/
I hardcoded the path in mod_php4.c but that can't be the right way.
I followed the instructions of the PHP-Manual because the steps in the Apache-README are out of date and don't fit an PHP4.
What did I do wrong? Any ideas?
Thanks,
Christian