Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
adodb-mysql.inc.php
  • Posted: 22.08.2003, 23:15
     
    jays1201
    rank:
    Freshman Freshman
    registered:
     August 2003
    Status:
    offline
    last visit:
    30.09.03
    Posts:
    5
    Hello,
    I'm another person having problems installing PostNuke for the first time (on Linux 8.0). I've tried the manuals, tried drewvogel's guide, and I've tried doing a search on my error. I've used...

    adodb-mysql.inc.php
    mysql_connect() in adodb-mysql.inc.php on line 239
    and other search terms

    ...and i still haven't found a solution.

    Most of the answers I find tell me to use FTP with ASCII when I'm uploading, use localhost, dbusername_dbusername and dbname_dbname during the install, and yes I've already done the 'GRANT PRIVELEGES TO *.*.... in mysql.

    Please help. I've been searching the forums for a week and no such luck.


    My error:
    Fatal error: Call to undefined function: mysql_connect() in /var/www/html/pnadodb/drivers/adodb-mysql.inc.php on line 239
  • Posted: 22.08.2003, 23:24
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    02.12.08
    Posts:
    13418
    have you compiled PHP with mysql support (assuming you did it)...

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Posted: 22.08.2003, 23:27
     
    larsneo
    rank:
    Software Foundation Software Foundation
    registered:
     December 1969
    Status:
    offline
    last visit:
    15.11.08
    Posts:
    4481
    maybe this thread might help you ;)

    --
    regards from germany
    ..::[Zikula Application Framework]::.. ..::[SEO-Blog]::.. ..::[CMS Sicherheit]::..
  • Posted: 22.08.2003, 23:45
     
    jays1201
    rank:
    Freshman Freshman
    registered:
     August 2003
    Status:
    offline
    last visit:
    30.09.03
    Posts:
    5

    HammerHead

    have you compiled PHP with mysql support (assuming you did it)...


    I used PHP-mysql-4.2.2-8.0.5.i386.rpm. Is that not it?
  • Posted: 23.08.2003, 14:59
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    02.12.08
    Posts:
    13418
    well, when you compile PHP you must compile it with mysql support, otherwise it doesnt recognise the mysql connection function.

    It should be in the docs...

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Posted: 25.08.2003, 18:55
     
    jays1201
    rank:
    Freshman Freshman
    registered:
     August 2003
    Status:
    offline
    last visit:
    30.09.03
    Posts:
    5

    HammerHead

    well, when you compile PHP you must compile it with mysql support, otherwise it doesnt recognise the mysql connection function.

    It should be in the docs...


    So is the following what I need to use to fix it?

    --with-mysql=/path/to/mysql

    does that command compile PHP with mysql? I don't know if I'm hot or cold on this.
  • Posted: 25.08.2003, 18:58
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    02.12.08
    Posts:
    13418
    from what i have seen before that looks good, but as I have never done it I dont know for certain.

    you need to replace /path/to/mysql obviously....

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula