Announcement

Collapse
No announcement yet.

Just swapped over to Redhat 8.0 today and...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Just swapped over to Redhat 8.0 today and...

    Upon restoring my mysql and forum databases, my old M$ root web inclusive of config and ended up with this error...

    Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/admin/db_mysql.php on line 38

    I have uncommented in PHP.ini the mysql.so file and bounced the machine but I'll have to admit, day one on a new OS and I'm getting pretty taxed...

    Have also copied mysql.so to /usr/lib/php4 from where I found it in /usr/lib/pearl5/vender_pearl/5.8.0/i386-linux-thread-multi/auto/DBD/mysql


    Any ideas...?

    Glitch
    Last edited by Glitch; Mon 10th Mar '03, 1:47am.

  • #2
    you need to compile PHP with MySQL support.
    Scott MacVicar

    My Blog | Twitter

    Comment


    • #3
      For some unknown reason RH8 does not install the MySQL extension, even though it is on the setup disk. If you installed it on a local box just get it off the disk, if not ask your host to do it or install it yourself

      Sean
      SitePoint Advisor (seanf)
      http://sitepointforums.com
      Harry Potter

      Comment


      • #4
        The Redhat PHP/Apache/MySQL installs are evil. Your best bet is to use rpm -e to remove the Apache, PHP and MySQL packages and then compile them yourself from the source code available from each of the systems' respective sites. There are instructions for compiling these packages in the vBulletin manual somewhere.

        Comment


        • #5
          http://www.vbulletin.com/manual/apache.html
          and
          http://www.vbulletin.com/manual/mysql.html

          Comment


          • #6
            There is nothing wrong with the RedHat RPMs. You are simply missing a vital one for your setup.

            php-mysql-4.2.2-8.0.5.i386.rpm

            Just install that one and everything will work fine for you. (Tried, tested, and true)

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...
            X