GNU/Linux & MacOsX Server different behaviour
| From: | Francesco Casalena | Date: | Tue, 28 Sep 2004 16:51:02 +0000 |
| Subject: | GNU/Linux & MacOsX Server different behaviour | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-198084@lists.php.net to get a copy of this message | ||
Hi,
I've an Apple G5 Xserve with MacOsX server 10.3 (Darwin 7.3.1)
and PHP 4.3.2 and I need to run a PHP script containing this line:
Linux: $temp=shell_exec("date 01/01/2004 +%a");
Mac: $temp=shell_exec("date 010104 +%a");
(man date says me how to write correctly date string in both cases)
On Linux result is correct (e.g.'Mon'), on Mac output is empty.
Is it a PHP problem, a php.ini lack (on Mac) or a permissions
problem? Or anything else?
Regards, thanks!
Ciao
Francesco
-----------------------------------------------------------
Leggi la tua email con il tuo cellulare! Grazie a I.Box puoi
leggere la tua email di superEva da SMS e dalla segreteria!
http://webmail.supereva.it/ibox/
-----------------------------------------------------------