Any one have tried to install phalcon on centminmod? This instalation tutorial will work on centminmod? Download Phalcon for Linux/Unix/Mac Code: git clone --depth=1 git://github.com/phalcon/cphalcon.git cd cphalcon/build sudo ./install
btw, you do not need these 2 yum packages for Centmin Mod Code: php-devel php-mysqlnd and instead of php.ini create your own ini file at /etc/centminmod/php.d/phalcon.ini see PHP-FPM - Transfer all my custom changes from php.info to php-fpm config | Centmin Mod Community /etc/centminmod/php.d/phalcon.ini contents Code: extension=phalcon.so then restart php-fpm service
Centmin Mod by default already uses mysqlnd native driver see PHP PHP-FPM - Centmin Mod - Menu based Nginx installer for CentOS servers and PHP-FPM compile options PHP-FPM loaded modules
Hello, Thanks for help George, Phalcon installed with success. Now we have working on rewrite rules. Nginx Installation Notes — Phalcon 1.3.0 documentation Code: location ~ \.php { fastcgi_pass unix:/run/php-fpm/php-fpm.sock; fastcgi_index /index.php; include /etc/nginx/fastcgi_params; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; } Any idea to convert this to work with centminmod? Now have only this: Code: try_files $uri $uri/ @rewrite; } location @rewrite { rewrite ^/(.*)$ /index.php?_url=/$1; } location ~* ^/(css|img|js|flv|swf|download)/(.+)$ { root /home/nginx/domains/sppneumologia.pt/public; } location ~ /\.ht { deny all; } Thanks,
Centmin Mod already takes care of part of PHP rewrite rules see your Nginx vhost include file for php.conf at /usr/local/nginx/conf/php.conf Code: include /usr/local/nginx/conf/php.conf; probably only need Code: try_files $uri $uri/ @rewrite; location @rewrite { rewrite ^/(.*)$ /index.php?_url=/$1; } location ~* ^/(css|img|js|flv|swf|download)/(.+)$ { root /home/nginx/domains/sppneumologia.pt/public; } location ~ /\.ht { deny all;