PHP Superman wrote:
did you uncomment the line that adds the proper php
module(mysqli_blahblahblah.dll)?
How would loading the mysqli modules help the poster with the mysql
functions?
How would loading Windoze dll's help the poster on a Linux box?
On 1/16/06, Jonathan Duncan <jonathan@xxxxxxxxxx> wrote:
I just got a new web server with RedHat Enterprise Linux 4 on it. It came
-----------------------------------------------------^^^^^
with MySQL 4.1.x and PHP 4.3.9 on it. I uninstalled the MySQL 4 and put
MySQL 5 on it. When I run a PHP script that has a DB connection in it I
get:
Fatal error: Call to undefined function: mysql_connect() in
-------------------------------------------^^^^^
OP, chance are, your RHEL box has the improved mysql (mysqli) libriaries
set-up. Try mysqli_connect. If this isn't the case, then your
libraries are not being loaded when you start Apache. Check your error
logs.
http://us2.php.net/mysqli
--
By-Tor.com
...it's all about the Rush
http://www.by-tor.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php