Computing.Net > Forums > Web Development > MySQL and PHP question

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

MySQL and PHP question

Reply to Message Icon

Name: sak
Date: October 8, 2004 at 18:46:23 Pacific
OS: w2k
CPU/Ram: 256
Comment:

on loading oscommerce page, i get this on screen

'FATAL ERROR: register_globals is disabled in php.ini, please enable it!'

and then loading phpmyadmin i get this;

'cannot load mysql extension,
please check PHP Configuration'

i am running both inside apache2 htdocs folder on win2000, latest php, apache and mysql.

For first error i searched for register globals and turned it on, restarted apache but still i get it. Second eror i don't know as well, but i suspect it's to do with mysql configuration.

Any suggestion to get me over these errors will be heavenly sent. Cheers.

simon



Sponsored Link
Ads by Google

Response Number 1
Name: Khalid
Date: October 9, 2004 at 00:03:07 Pacific
Reply:

Latest PHP (PHP5.0) doesnt have mysql included.

This topic has been covered well in a few threads below.


0

Response Number 2
Name: sak
Date: October 9, 2004 at 03:34:55 Pacific
Reply:


This is what i followed but still same message in trying to open pages listed above;


'Windows users may enable the extension php_mysql.dll inside php.ini. Also, copy libmySQL.dll into the appropriate %SYSTEMROOT% directory, just like you do with every other bundled DLL from the dll directory.'

enables php_mysql.dll by removing ; this in php.ini and put files into root directory.

simon


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: MySQL and PHP question

Help with mysql and php? www.computing.net/answers/webdevel/help-with-mysql-and-php/4031.html

MySQL and PHP problems www.computing.net/answers/webdevel/mysql-and-php-problems/941.html

cannot connect to mysql with php www.computing.net/answers/webdevel/cannot-connect-to-mysql-with-php/2968.html