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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting up MySQL w/ PHP 5 and Apache 2?

Status
Not open for further replies.

Twilighte

Programmer
Joined
Jul 18, 2004
Messages
3
Location
US
Hi all. I'm having a bit of trouble configuring MySQL to work on my home computer as a testing server for a site I'm designing. Apache 2.0.50 and PHP 5.0.0 work just fine, but I can't for the life of me get MySQL to work. I have MySQL 4 and MySQL CC installed, and I uncommented php_mysql.dll but Apache says "Can't load dynamic library "C:\php\php_mysql.dll" whenever I start the service, even though it's there.

Any ideas? Thanks.
 
try copying the .dll to the c:\windows dir

also see here

Bastien

Cat, the other other white meat
 
Thanks a ton. The only other thing I had to do was edit my.ini to reflect the actual folder MySQL was in. It works now.

Thanks for solving my headache =p
 
I am having the same problem. What did you do in your .ini to reflect the folder MySQL was in ?
I am having the same error message for the iconv.dll even though it is there as well.
Thanks in advance.
Jacqui.
 
I copied the needed DLLs from php/ext to the php folder and c:\windows. I also have MySQL Control Center, and it was saying mysql was in c:/mysqlcc/mysql instead of c:/mysql, so I fixed that. Hope it works!
 
Okay folks.
I have stopped that problem by putting the library in the proper directory as well but now I want to configure the XML DOM.
Can anyone tell me even where to start.
I had my sites working fine with xml in php4.whatever but now I have upgraded to PHP5 it is complaining as the following :
Call to undefined function domxml_open_mem()
There does not seem to be any dlls or librarys and in phpinfo() it says xml is enabled ?
Any ideas ??
Jx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top