PHP in der Shell

Boris Höffgen <[email protected]>
Newsgroups gmane.linux.suse.programming
Organization H&J-Datentechnik e. K.
Message-ID <[email protected]>
Hallo,

ich möchte gerne ein PHP-Skript in der Shell ausführen.
Mit "php ./test.php" ist das auch kein Problem. Jetzt
würde ich gerne innerhalb des Skripts auf die MySQL-DB zugreifen.
Folgender Fehler tritt auf:
Fatal error</b>:  Call to undefined function:  mysql_connect()

Warum? Und wie behebe ich das Problem?

Gruß
Boris

-- 
Um die Liste abzubestellen, schicken Sie eine Mail an:
    [email protected]
Um eine Liste aller verfügbaren Kommandos zu bekommen, schicken
Sie eine Mail an: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.