Results 1 to 4 of 4

Thread: Call to undefined function mysql_connect [resolved]

  1. #1

    Thread Starter
    <?="Moderator"?> john tindell's Avatar
    Join Date
    Jan 2002
    Location
    Brighton, UK
    Posts
    1,099

    Call to undefined function mysql_connect [resolved]

    hey i have PHP 5.0 installed on my computer with IIS 5. when ever i try and connect to a MySQL server it says that the function is undefined, i checked the php.ini file and it said that it had built in support for MySQL? Has anyone else has this problem?
    Last edited by john tindell; Mar 2nd, 2004 at 05:29 PM.

  2. #2

  3. #3
    Fanatic Member
    Join Date
    Jun 2007
    Location
    Karachi
    Posts
    551

    Re: Call to undefined function mysql_connect

    when i run it with the file index.php it gave me follwoing error as

    Warning: session_start() [function.session-start]: open(/tmp\sess_ce4a16686ce036f35690a9ac01f9cf8b, O_RDWR) failed: No such file or directory (2) in C:\Inetpub\wwwroot\phpprobidv5\index.php on line 3

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\Inetpub\wwwroot\phpprobidv5\index.php:3) in C:\Inetpub\wwwroot\phpprobidv5\index.php on line 3

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Inetpub\wwwroot\phpprobidv5\index.php:3) in C:\Inetpub\wwwroot\phpprobidv5\index.php on line 3

    Fatal error: Call to undefined function mysql_connect() in C:\Inetpub\wwwroot\phpprobidv5\config\config.php on line 19

    Warning: Unknown: open(/tmp\sess_ce4a16686ce036f35690a9ac01f9cf8b, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

    Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
    although all the files are properly setup !! but the problem is still reside

    I hope that my problem will consider[/FONT]

  4. #4
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Call to undefined function mysql_connect [resolved]

    Please don't hijack and bump other people's old threads.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width