How do I get php-win to work with Zend Server? -
I have recently installed Z server CE but I can not get php-win to do anything. When I run a CMD script using standard php calls, it works perfectly but fails to do anything in any call using php-win. no output; nothing.
For example:
php C: \ path \ to \ script
The above works.
But nothing below:
php-win c: \ path \ to \ script
any ideas ?
Excerpt from PHP manual:
As a PHP 5, A new php-win.exe file is distributed. This is equivalent to the CLI version, except that php-win does not output anything and thus does not provide any console ("dos box" does not appear on the screen). This behavior is similar to php-gtk. You should configure with --enable-cli-win32.
I.e. Php-win production output is not considered. It can do other things - to write discs, in databases, etc. If you want to check it, type this type of script:
& lt ;? Php file_put_contents ("a", "aaa");
and see if the file is showing up.
Comments
Post a Comment