I am trying to install php-4.2.2 on a Red Hat linux system. I can configure with multipleoptions or using none just ./compile. I am in root. The program will compile. when I run amke or make install I get this error message at the end of the run: make: *** [install-recursive] ERROR 1 I cant figure out why. I do have php4.0 installed in another directory from an old rpm but there are to many library dependencies to remove it. I have installed apache2 and it works -fine cgi scripts and all. mod_so.c is installed in apache2. I have disabled my old Red Hat rpm apache 1.3 in another directory. my apache2 directory is the default /usr/local/apache2 I would appreciate any help I can get. Thank you. I hope this is enough infromation. If not let me know. Keith Henriques
First, I'd say you should update your Redhat at least to 7.2, the X.1 releases are always a little buggy.
But I think the main problem you're having is one many are having - PHP 4.2.2 and Apache 2.0.35 and up just don't get along very well. I struggled with this for hours last night and just couldn't get them to play. There are some note at http://www.php.net - check out the manual, hit installation and look at the Apache page, they keep a nice thread going.
Hi, I've had problems compiling PHP-4.2.2 with Apache 2.0.39 & 2.0.40 (RedHat 7.2).
<phpdir>/sapi/apache2filter/php_functions.c
In this file, line 93, or 97 you may need to chance !MODULE to !AP_MODULE.