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      |
| [EMAIL PROTECTED] 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-cpp
CXX:
CXXFLAGS:
INCLUDES:      -I$(top_builddir)/Zend 
-I/Users/blacksun/php4/ext/mysql/libmysql
LDFLAGS:
LIBS:       -lgd -lm
DLIBS:
SAPI:       cgi
PHP_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 [EMAIL PROTECTED] 
mailing lists and would appreciate any and all advice on this. Thanks in 
advance.

Robert Allen

Reply via email to