Configuration Errors/Warnings when trying to build and install PHP 4.0.4
| From: | Robert Allen | Date: | Sat, 31 Mar 2001 21:08:50 +0000 |
| Subject: | Configuration Errors/Warnings when trying to build and install PHP 4.0.4 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-2641@lists.php.net to get a copy of this message | ||
I need help. I am trying to build and install PHP 4.0.4 with Apache 1.3.19 in Mac OS X GM. I was able to successfully build and install Apache, but when I ran ./configure for PHP, I got these warning/error messages:
+--------------------------------------------------------------------+
| *** WARNING *** | | | | You will be compiling the CGI version of PHP without any | | redirection checking. By putting this cgi binary somewhere in || your web space, users may be able to circumvent existing .htaccess |
| security by loading files directly through the parser. See | | http://www.php.net/manual/security.php for more details. |+--------------------------------------------------------------------+
| *** ATTENTION *** | | | | Something is likely to be messed up here, because the configure || script was not able to detect a simple feature on your platform. | | This is often caused by incorrect configuration parameters. Please |
| see the file debug.log for error messages. | | | | If you are unable to fix this, send the file debug.log to the | | php-install@lists.php.net mailing list and include appropiate | | information about your setup. |+--------------------------------------------------------------------+
| *** 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. |+--------------------------------------------------------------------+ I did look at the debug.log file and I wasn't able to determine what it was indicating or what I need to do to fix my problem. I think my problem described in the section with the heading *** ATTENTION ***, but beyond that, I haven't a clue. The contents of the debug.log file is as follows: CONFIGURE: './configure' '--enable-track-vars' '--with-gd' '--with-mysql'
CC: cc CFLAGS: -g -O2 CPPFLAGS: -traditional-cppCXX: CXXFLAGS:
INCLUDES: -I$(top_builddir)/Zend -I/Users/blacksun/php4/ext/mysql/libmysqlLDFLAGS:
LIBS: -lgd -lmDLIBS:
SAPI: cgiPHP_RPATHS: uname -a: Darwin localhost 1.3 Darwin Kernel Version 1.3: Thu Mar 1 06:56:40 PST 2001; root:\ xnu/xnu-123.5.obj~1/RELEASE_PPC Power Macintosh powerpc cc -o conftest -g -O2 -traditional-cpp conftest.c -lgd -lm 1>&5 I am sending this to both the macosx-admin and php-install@lists.php.net mailing lists and would appreciate any and all advice on this. Thanks in advance. Robert Allen