Скрытый текст (вы должны войти под своим логином или зарегистрироваться и иметь 21 сообщение(ий)): У вас нет прав чтобы видеть скрытый текст, содержащийся здесь. |
server { listen 80; root /var/www/public_html/bezzapaha.ru; index index.php index.html index.htm; server_name bezzapaha.ru; location / { try_files $uri $uri/ =404; } location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.php; include fastcgi_params; } }
server { listen 80; root /var/www/public_html/bezzapaha.ru; index index.php index.html index.htm; server_name bezzapaha.ru; location / { try_files $uri $uri/ =404; } location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.php; include fastcgi_params; } }
server { listen 80; server_name bezzapaha.ru; root /home/aldemko/public_html/bezzapaha.ru; index index.php index.html index.htm; # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 # location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } }
server { listen 80; server_name bezzapaha.ru; root /home/aldemko/public_html/bezzapaha.ru; index index.php index.html index.htm; # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 # location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } }
cat /etc/php5/fpm/pool.d/www.conf | grep "listen ="
service php5-fpm status php5-fpm: unrecognized service
yum install php-fpm Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile * base: mirrors.coreix.net * epel: epel.mirrors.ovh.net * extras: mirrors.coreix.net * remi-safe: rpms.remirepo.net * updates: mirrors.coreix.net * webtatic: uk.repo.webtatic.com Resolving Dependencies --> Running transaction check ---> Package php-fpm.x86_64 0:5.3.3-46.el6_7.1 will be installed --> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_7.1 for package: php-fpm-5.3.3-46.el6_7.1.x86_64 --> Finished Dependency Resolution Error: Package: php-fpm-5.3.3-46.el6_7.1.x86_64 (updates) Requires: php-common(x86-64) = 5.3.3-46.el6_7.1 Installed: php-common-5.6.19-1.el6.remi.x86_64 (@remi-php56) php-common(x86-64) = 5.6.19-1.el6.remi Available: php-common-5.3.3-40.el6_6.x86_64 (base) php-common(x86-64) = 5.3.3-40.el6_6 Available: php-common-5.3.3-46.el6_6.x86_64 (updates) php-common(x86-64) = 5.3.3-46.el6_6 Available: php-common-5.3.3-46.el6_7.1.x86_64 (updates) php-common(x86-64) = 5.3.3-46.el6_7.1 Available: php54w-common-5.4.45-2.w6.x86_64 (webtatic) php-common(x86-64) = 5.4.45-2.w6 Available: php55w-common-5.5.32-1.w6.x86_64 (webtatic) php-common(x86-64) = 5.5.32-1.w6 Available: php56w-common-5.6.18-1.w6.x86_64 (webtatic) php-common(x86-64) = 5.6.18-1.w6 Available: php70w-common-7.0.3-1.w6.x86_64 (webtatic) php-common(x86-64) = 7.0.3-1.w6 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest