Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Applies to

Debian / Ubuntu Linux
Zend Server Installation with

...

Nginx

Symptom

After installing Zend Server on Debian/Ubuntu with nginx, the following error occurs:

Panel
bgColor#eeeeee
Starting php-fpm [23-Sep-2015 14:07:22] ERROR: [pool www] cannot get uid for user 'nginx'

Technical

Zend Server is not compatible with nginx packages provided by the distribution's repository. For correct installation, packages from official repository of nginx should be used.

Solution

To fix the problem, you need to uninstall Zend Server and nginx packages from the server and then re-install Zend Server using following steps.

1. Uninstall Zend server using:

Panel
bgColor#eeeeee
$ sudo /usr/local/zend/bin/uninstall.sh

2. Remove Zend Server directory using:

Panel
bgColor#eeeeee
$ sudo rm -rf /usr/local/zend

3. Uninstall nginx using:

Panel
bgColor#eeeeee
$ sudo aptitude purge '~nnginx'

4. Finally, re-install Zend Server using instructions given in the following link:

Automatically installing Zend Server