[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

php4-cgi und MySQL



Hallo,

normalerweise verwende ich PHP als Apache Modul, jetzt habe ich aber
gerade das Paket cacti installiert welches von php-cgi abhängt.
Das Problem ist, dass ich über php-cgi keine MySQL Funktionen
aufrufen kann:

| $ /usr/bin/php4 /usr/share/cacti/cmd.php
| X-Powered-By: PHP/4.1.2
| Content-type: text/html
|
| <br />
| <b>Fatal error</b>:  Call to undefined function:  mysql_connect() in
| <b>/usr/share/cacti/include/database.php</b> on line <b>19</b><br />

Mit allen anderen Skripten ist das auch so.

'apt-get install php4-cgi-mysql' sagt:

| Package php4-cgi-mysql has no available version, but exists in the database.
| [...]
| However the following packages replace it:
|  php4-mysql 

php4-mysql ist installiert. System: Woody

Kann mir jemand weiterhelfen?

Gruss
Janto



Reply to: