Should be simple question, but everything I find on it gives tutorials not answers.
Is MySQL required to be installed on a machine for PHP to be able to run with MySQL support?
I want to reconfigure PHP using a --with-mysql or --with-mysqli, but don't want to have to setup MySQL on the server. This means I won't have a path for either of those potential commands. The reason: the database I want access to is already running on another server.
I didn't want to try to reconfigure on a Friday afternoon and break things before I go home, so am leaving this task for Monday AM.
MySQL for PHP requirements
Moderator: General Moderators
Re: MySQL for PHP requirements
You need the mysql extension installed.
You don't need mysql server installed - you can just connect to the other server, if the permissions allow it.
You don't need mysql server installed - you can just connect to the other server, if the permissions allow it.
Re: MySQL for PHP requirements
Thanks. I actually had the server package on the machine. Did the configure with pointing to the "mysql_config" program and everything works great.