Re: PHP not seeing MySQL functions
| From: | John Nichel | Date: | Mon, 23 Jan 2006 00:07:20 +0000 |
| Subject: | Re: PHP not seeing MySQL functions | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-229046@lists.php.net to get a copy of this message | ||
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@nacnud.com> wrote:I just got a new web server with RedHat Enterprise Linux 4 on it. It came -----------------------------------------------------^^^^^
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.comwith 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 -------------------------------------------^^^^^