Hi,
I have installed and configured php-4.3.4 properly without any error with configuration options as follows :
 
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
It gives warning as follows :
 
+--------------------------------------------------------------------+
|                        *** 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.registerglobals.php                |
| about the implications of having register_globals set to on, and          |
| avoid using it if possible.                                                                 |
+--------------------------------------------------------------------+
Thank you for using PHP.
 
I have installed mysql server on my server on which I am installaing and configuring php and intend to use php, mysql and apache 2.0.
 
I am new to this I don't know whether I should ./configure php with option
--with-mysql=/path/to/mysql .
 
Therefore I configured php with
"./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/var/lib/mysql"
 
It gives following error
"configure: error: Cannot find MySQL header files under /var/lib/mysql"
 
Any idea what is to be done in this case.
 
Thanks for support.
 
 

 


Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing

Reply via email to