PDA

View Full Version : MySQL functions in PHP



tacres
Mon 1st Sep '08, 9:31am
Hi

I am in the process of installing vBulletin 3.7.3 onto our internal webserver.

I have installed PHP (ver 5) and mySQL, but I get the following error message when I try to start the vBulletin installation.

vBulletin 3.7.3 requires that the MySQL functions in PHP be available. Please ask your host to enable this.

I'm sure this is a very simple fix, just wish I knew what it was.

Thanks in advance.

DelphiVillage
Mon 1st Sep '08, 9:41am
Hi

I am in the process of installing vBulletin 3.7.3 onto our internal webserver.

I have installed PHP (ver 5) and mySQL, but I get the following error message when I try to start the vBulletin installation.

vBulletin 3.7.3 requires that the MySQL functions in PHP be available. Please ask your host to enable this.

I'm sure this is a very simple fix, just wish I knew what it was.

Thanks in advance.

run this



phpinfo();


if this output does not show a MySQL section then your PHP build needs to be recompiled with the "--with-mysql" parameter

tacres
Mon 1st Sep '08, 10:06am
Thanks for the quick response.

I don't have any experience of PHP, so can you tell me where I need to run the command.

Thanks

steve77uk
Mon 1st Sep '08, 10:09am
I am having exactly the same issues, I am a novice at vBulletin, PHP and MySQL, so if you could provide step by step, I would also be grateful!

Thanks

Steve

DelphiVillage
Mon 1st Sep '08, 10:15am
hi,

The proces of compiling PHP is not easly explained and it is also different (depending on what os your server is running)You will also need root acces to the server to compile PHP yourself.If you have something like cPanel they have scripts which does it automatically (on cPanel for example check)



cd /scripts
./easyapache


besides that the only thing i can recommend is http://www.php.net/manual/en/install.unix.php

steve77uk
Mon 1st Sep '08, 10:26am
Perhaps I should mention I am using Windows Server II6, MySql (latest downloadable version as of today) and vBulletin 3.7 ;)

But will have a look to see if there is a windows guide on there too...

tacres
Mon 1st Sep '08, 10:28am
I'm using Windows 2003 with IIS.
Is there software I need to download to configure PHP for Windows?

poolking
Mon 1st Sep '08, 10:43am
Are you guys on your own dedicated servers or on shared hosting?

DelphiVillage
Mon 1st Sep '08, 10:51am
Perhaps I should mention I am using Windows Server II6, MySql (latest downloadable version as of today) and vBulletin 3.7 ;)

But will have a look to see if there is a windows guide on there too...

http://www.iisadmin.co.uk/?p=4

you need to set extension_dir and uncomment the corrosponding dll to enable MySQL (in the file php.ini)

Wayne Luke
Mon 1st Sep '08, 2:04pm
http://www.iisadmin.co.uk/?p=4

you need to set extension_dir and uncomment the corrosponding dll to enable MySQL (in the file php.ini)
You will also need to download the PHP ZIP File distribution to get the MySQL libraries and extension DLLs needed. They aren't included with the Installation package.