Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / installing mysql for php

Author
Message
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 26th Dec 2006 08:08 Edited at: 26th Dec 2006 08:10
Running Apache 2.2 and PHP 5.2, both are working. (tested with phpinfo().)

I've installed mysql 5.0.27 but can't get it to work. I'm trying to verify its working by loading phpmyadmin 2.9.1.1, and it keeps telling me it can't load the mysql extension.

If I run php.exe, I get the following error:


I've downloaded the php-mysql dlls and put them in the "php\ext" directory and added the location to the PATH variable.

Any thoughts?

Attachments

Login to view attachments
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 26th Dec 2006 08:47
try this question in programming talk for better results perhaps.

have you issued the command Start MySql ?


the internet is full of helpful advice
this quick sheet might solve your issues.
http://www.spikesource.com/docs/cs_1.6.2-linux/doc/mysql41/mysql41_quickstartguide.html

Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 27th Dec 2006 06:36
yes mysql was started. if you look at the error message, its saying it can't find a file that obviously exists as shown in the file explorer.

But aside from that, php stopped working altogether after I rebooted today. Played with the configs for hours with no luck so I said screw it. Uninstalled everything and downloaded xampp, everything works now.

CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 27th Dec 2006 15:13 Edited at: 27th Dec 2006 15:13
was gonna mention xampp, glad you got it sorted.

Login to post a reply

Server time is: 2024-11-18 01:48:44
Your offset time is: 2024-11-18 01:48:44