Mysql as a PHP DSO
Posted: Fri Sep 18, 2009 12:45 pm
I have a server that is running live (in process of turning it into a dev server but need some stuff off it first) so we don't want to recompile php to break anything.
On the new server we have the dynamic extensions of mysql.so and mysqli.so
I haven't been able to find anything about the details of building one myself, so copied them over to the old server. On the current server, it doesn't have MySQL configured with php. MySQL is installed on the machine but was being used on a now unused service. The intention is to use MySQL database on a remote server.
I have added the lines to the php.ini
There already is another dynamic extension loaded on this machine, and it shows up with phpinfo() although neither of these do. A restart of apache doesn't seem to allow these to load. Restarting the server is not an option.
Any ideas what to do so we can load mysql support via extensions?
On the new server we have the dynamic extensions of mysql.so and mysqli.so
I haven't been able to find anything about the details of building one myself, so copied them over to the old server. On the current server, it doesn't have MySQL configured with php. MySQL is installed on the machine but was being used on a now unused service. The intention is to use MySQL database on a remote server.
I have added the lines to the php.ini
Code: Select all
extension=mysql.so
extension=mysqli.so
Any ideas what to do so we can load mysql support via extensions?