Çarşamba, Ocak 19, 2011

Centos Nginx PHP APC FastCGI

These days I am working on centos vps installation. I try nginx for the first time and heard that it will be delicious when it is served with php,apc and fastcgi.

I began by enabling EPEL repos to centos. Installed php and its required modules. Then nginx and applied its fast-cgi patch according to nginx's wiki site.

Alternatively one can use spawn-fcgi program, I installed but not using right now. Then it comes apc. For that install php-pear and then "pecl install apc".

If you get an error like "ERROR: make failed" as in my case, try installing pcre-devel and after that pecl install apc works. And lets try if all is working.

 

Hiç yorum yok: