I am trying to install XAMPP for a windows Wordpress site on Server 2003.
I have PHP and MySQL working fine individually (phpinfo tells me so, MySQL Control Center tells me so)
In a phpinfo() call, there is no MySQL listed.
I therefore scour the web and find a suggestion that I put a copy of libmysql.dll into Windows\system32, and give IUSR_MACHINENAME read/execute rights on that. For good measure, I give "modify/read/write/execute" rights to the MySQL and PHP install folders too.
Restart IIS, and phpinfo now has a section MySQL Support enabled Active Persistent Links 0 Active Links 0 Client API version 5.1.33
Good news!
However.. while a file with phpinfo only in it runs, any PHP file that actually tries to use that DLL (including, of course, Wordpress setup and index files) gives
PHP has encountered an Access Violation at 0101AC7A
There is very little help from google, as most people do not use Windows for PHP.
Any ideas?
I've been using Windows with PHP and MySQL for years without a problem (for development), but I use Apache rather than IIS. My only thought is, perhaps it needs read/execute access to the system32 folder as well? :shrug:
I have given IUSR all permissions on system32 as well.. still nothing.
I have IIS running as it is primarily an IIS server with ASP/ASP.NET sites.
I think I am going to give up, and host on Apache.
A quick Google trawl suggests that it's to do with running in ISAPI mode. This post suggests you can work around it using FastCGI instead.