MySQL Forums
Forum List  »  PHP

Re: Cannot load mysql extension. Please check your PHP configuration
Posted by: Peter Brawley
Date: June 26, 2009 07:07PM

Nancy

So, your installation error yet remains a secret.

1. I did not see a post of your result of running this code ...

<?php
mysql_connect('HOST','USR','PWD') or die(mysql_error());
?>

in a text file called connect.php, from a command line prompt in your PHP installation folder, viz ...

php connect.php

2. Where is Apache's copy of php.ini?

4. Is the PHP installation dir in the path?

5. Where did you put libmysql.dll, php_mysql.dll, php_mysqli.dll?

4. What are your php.ini settings for ...

LoadModule php5_module
extension_dir
mysql.default_host
extension=php_mysql...

PB
http://www.artfulsoftware.com

Options: ReplyQuote


Subject
Written By
Posted
Re: Cannot load mysql extension. Please check your PHP configuration
June 26, 2009 07:07PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.