Troubleshooting "Cannot restart PHP: permission denied for user: " Errors

Follow

Applies To:

[ Zend Server 4.x ]
[ Windows ]

Symptom

If you are installing Zend Server under a non-administrative user account, or you might be missing the correct permissions on the Zend Server installation folder or in IIS server, you may get an error similar to the error below:

Cannot restart PHP: permission denied for user: <USER>" Errors

Technical Details

This error is due to missing privileges for the IIS process. The process attempts to restart PHP and fails.

Resolution / Workaround

Below is the procedure on how you can verify that the correct permissions are in place.

Grant access to IIS process:

  1. Open the IIS snap-in and locate ZendServer Web Site.
  2. Under ZendServer Web Site, locate ZendServer Application Pool.
  3. Right click on ZendServer Application Pool and select Properties in the context menu.
  4. In the Application Pool properties dialog box, go to Directory Security tab.
  5. In the Directory Security tab press on the Edit button.
  6. In the Authentication Methods dialog window ensure that the user name is <COMPUTER_NAME>\ZendUser
Note:
If the user name is different than ZendServer, you will need to add this user and will need to reset a password for this user in order to know it and enter it in the this dialog box.

Check the Zend Server directory permissions

  1. Select the C:\Program Files\Zend\ZendServer directory, right-click and select Properties in the context menu.
  2. Go to the Security tab in the directory properties window.
  3. Ensure that ZendUser user has been granted with at least Read and Execute permission for C:\Program Files\Zend\ZendServer directory, including the sub-directories.
  4. Ensure that ZendUser has been granted with at least Modify permission for C:\Program Files\Zend\ZendServer\etc directory.

 


Excerpt: If you are installing Zend Server under a non-administrative user account, or you might be missing the correct permissions on the Zend Server installation folder or in IIS server, you may get an error similar to the error below: Cannot restart PHP: permission denied for user: " Errors


Original Post Date: 2009-10-23 14:09:20

Alternative Description:

 

_____
Tags: MS Windows 2003 Server,MS Windows 2008 Server,MS Windows 7,MS Windows XP,Zend Server 4.x,oldKB

Have more questions? Submit a request

Comments

Powered by Zendesk