Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP installation appears to be missing the MySQL

Status
Not open for further replies.

3dColor

Programmer
Jan 10, 2006
240
US
I am setting up my first dedicated box. Windows 2003, IIS6, PHP5, MySQL5.

I had my host install PHP for me.
I installed MySQL and got it working fine with my Coldfusion pages.

I created a PHP hello world page and it worked fine.

But when I tried my WordPress blog I get:

"Your PHP installation appears to be missing the MySQL which is required for WordPress."

So I Google the error and found this helpful page:

I added both IUSR_COMPUTERNAME and "Network Service" to have
read/execute access to C:\PHP like they talked about - but that didn't work.

I made sure that the php_mysql.dll extension was uncommented (restarted IIS) - but that didn't work.

In php.ini file, I changed the "extension_dir" to point to "./ext/" (restarted IIS) - but that didn't work.

Does anyone has a similar server as mine that has Wordpress running that can tell me what I am missing?
 
you could use the sqlite version of wordpress at it's quicker (i think) and more portable than the mysql version. But then, as I wrote it, i'm likely to be biased.

but generically to get mysql working with php you need to make sure that either the php directory is in the system path or that the relevant mysql dlls (and php4ts.dll) are copied into the windir or system32 dir.

make sure that php.ini has read write access for iusr_machinename

ideally you would also make sure that the mysql binaries are in the system path.

google for windows environment variables to learn how to set these.
 
All fixed all I had to do was uninstall WP and the reinstall.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top