0

I have a windows server 2008 running IIS7 and PHP 5.2.13 and also an installation of MySQL. However, I have included php_mysql.dll & php_mysqli.dll - I have also moved libmysql.dll from the SQL folder to my php folder and also to the system32 folder. Furthermore I have checked all my directories, created an environment path etc, but it still doesn't show up in my php.info (also activated in the CORRECT php.ini folder). I reset every time I make a change as well.

Any help would be great!

Sam Cogan
  • 38,736
  • 6
  • 78
  • 114
rickyduck
  • 139
  • 1
  • 2
  • 9
  • The title of your question is very meta - please edit it to actually describe what the question is about. – MikeyB Aug 01 '11 at 15:56

2 Answers2

1

I know that I've had problems with non-php/non-mysql libraries not being in the correct locations before.

Dynamic Library Loads Fail

Just something else to check. Obviously the standard stop/start services and all that jazz would apply too.

OldTroll
  • 1,686
  • 2
  • 12
  • 18
  • Thanks for the reply, not this either - the only other extension is php_curl.dll and that works fine. – rickyduck Aug 01 '11 at 15:36
  • Have you cranked the error reporting up in the php.ini? Usually php itself will give you some clues as to being able to load a library or not. – OldTroll Aug 01 '11 at 15:54
  • It's definitely not loading the library - function could not be found, also non-existant in the phpinfo() – rickyduck Aug 01 '11 at 16:14
  • can you paste in (or use pastebin or some such) your php.ini file? – OldTroll Aug 02 '11 at 14:13
  • http://pastebin.com/Jxm1z3Xv - cheers – rickyduck Aug 03 '11 at 08:01
  • As long as this is a non-production machine, lets change the following: display_errors = On and display_startup_errors = On, then restart IIS and reload your phpinfo() page and hopefully we'll see an actual error about what's going on. You might also look at your event log for errors. – OldTroll Aug 03 '11 at 11:45
  • Cheers oldtroll. On the phpinfo there is no error from what I can see. I think I may just reinstall php and compile it at build, because this is fairly old anyways and needs a clean up? Thanks for your help as well. – rickyduck Aug 04 '11 at 12:34
0

You have to reload PHP for configuration changes to take effect. Restart IIS and check again if you're sure everything else is done correctly.

MDMarra
  • 100,734
  • 32
  • 197
  • 329