#21 link between php and mysql

closed
None
5
2002-02-08
2002-02-04
Anonymous
No

on a new (cobalt) server installation, phpMyAdmin 2.2 runs silky smooth, shows and
manipulates mysql tables as expected. a simple php page using the
mysql_connect() function, however, brings up an error message:

'Fatal error: Call to undefined function: mysql_connect() in /home/sites/site24/
web/admin_db.inc on line XY'.

this hints at a missing module in the php installation. how come phpMyAdmin works
nevertheless? is phpMyAdmin using a different way to connect to the mysql host
than mysql_connect()?

Discussion

  • Loïc Chapeaux

    Loïc Chapeaux - 2002-02-05

    Logged In: YES
    user_id=144058

    Hi!

    phpMyAdmin dynamically loads the missing module if it can.
    See near the beginning of the "common.lib.php3" library.

    Loc

     
  • Loïc Chapeaux

    Loïc Chapeaux - 2002-02-05
    • assigned_to: nobody --> loic1
     
  • Loïc Chapeaux

    Loïc Chapeaux - 2002-02-08
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks