Hey there,
I've got a mistery to resolve regarding a weird problem with mysql & portable PHP.
The thing is, I keep getting this error when I load my .php page:
Code:
Fatal error: Call to undefined function mysql_connect()
Now, I do know what it stands for, it's not that. Obviously the problem is, it cannot find the mysql functions anywhere.
Some informations you should know about:
- I have searched before posting. (particularly on the net, not just here)
-
extension=php_mysql.dll is
not commented out in
php.ini, so that shouldn't be the source of my problem. It's more likely the fact the dll for mysql wasn't included in the pack I downloaded.
- Once I received an error message from the software itself (I got this portable version from portablewebap.com), saying "LIBMYSQL.DLL" is missing. That was when I uncommented that line in .ini, but surprisingly enough I am not getting it anymore, regardless of whether there is a file in the right folder called libmyql.dll or not.
Long story short, I am suspecting this libmysql.dll. I've been looking for it everywhere, what is more I managed to find one. Placed it in the folder it belongs to, but still getting the same error.
Some help would be appreciated. Also if you could recommend a better portable php where I can use the native mysql functions, well that's good I don't mind changing.
Hopefully the information I provided was enough, but feel free to ask in case you find something unclear, etc...
Thank's in advance.
