Link to home
Start Free TrialLog in
Avatar of m_renaud
m_renaud

asked on

Php and MySQL

Hi Experts,

I'm trying to install PunBB. But, when i'm trying to save the DB settings in 127.0.0.1/forum/install.php... i got this error: "This PHP environment doesn't have MySQL support built in. MySQL support is required if you want to use a MySQL database to run this forum. Consult the PHP documentation for further assistance."

The specs:
Platform: WindowsXP
Server: Apache (last version)
PHP: php4.1
forum: PunBB (last version)

do i need to add something in php.ini? or in httpd.conf?

thanks you for any suggestions..

Mart.
Avatar of AlanJDM
AlanJDM

You need to install MySQL and configure Apache and PHP to use it.


Alan
Download of MySQL can be found here....

http://dev.mysql.com/downloads/index.html


Alan
ASKER CERTIFIED SOLUTION
Avatar of Promethyl
Promethyl
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of m_renaud

ASKER

i'm sorry i forgot to tell you that MySQL4.1 is installed!! :|
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi AndyWHV,

there is no "#extension = mysql.dll;" is the php.ini file...
but only ";extension=php_mysql.dll"

thks!
and i'm sorry... i'm using php5 not php4 (i'm so dumb!)..

thks again!
Remove the ; before the "extension=php_mysql.dll", save the file. Restart apache or IIS (whichever webserver you may happen to have) and give it a shot!
Yes it's what i have done...
but i had to add  extension_dir = "C:\PHP\ext" in the php.ini file.
now it's work!!!

thank you to each of you...
i'll split the points!!

Thks again

Mart.

Thank you.