[nyphp-talk] best way to run script?

2009-07-19 Thread Konstantin Rozinov
Hey guys, I'm trying to run the same php script via the command line interface on several remote servers. I'd like to do it securely preferably over ssh. Right now, I'm using the ssh2 class from php, but getting very inconsistent results (sometimes the script runs, sometimes it doesn't via ssh2_e

Re: [nyphp-talk] Using APC to improve performance.

2009-07-19 Thread Konstantin Rozinov
apc_compile_file() seems to only work if you run it via the webserver. If you try to run it via the command line, it will fail. In other words, I have a script that apc_compile_file() a file that changes often. Calling that script from the command line fails to update the cached version. Calling