> I am using a system function to execute a command via php.  We have recently
> changed servers and after the change, the system function started to fail
> with an error return value of 126.
>
> I can execute the command that I'm passing to the function at the server
> command line and everything runs successfully.
>
> Does anyone know what the return number 126 means?

I think it means command not found.  I suspect the problem is because
the php environment is different than the command line environment.
Check the PATH.

Regards,
John Campbell
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to