那说明你的php源代码不完整,和你装没装mysql没有关系

解决方案 »

  1.   

    我重新下载了PHP的文件:
    php-4.3.9.tar.gz
    执行了:[root@localhost php]# ./configure --with-mysql --with-freetpe --with-apxs=/usr/local/apache/bin/apxs --with-zlib --with-jpeg --with-gd --with-png --enable-track-vars --enable-sockets --disable-debug但结果却是:creating main/php_config.h
    creating main/internal_functions.c
    creating main/internal_functions_cli.c
    +--------------------------------------------------------------------+
    |                        *** 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/security.globals.php                  |
    | about the implications of having register_globals set to on, and   |
    | avoid using it if possible.                                        |
    +--------------------------------------------------------------------+
     
    Thank you for using PHP.
      

  2.   

    但这次通过了MAKE,非常感谢不过请问这是什么原因呢.有没有什么弊端?
      

  3.   

    ./configure --with-mysql=/path/to/mysql --with-apache=../apache-xxxx
    要先 rpm -i mysql的头包,
    忘记名字了。呵呵。