PHP-CLI: mysql_connect() not available

Jochen Kaechelin fvgi242ss at wlanhacking.de
Sat Jun 24 06:58:13 UTC 2006


Am Samstag, 24. Juni 2006 08:39 schrieb Christian Fröbel:
> Hello,
>
> on dapper, I use php4 in both ways: as apache module and as CLI.
> Suprisingly, when I use PHP as CLI, mysql_connect() doesn't work.
> I get the following error:
>
> Fatal error: Call to undefined function:  mysql_connect()
>
> But it works fine in the apache module environment.
>
> Any ideas?

Take a look at /etc/php4/cli/php.ini.
Search for the extension area a look if mysql is enabled.

>
> thanks,
>   Christian

-- 
Jochen Kaechelin, fvgi242ss, wlanhacking.de
http://mail.wlanhacking.de/cgi-bin/mailman/listinfo
-
Frauen sind die einzigsten Opfer die auf ihren Jäger lauern!




More information about the kubuntu-users mailing list