View Single Post

  #3 (permalink)  
Old 04-28-2008
Álvaro G. Vicario
 
Posts: n/a
Default Re: mysql_connect never completes execution

Ralf Seliger escribió:
> One component of moodle is a so called chat daemon which is just another
> PHP-Script. The only difference to the other scripts that together make
> up Moodle is that this script is to be started from the command line.


Command line PHP is typically parsed through a different binary and has
a few different options:

http://php.net/manual/en/features.commandline.php

Apart from that, it's likely that your command line binary is using a
different php.ini file. Run <?php phpinfo(); ?> from command line to
check the exact settings being used. I'd say display_errors is off and
that's why you get no errors :-?


--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://bits.demogracia.com
-- Mi web de humor al baño María: http://www.demogracia.com
--
Reply With Quote