Re: cant use mysql_connect [message #179470 is a reply to message #179434] |
Tue, 30 October 2012 21:58 |
Markus Grob
Messages: 9 Registered: September 2011
Karma:
|
Junior Member |
|
|
Markus Grob wrote:
> But if I now try to connect to the database, pypmyadmin tells me, that
> mysql can't be found: Cannot load mysql extension.
I have read all the postings and now, I don't know, what I should do. I
can rewrite my code, to use the mysqlnd locally, but I don't know, if
normal webservers could use the new code. Will this normally be? How can
I find it out?
The php_mysql.dll and php_mysqli.dll are in the /ext directory and I
have pointed to them in the php.ini:
....
extension_dir = "C:\Program Files (x86)\php\ext"
....
[PHP_MYSQL]
extension=php_mysql.dll
[PHP_MYSQLI]
extension=php_mysqli.dll
What special is, phpinfo tells me, that apache thinks, that the php.ini
is in c:7windows, but this isn't true. It is in the php dir:
C:\Program Files (x86)
Could it be, that the problem is coming from the "Program Files (x86)" path?
Greetings from Switzerland, Markus
|
|
|