i was compiling php-4.3.4
# cd php-4.3.4
# ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
i got this :
Generating files
sed: can't read Documentations/php-4.3.4/scripts/Makefile.frag: No such file or directory
sed: can't read Documentations/php-4.3.4/pear/Makefile.frag: No such file or directory
sed: can't read Documentations/php-4.3.4/Makefile.frag: No such file or directory
cat: /mystuff/apache: Is a directory
cat: and: Is a directory
cat: Documentations/php-4.3.4/Makefile.global: No such file or directory
...
cat: ./main/internal_functions.c.in: No such file or directory
+--------------------------------------------------------------------+
| *** WARNING *** |
| |
| You chose to compile PHP with the built-in MySQL support. If you |
| are compiling a server module, and intend to use other server |
| modules that also use MySQL (e.g, mod_auth_mysql, PHP 3.0, |
| mod_perl) you must NOT rely on PHP's built-in MySQL support, and |
| instead build it with your local MySQL support files, by adding |
| --with-mysql=/path/to/mysql to your configure line. |
+--------------------------------------------------------------------+
| License: |
| This software is subject to the PHP License, available in this |
| distribution in the file LICENSE. By continuing this installation |
| process, you are bound by the terms of this license agreement. |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point. |
+--------------------------------------------------------------------+
| *** NOTE *** |
| The default for register_globals is now OFF! |
| |
| If your application relies on register_globals being ON, you |
| should explicitly set it to on in your php.ini file. |
| Note that you are strongly encouraged to read |
|
http://www.php.net/manual/en/securit...terglobals.php |
| about the implications of having register_globals set to on, and |
| avoid using it if possible. |
+--------------------------------------------------------------------+
Thank you for using PHP.
[root@localhost php-4.3.4]# make
make: *** No rule to make target `Documentations/php-4.3.4/sapi/apache2handler/sapi_apache2.c', needed by `sapi/apache2handler/sapi_apache2.lo'. Stop.
what should i do?
i haved httpd-2.0.48 compiled and installed successfully using this
# ./configure --prefix=/usr/local/apache2
# make
# make install
i dont install the rpm from redhat9 of httpd