mysql problems

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
Bandy
Forum Newbie
Posts: 22
Joined: Sat Oct 21, 2006 5:14 am
Location: Croatia

mysql problems

Post by Bandy »

Hi

Ive been using php 4 till i bought book php5 so i manually install php5.
I downloaded the new apache web server, PHP and apache works fine but when i try to use connection functions to mysql i get this message:
Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\
PHP 5 is installed like a module.

Thx.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

PHP 5 does not have built-in support for MySQL anymore. You have to enable the extension.
Post Reply