vladgh / VladGh.com-LEMP

Latest NginX, MySQL, PHP (with APC and Suhosin)
http://vladgh.com/blog/install-nginx-and-php-php-fpm-mysql-and-apc
Apache License 2.0
160 stars 41 forks source link

php-fpm not starting on Debian 32 #24

Closed Pineapple-zz closed 12 years ago

Pineapple-zz commented 12 years ago

Hello

I ran the tutooira from start to finish and everything came up fine except php-fpm did not start. I can see that it is installed but it does not run. To get around the init.d script errors that I see others had experienced I ran "php-fpm -y /etc/php5/php-fpm.conf -c /etc/php5/php.ini" but I got php-fpm unkown command. The automated script works fine on an Ubuntu instance andI I'm tempted to leave it there but I had loose strings and it bugs me that I couldn't get it to work on Debian.

Nginx serves pages just fine but trying to run anything "nginx" on the command line also results in command not found. Both paths are in environment.

Strange.

Thanks.

Andrew

vladgh commented 12 years ago

Small step for Debian compatibility: replace arch=$(dpkg-architecture -qDEB_HOST_MULTIARCH) with arch=$(dpkg-architecture -qDEB_HOST_GNU_TYPE) on line 19 in install_files/php.sh file.