You are not logged in.
Pages: 1
I requested that the new php5 package be compiled with mysqli and low and behold it was!! The only problem is, I can't figure out how the hell to activate it. php.net only mentions that the package must be compiled with the --with-mysqli=mysql_config_path/mysql_config option. Assuming this was in fact done (as Judd said it was in his reply to my feature request), I have no idea what other steps are necessary to implement it. php.ini does not have an extension for mysqli, nor does phpinfo reveal that this extension is enabled. When I try to use the mysqli class in a script, I get
Class 'mysqli' not found in /home/httpd/html/mysqlitest.php on line 2
I imagine there is some other step necessary here to make this work, but I am missing it. Can anyone point me in the right direction?
Offline
fixed:
had to remove php entirely and then reinstall php. Mysqli is now listed under phpinfo and is working fine!
Offline
I have a problem with mysqli. From my phpinfo():
--with-mysqli=shared
Moreover:
benol ~ $ slocate mysqli
...
/usr/lib/php/extensions/no-debug-non-zts-20050922/mysqli.so
...
benol ~ $
I still can't use mysqli - objective or procedural. Is there something in php.ini I have to change?
Offline
I still can't use mysqli - objective or procedural. Is there something in php.ini I have to change?
Yes, and it should totally come to your attention when you search the file for mysqli.so
- neri
Offline
Pages: 1