php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8329 fatal fault : call to unsupported or undefind function: mysql_connect()
Submitted: 2000-12-20 04:57 UTC Modified: 2000-12-21 09:45 UTC
From: vishu_nathan at hotmail dot com Assigned:
Status: Closed Package: MySQL related
PHP Version: 3.0.17 OS: linux
Private report: No CVE-ID: None
 [2000-12-20 04:57 UTC] vishu_nathan at hotmail dot com
hello.

Ia'm a new user of PHP and mysql on it.

we are having in INTRANET on LINUX . This is supporting the PHP3 but now i installed the MYSQL on the same  for my database connectivity. I made a programme to make query from database then on doing so I a'm getting 

FATAL ERROR : Call to Unsupported or undefind function : mysql_connect() on line 2.

I am having a book on PHP4 as per that to fix this bug I h've to modify PHP.INI file and there in MYSQL section uncomment the "php_mysql.dll" line.

In my system I don't have any line like this.
so i added that line and reload the system then also i a'm getting the same error.

KINDLY guide me in detail so that i'll be able to use this powerful combination in my application.

Thanks.

VISHWAMATHAN...



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-21 09:45 UTC] hholzgra@php.net
you have to have mysql support enabled in your php installation

see the installation chapter in the manual
    http://php.net/manual/installation.php

and, by the way, this is not a bug
questions like theese should go to the php-general
mailing list instead 
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 10:00:02 2026 UTC