|
Posted by Marcus Schwarz on 05/03/07 01:46
Geevaa schrieb:
> In the web browser,Everything works good and
> I am not getting the error or die message.
[...]
> But i am receiving this error in terminal.
php supports different config-files for different executables. if you
receive this error in terminal you are starting the cli version of php
which uses, by default 'php-cli.ini' configuration file, while the
php-exe running in your browser uses 'php.ini' (eg)
so have a look if you are using different configuration files.
mysql-support seems to be disabled in you php-cli.ini
you also should have a closer look at
http://de.php.net/manual/en/configuration.php
"If php-SAPI.ini exists (where SAPI is used SAPI, so the filename is
e.g. php-cli.ini or php-apache.ini), it's used instead of php.ini. SAPI
name can be determined by php_sapi_name()."
m*
--
"Wer mit dem Strom schwimmt, erreicht die Quelle nie."
Peter Tille
Navigation:
[Reply to this message]
|