From: Christopher N. <ch...@ne...> - 2005-08-27 16:55:55
|
Sorry, this should have gone to the list, so here it is. On Sat, 2005-08-27 at 19:28 +0300, Thimios Dimopulos wrote: > It's surely a different thing, running php code on a bash shell through > php-cli than running it on the web server. For one thing, on the first > case, you have all the environment variables available.=20 Indeed, which is why I was suspecting the path, but now on the embedded board I'm finding the PHP processes keep spawning almost recursively (the parent waits for the child to finish, which forks it's own child, etc) until the system is no longer responsive. > Is your code on-line somewhere? Maybe i could help if i could test it. I have posted a snapshot tarball for inspection. It's probably something silly, but thanks for looking. http://www.nesser.org/src/wifiadmin-persist-cfg.tar.gz This code requires PHP 5.0 + since it uses a new function call put_file_contents() but that could be removed and a fopen, fwrite, fclose could be put in it's place for an earlier PHP parser. The wifi-admin in this tarball broken because the persistent storage function never finishes. Other than that, enjoy. :) I'm still working on getting my stable work from this past summer into the CVS repository. Friday was my last day of that contract. There seems to be taking quite a bit of time for me to filter out local changes made for our particular system which shouldn't be put into the global repository. Bad design on my part, darn. Regards, Chris --=20 PGP Public Key: http://www.nesser.org/pgp-key/ 12:47:06 up 3:53, 3 users, load average: 0.23, 0.29, 0.41 |