I have am running a local server with PHP 5.3.6, and Apache 2.2.19 running on Ubuntu 11.03. I build both Apache and PHP from source. PHP is working fine with Apache, however it seems to never load any extensions. I have uncommented the ones I want PHP to load, I have checked that PHP is reading the INI file, I have uncommented the extension_dir
directive and made sure it was correct.
The files mysqli.so
and mysql.so
seems to be missing, with a lot of other files too. This was my first time installing PHP from source. I am aware that PHP 5.3.6 does not bundle the MySQL client libraries.
I also checked the PHP repository, and it is no longer maintained. I could use PDO, but I much prefer using the MySQL class.
My question is: Where do I get these files from? I have checked the MySQL site, and it doesn't really help me. PHP only seems to be loading the extensions that are already built into PHP.