I am getting the following error when I use mysql_query() in PHP.
"Call to undefined function: mysql_query() "
This is using the basic connection stuff I have used on my outside host so I know the syntax is correct.
I have recently set up a box with RH Linux 8.0 and installed Apache (v2.0), PHP (v4.2.2) and mySQL (v3.23.52) from the RPM. I can access mySQL fine from the terminal and I don't seem to get an error when I connect, but as soon as I hit the mysql_query call it chokes.
Since I'm a total newbie with Linux I am hoping I don't have to rebuild and reinstall anything because I don't really know my way around yet. Is this possibly due to something set incorrectly in the php.ini file?
One thing might be the path to one of the necessary files is not right. It seems that the guy who did the install for me put it all on one partition and I am not finding things in the usual paths. Maybe you could tell me what to look for.
TIA
-Labrat