TwelvestoneBack End

PHP 5.2.9, MySQL on IIS6


Sign in

  • Waiting for Godot ( 730 k posts )
    Just conversation.
  • Thunder Dome ( 23 k posts )
    Photoshop Tennis and Collabs.
  • Photography ( 5.1 k posts )
    For all you shutterbugs, sh...
  • Flash ( 18 k posts )
    ActionScripting to tweens, ...
  • Front End ( 5.9 k posts )
    general front end design an...
  • Back End ( 9.7 k posts )
    serverside scripting, progr...
  • Projects and Theory ( 12 k posts )
    This forum is for discussio...
  • FAQ ( 269 posts )
    All those nagging questions...
  • Design ( 17 k posts )
    graphics & all aspects of g...
  • Purgatory ( 3.6 k posts )
    12stone Jail, feel free to ...
scudsucker
 
2009-07-09

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?

Stickman
 
2009-07-09

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:

scudsucker
 
2009-07-09

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.

Stickman
 
2009-07-10

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.

Sorry, you must be a member to post to a conversation. Either log in or sign up to get involved.
TwelvestoneBack End

PHP 5.2.9, MySQL on IIS6