Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Install and Upgrade Help => Aiheen aloitti: cloksin - marraskuu 30, 2010, 11:29:19 AP

Otsikko: Trouble installing SMF
Kirjoitti: cloksin - marraskuu 30, 2010, 11:29:19 AP
I'm trying to build an SMF site and I'm running into a problem.  My server is running a LAMP stack, but when I try to the SMF install.php I get this error:

The installer was unable to detect MySQL support in PHP. Please ask your host to ensure that PHP was compiled with MySQL, or that the proper extension is being loaded.

I am the host, and the extensions are loaded in the php.ini file.  What am I missing?
Otsikko: Re: Trouble installing SMF
Kirjoitti: Johnnymushio - marraskuu 30, 2010, 12:42:19 IP
MySQL
Otsikko: Re: Trouble installing SMF
Kirjoitti: cloksin - marraskuu 30, 2010, 01:06:46 IP
MySQL is installed, that's the 'M' in 'LAMP'
Otsikko: Re: Trouble installing SMF
Kirjoitti: sAce - marraskuu 30, 2010, 01:21:14 IP
are you using "localhost" as server name ? or something else ?

you could also try your  machine ip
Otsikko: Re: Trouble installing SMF
Kirjoitti: dawkcodave - joulukuu 10, 2010, 07:23:29 AP
I had the same problem.  I was able to solve it by copying the file 'libmySQL.dll' from the MySQL /bin directory into the /PHP directory.  Hope this helps.

Now, I just have to solve this:
'The installer was unable to access the "forum" database.'
Otsikko: Re: Trouble installing SMF
Kirjoitti: JimM - joulukuu 15, 2010, 08:59:50 IP
@cloksin - please post a link to a phpinfo sheet.  That will tell us if you have installed support for MySQL on your server.  What is phpinfo.php? (http://www.simplemachines.org/community/index.php?topic=18250.0)
Otsikko: Re: Trouble installing SMF
Kirjoitti: cloksin - joulukuu 23, 2010, 06:04:03 IP
I blew out the server and started from scratch, I'm using Centos 5.5 so I just used the yum commands to install MySQL, Apache, and PHP.  I am up and running now, thanks.