www.webdeveloper.com
Results 1 to 3 of 3

Thread: mysql_* function error

  1. #1
    Join Date
    May 2003
    Posts
    5

    mysql_* function error

    I work with PHP 4.2.2, with Apache.
    When I use mysql_connect or another function in my php script I get the error:
    "Error: Call to undefined function".
    Why?
    (The phpinfo() shows --with-mysql=shared,/usr' ')

  2. #2
    Join Date
    Dec 2002
    Location
    High on life
    Posts
    10,104
    Please post the code you were using to try to connect...

    Personal website http://www.ryanbrill.com/
    Business website: http://www.infinitywebdesign.com/
    TypeSpace http://www.typespace.org/

    I reject your reality and substitute it with my own!

  3. #3
    Join Date
    May 2003
    Posts
    5

    mysql_connect() call error !

    I think that error is related to mysql.so extension.
    So I enabled (uncomment) in my php.ini file:
    extension=mysql.so
    and also put mysql.so file in the directory specified in php.ini by extension_dir.
    and restart http,
    but my error remains:
    mysql_connect() - Call to undefined function.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles