I am porting an already built PHP5/MySQL application to my hosting account at Dreamhost. The PHP code which handles database connectivity utilizes methods in the MySQLi library that are only available when using the MySQLnd driver, which my canned PHP 5.3 installation doesn’t seem to support out of the box.
I have found this documented on the DH wiki which outlines possible solutions to this problem here:
First, is there any easier way of doing this? The wiki alludes to there being advanced configuration options available through the panel yet I cannot find it.
If the answer to the first question is no, the script named “php5-install-53.sh” (near the bottom of the page) seems to be what I am looking for, but with the way the document is set up, I can’t figure out if the script named “php5-install-prep.sh” is necessary to run first. My impression from the document is that the “prep” script is only necessary when upgrading from an earlier minor revision (ex. 5.2), which I am not (I am currently running the out of the box 5.3).
Lastly, anyone have any experience with the script I am considering running? I am braving unknown territory here so I am open to alternative suggestions at achieving my end goal. I am pretty knowledgeable with Linux and with LAMP setup/configuration myself, but have never tried this with DH.
Thanks for your help.