After switching PHP versions, visit the website error 503
503 Service Unavailable
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
1. Check the corresponding website version of php process has started. (Here you can properly view the detection information in the pagoda in phpinfo be deemed normal start)
2. SetHandler "proxy: unix: /tmp/php-cgi-null.sock | fcgi: // localhost" version number is null null
For example, my site is using php5.6 website profile php configuration item should be amended as follows (the version number of my question is not modified, turned out to be 54, 56 can be modified to, because I originally PHP5.4, after switching 5.6, and pay special attention):
<FilesMatch \.php$>
SetHandler “proxy:unix:/tmp/php-cgi-56.sock|fcgi://localhost”
</FilesMatch>