PDA

View Full Version : Problem with mysql_pconnect


guyp
10-03-2005, 16:34
Hi.

I've just installed zabbix, with all prerequisites, and when I try to open the web page, my browser return the following message:

Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/include/db.inc.php on line 33

Do I miss something ??

please help !! :eek:

guyp
10-03-2005, 21:49
I've tried several time to make it work and I was unable to.

Maybe ZABBIX simply won't work on RedHat 9 ?

I'm using :

MySQL 4
PHP 4
php-mysql 4
net-snmp 5
Apache 2

eWebtricity
14-03-2005, 07:25
Did you set the username and password for the MySQL DB. Sounds like it's just not able to access the MySQL DB you created, you did create it right? I just installed on Fedora Core 3 with few problems. I was up and running in a matter of hours once I read over the docs.

I"m using

MySQL 3.23.58
PHP 4.3.10
Apache 2.0
Kernel 2.6.10

Ofntech
30-03-2005, 20:40
I had this same problem, make sure you have php-mysql installed and that you have setup mysql users.

rajeevtomar
31-03-2005, 20:51
Problem can be resolved by installing mysql-dev package.as it contains header files and libraries.

Cheers, Rajeev