By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,968 Members | 1,871 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,968 IT Pros & Developers. It's quick & easy.

MySQL not working for PHP 5

P: n/a
I have a fresh install of MySQL and PHP 5 but PHP is saying that the
mysql_connect isnt there...does anyone know how to fix this?
Thanks in advance.

Matt

Jul 17 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
PHP 5 comes with two MySQL extensions (original for version < 4.1, improved
for versions >= 4.1). Which one did you enable in the php.ini file?

--
Tony Marston

http://www.tonymarston.net

"Matt Crossley" <vb*********@gmail.com> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...
I have a fresh install of MySQL and PHP 5 but PHP is saying that the
mysql_connect isnt there...does anyone know how to fix this?
Thanks in advance.

Matt

Jul 17 '05 #2

P: n/a
On 9 Dec 2004 16:27:26 -0800, Matt Crossley <vb*********@gmail.com> wrote:
I have a fresh install of MySQL and PHP 5 but PHP is saying that the
mysql_connect isnt there...does anyone know how to fix this?
Thanks in advance.

Matt

1) create file phpinfo.php
2) write
<?
phpinfo();
?>

3) find keywork mysql
if mysql exist then all ok else need recompile php on you server.

icq:75717272
--
(c)zagadum
Jul 17 '05 #4

P: n/a
On 10 Dec 2004 06:25:58 -0800, "Amit" <am********@sify.com> wrote:
http://groups-beta.google.com/group/php_programming


Hm. So Google, not satisfied with replacing Google Groups with a worse
interface, are now also trying to fragment Usenet further by adding completely
separate groups through the same interface? *sigh*

--
Andy Hassall / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Jul 17 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.