mysql "imporved" function don't work
Moderator: General Moderators
mysql "imporved" function don't work
I am running php 5.1.2, and I can't get any of the mysql improved functions to work, i.e. mysqli().
Is there an extension that needs to be "turned on" in the php.ini file? Thanks for any help.
Is there an extension that needs to be "turned on" in the php.ini file? Thanks for any help.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: mysql "imporved" function don't work
Is this linux or windows? Did you compile from source or install a binary?mjmacarty wrote:I am running php 5.1.2, and I can't get any of the mysql improved functions to work, i.e. mysqli().
Is there an extension that needs to be "turned on" in the php.ini file? Thanks for any help.
If you compiled from source you should ensure you add --with-mysqli=/path/to/mysql at ./configure since PHP5 doesn't do it by default.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Re: mysql "imporved" function don't work
I think you can uncomment the mysqli line in php.ini...mjmacarty wrote:I am running php 5.1.2, and I can't get any of the mysql improved functions to work, i.e. mysqli().
Is there an extension that needs to be "turned on" in the php.ini file? Thanks for any help.
Code: Select all
;remove the semicolon from behind the following line
;extension=php_mysqli.dllRe: mysql "imporved" function don't work
d11wtq wrote:Is this linux or windows? Did you compile from source or install a binary?mjmacarty wrote:I am running php 5.1.2, and I can't get any of the mysql improved functions to work, i.e. mysqli().
Is there an extension that needs to be "turned on" in the php.ini file? Thanks for any help.
If you compiled from source you should ensure you add --with-mysqli=/path/to/mysql at ./configure since PHP5 doesn't do it by default.
Does this need to be added to the path in Windows too?