I tried disabling Zend Monitor on the server administration page and also deactivated both Monitor and Monitor UI through editing monitor.ini and monitor_ui.ini, setting the "enabled" values to 0, still the message persists.

I know it's just a notification but it's still annoying, especially when evaluating CLI calls from CGI.

1. What is the output of the following commands on your regular Command Prompt (under C:\Users\Sascha>)?2. What is the output of same lines on Admin console? To open Admin console from your user, right click "command prompt" under Start -> Programs -> Accessories, and click "run as administrator".

The problem you are showing is not being able to populate an error from PHP to the logs, and is basically a permission issue for the user running PHP.System user which runs services (and Apache), and Admin user(s) can write to Zend Server logs at "C:\Program Files (x86)\Zend\ZendServer\logs".

If you right click on the monitor_ui.log file in the logs folder, and choose Properties, then check to go Security tab,you will see that "Users" record only has Read permissions for that file, while System and Admin users have more access rights.

To resolve this, simply add Write permissions to the monitor_ui.log, for your own Windows User or the entire "Users" entity.

Note: When installing updates, most likely that the permissions will be reverted to default if the logs directory is refreshed,so you can repeat this process if needed after applying updates.

I can verify both the error and the solution with IBM i version of Zend Server as well.What makes this doubly annoying on IBM i is that when running in batch all those messages generate a spoolfile on QPRINT, if you are on i you know what that means.

Anyway, like I said this is the same error on IBM i, when the user running php-cli doesn't have permissions to write to log file /usr/local/zendsvr/var/log/monitor_ui.log this error is "displayed on screen" which means a spoolfile if running as batch job.The problem goes away by giving write permissions to the logfile/directory for the user used to run php-cli scripts in qshell/pase.