2011/3/26 Olaf Lederer <[email protected]>:
> Hi,
>
> A few days ago I got a new server (Ubuntu 10.04)
> Like on my previous server I running suPHP and everything works fin except
> stuff like command I need to use from the command line.
> A simple snippet like <?php exec('/usr/bin/convert test.png test.jpg'); ?>
> works fine from the command line via SSH and not if I run the script from
> the browser.
>
> It seems that this problem is not unique and strange enough it worked on the
> old server.
> The difference between the old and the new server is the PHP version (was
> 5.2, now 5.3).
>
> On my old server I installed suPHP using custombuild (Directadmin) and on
> the new server it installed with apt-get.
>
> I compared all settings, but can't find the problem
> Thanks for any help!

Hi,

Try change

;PATH environment variable
env_path=/bin:/usr/bin

to

;PATH environment variable
env_path=/bin\:/usr/bin

Regards,
-- 
Pekka Jalonen | http://www.iki.fi/pekka.jalonen | http://jalonen.net
"Sometimes the truth hurts. And sometimes it feels real good."

_______________________________________________
suPHP mailing list
[email protected]
https://lists.marsching.com/mailman/listinfo/suphp

Reply via email to