Re: Access deined - yet another MySQL problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This error is about 80% of the time caused because of errors loading libmysql. But usually putting that library in the system32 folder solves the problem. Do you have any other errors? Make sure you're restarting the server after you've moved the files. Heck try throwing libmysql back in php/ext just for kicks (though I doubt that works).



Adam Clauss wrote:

Recently installed PHP 5.0.2 on Windows Server 2003, MySQL 4.0.xx running on the same machine. I initially installed PHP using the installer, but then downloaded the zip file and extracted the ext folder to c:\php\ext.
I have enabled the php_mysql extension in php.ini. I have placed libmysql.dll in c:\windows\system32.


I added Everyone as Full Control to the c:\php\ext folder. Yet when attempting to load a page that uses MySQL I get the error:
PHP Startup: Unable to load dynamic library 'c:/php/ext\php_mysql.dll' - Access is denied.
This appears in the webbrowser. I get a similar error in a messagebox on the server itself.
I'm almost certain permissions are set correctly - I can use the Microsoft SQL extension with no problems (enabled it as well in php.ini).


Any ideas?
Thanks!


-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux