Re: [PHP] exec and system do not work

2013-08-25 Thread Tamara Temple
On Aug 25, 2013, at 10:41 PM, Ethan Rosenberg wrote: > Dear List - > > I'm lost on this one - > > This works - > > $out = system("ls -l ",$retvals); > printf("%s", $out); > > This does - > > echo exec("ls -l"); > > This does not - > > if( !file_exists("/var/www/orders.txt")); > { > $ou

Re: [PHP] exec and system do not work

2013-08-25 Thread Robert Cummings
On 13-08-25 11:41 PM, Ethan Rosenberg wrote: Dear List - I'm lost on this one - This works - $out = system("ls -l ",$retvals); printf("%s", $out); This does - echo exec("ls -l"); This does not - if( !file_exists("/var/www/orders.txt")); { $out = system("touch /var/www/orders.txt", $re

Re: [PHP] exec and system do not work

2013-08-25 Thread Sorin Badea
*/var/www* is usually under *www* user. It may be a permissions problem. On Mon, Aug 26, 2013 at 6:41 AM, Ethan Rosenberg < erosenb...@hygeiabiomedical.com> wrote: > Dear List - > > I'm lost on this one - > > This works - > > $out = system("ls -l ",$retvals); > printf("%s", $out); > > This does

[PHP] exec and system do not work

2013-08-25 Thread Ethan Rosenberg
Dear List - I'm lost on this one - This works - $out = system("ls -l ",$retvals); printf("%s", $out); This does - echo exec("ls -l"); This does not - if( !file_exists("/var/www/orders.txt")); { $out = system("touch /var/www/orders.txt", $ret); $out2 = system("chmod 766 /var/www/orders

[PHP] PHP-5.5.2 +opcache segfaults with Piwik

2013-08-25 Thread Grant
I've tried php-5.5.2 and 5.5.3 but both segfault with piwik unless the opcache is disabled. Someone filed a piwik bug but was told it's a php bug: http://dev.piwik.org/trac/ticket/4093 - Grant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php