TOC PREV NEXT GLOSSARY INDEX

PHP and MySQL

By using the --with-mysql configuration option you enable PHP to access MySQL databases. If you use this option without specifying the path to MySQL, PHP will use the built-in MySQL client libraries.

PHP is compiled by default with MySQL support. One common error with PHP and MySQL results when you attempt to connect to your database using the host name "localhost." Because your MySQL database is stored on a remote database server, using "localhost" causes errors.



TOC PREV NEXT GLOSSARY INDEX