Ad Widget

Collapse

Problem with mysql_pconnect

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • guyp
    Junior Member
    • Mar 2005
    • 9

    #1

    Problem with mysql_pconnect

    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 !!
  • guyp
    Junior Member
    • Mar 2005
    • 9

    #2
    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

    Comment

    • eWebtricity
      Junior Member
      • Mar 2005
      • 27

      #3
      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

      Comment

      • Ofntech
        Junior Member
        • Mar 2005
        • 4

        #4
        I had this same problem, make sure you have php-mysql installed and that you have setup mysql users.

        Comment

        • rajeevtomar
          Member
          • Mar 2005
          • 50

          #5
          Problem can be resolved by installing mysql-dev package.as it contains header files and libraries.

          Cheers, Rajeev

          Comment

          Working...