No matter how long I try, I can't get a working PHP 5.3 with mysqli support.
I've read and tried tutorials everywhere, I've ranged through many errors, no errors, many different things, but the end result is always one of these:
1) It wont load period
2) It loads but mysqli doesn't load
Does anyone know exactly how to get these to work together?
I'm using a VPS with CentOS 5.4 i386.
There is no control panel, I've installed:
- Apache 2.2
- MySQL via YUM (all bits)
- PHP 5.3.1
Apache and PHP have no problem together.
MySQL works on it's own.
I've messed with lots in the php.ini file with no success.
As I read now PHP 5.3.* now comes with mysqli built it.
So I configure it...
./configure --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd
Make it, install it, and PHPINFO() still tells me there is mysqli.
If tried a ton of different configuration lines, and all that compile have the same outcome.
I've been trying to get this server working for about 5 days now, and I'm really getting towards the end of my tether with this one...