RE: PHP in der Shell

"Alexander Muthler" <[email protected]>
Newsgroups gmane.linux.suse.programming
Message-ID <[email protected]>
Steht in Deiner php.ini
 
	extension=mysql.so 

bzw. ist es auskommentiert?

Gruß
Alex

> -----Original Message-----
> From: Boris Höffgen [mailto:[email protected]] 
> Sent: Thursday, November 17, 2005 2:49 PM
> To: [email protected]
> Subject: PHP in der Shell
> 
> 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]
> 


-- 
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.