Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Grant Nosbush
July 23, 2005, 1:33 am
rate this thread
and just can't get it. Maybe someone will be able to help. I am
getting the following error when I try to view a test page in my
browser. This test page just reads a table in mysql and outputs the
Fatal error: Call to undefined function: mysql_connect() in
/var/web/public/test.php on line 2
I have tried upgrading PHP to PHP5. I went back down to PHP4. I
verified that mysql.so was being loaded. I tried using the OLD_PASSWORD
feature in mysql. Verified that the PHP module is loaded in apache.
What is weird however (at least I think) is when I run the following via
It pulls up the page, connects successfully to the database and displays
the records. No error message.
Does anyone have any suggestions for other things for me to try. Thanks
in advance for your help.
Re: Another "Fatal error: Call to undefined function: mysql_connect()" Question
Yes, MySQL does start at boot time and is running. As I mentioned in my
post, when I run PHP from the command prompt, it connects and pulls
data. It gives me this error message when I try to load the page via a
- Florent Clairambault
July 23, 2005, 12:06 pm
- » How to pass a var to another php page w/o using a form
- — Previous thread in » PHP Scripting Forum