List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:January 2 2000 9:58pm
Subject:Re: mysql & php
View as plain text  
At 12:39 PM -0500 2000-01-02, Robert J. Cissell wrote:
>Hi everyone,
>
>I just installed mysql 3.22.27 on a redhat 6.1 linux system.  The daemon
>
>is up and running fine, i can log in from the prompt and all just fine.
>Then I installed php3 with mysql support and it said it installed fine
>etc.  I ran a simple test script to test the php3 and it's fine with the
>
>web server.  But when I tried to run a php3 script to access a mysql
>database, I get:
>
>Fatal error: Call to unsupported or undefined function mysql_connect()
>in /home/httpd/html/admin/test2.php3 on line 3


This means you didn't install PHP with MySQL support, even if
you think you did.  Or perhaps you did install it but neglected
to restart the Apache server, if you're using Apache.  (stop it and
start it, don't just do apachectl restart.)

-- 
Paul DuBois, paul@stripped
Thread
mysql & phpRobert J. Cissell2 Jan
  • Re: mysql & phpPaul DuBois3 Jan