2015-01-21 4 views
0

CentOS에서 nginx로 실행되는 웹 서버가 있습니다. 나는 몇 가지 한계를 increrase 내 php.ini 파일을 변경,하지만 PHP를 다시 시작하려고하면, 나는 오류 메시지를 얻을 :CentOS에서 새로 고침 PHP

[[email protected] ~]# php -v 
PHP 5.6.3 (cli) (built: Nov 23 2014 15:09:34) 
Copyright (c) 1997-2014 The PHP Group 
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies 
with the ionCube PHP Loader v4.7.1, Copyright (c) 2002-2014, by ionCube Ltd. 

[[email protected] ~]# systemctl restart php-fpm56.service‏ 
Failed to issue method call: Unit php-fpm56.service\xe2\x80\x8f.service failed to load: No such file or directory. 

[[email protected] ~]# systemctl restart php56.service 
Failed to issue method call: Unit php56.service failed to load: No such file or directory. 

[[email protected] ~]# service nginx reload 
Redirecting to /bin/systemctl reload nginx.service 

[[email protected] ~]# service nginx restart 
Redirecting to /bin/systemctl restart nginx.service 

[[email protected] ~]# systemctl restart php-fpm.service 
Failed to issue method call: Unit php-fpm.service failed to load: No such file or directory. 

[[email protected] ~]# systemctl restart php.service 
Failed to issue method call: Unit php.service failed to load: No such file or directory. 

[[email protected] ~]# systemctl restart php56.service 
Failed to issue method call: Unit php56.service failed to load: No such file or directory. 

어떤 생각이 어떻게 PHP 제발 다시 시작을?

+1

감사를 붙여 넣을 것입니다. – bcesars

+0

아파치를 실행하지 않고 Nginx를 실행합니다. 내 게시물에서 볼 수 있듯이 이미 http 서버를 다시 시작하려고 시도했지만 service nginx를 다시 시작했지만 아무런 효과가 없습니다. – JackLinkers

+0

그래서 Nginx를 다시 시작할 수 있습니다. 서버에 PHP가 실행되고 있지 않습니다. – bcesars

답변

1

OK 미리 감사드립니다, 기존의 패션 방법은 솔루션이었습니다 I 불구하고 (실제로 나는 SSH 터미널에서 입력 한 때문에이 일을) service php-fpm56 restart

나는 \ XE2 \ X80 \ 무엇인지 궁금 해서요 x8f. 그것은 skype에서 ssh 터미널로 복사/붙여 넣기 할 때 추가 된 일부 caracters 인 것처럼 보입니다.

그래서 systemctl restart php-fpm56.service‏ 내가 대신 사본의를 입력하면/일이 당신은 PHP를 다시 시작하려고하지, 아파치를 다시 시작해야합니다 ... 스카이프에서 모두