![]() |
Config PHP with MySQL
I have a quick question. If I am going to have an external MySQL server (ie not on localhost) do I need to install PHP with "--with-mysql"? If so, what part of MySQL do I need installed on localhost to have the client libraries?
Thanks, James |
Quote:
Quote:
|
Okay thanks. I am doing a different setup than the "perfect setup" on a CentOS. I am trying to have a seperate database server.
mysql is a dependacy of mysql-devel. So do I need to install mysql server but just not run it? |
I'am not shure how CentOS named the packages, but mysql is mostly the name of the mysql (client) librarys and mysql-server is the name of the mysql server so you must install the mysql package to get a working PHP + mysql installation.
|
If CentOS is using the same package names than Fedora, then the packages you have to install are:
mysql, mysql-devel, mysql-server |
| All times are GMT +2. The time now is 22:28. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.