• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

ERROR: Service_Agent_Exception

fandar

New Pleskian
Hello,
after upgrade I cannot open plesk panel and I am getting this error

ERROR: Service_Agent_Exception
Eine Ebene höher
Unable to execute php_handlers_control: Error reading /etc/psa/php_versions.json: can not parse php_versions_info object : JSON object is expected. Error occured at offset 0, character '\x00'.

I have found that the file /etc/psa/php_versions.json is empty

Could anybody please attach here how the php_versions.json file should look like?
Thank You in advance
 
Here's an example:

Code:
{"php":[
{
	"id":"module",
	"path":"/usr/bin/php-cgi",
	"phpini":"/etc/php.ini",
	"version":"5.4.22",
	"displayname":"5.4.22",
	"type":"module"
},
{
	"id":"fastcgi",
	"path":"/usr/bin/php-cgi",
	"phpini":"/etc/php.ini",
	"version":"5.4.22",
	"displayname":"5.4.22",
	"type":"fastcgi"
},
{
	"id":"cgi",
	"path":"/usr/bin/php-cgi",
	"phpini":"/etc/php.ini",
	"version":"5.4.22",
	"displayname":"5.4.22",
	"type":"cgi"
},
{
	"id":"fastcgi-5.2.17",
	"path":"/usr/local/php-5.2.17-cgi/bin/php-cgi",
	"phpini":"/usr/local/php-5.2.17-cgi/etc/php.ini",
	"version":"5.2.17",
	"displayname":"5.2.17",
	"type":"fastcgi"
},
{
	"id":"fastcgi-5.3.27",
	"path":"/usr/local/php-5.3.27-cgi/bin/php-cgi",
	"phpini":"/usr/local/php-5.3.27-cgi/etc/php.ini",
	"version":"5.3.27",
	"displayname":"5.3.27",
	"type":"fastcgi"
},
{
	"id":"fastcgi-5.4.17",
	"path":"/usr/local/php-5.4.17-cgi/bin/php-cgi",
	"phpini":"/usr/local/php-5.4.17-cgi/etc/php.ini",
	"version":"5.4.17",
	"displayname":"5.4.17",
	"type":"fastcgi"
},
{
	"id":"fastcgi-5.5.1",
	"path":"/usr/local/php-5.5.1-cgi/bin/php-cgi",
	"phpini":"/usr/local/php-5.5.1-cgi/etc/php.ini",
	"version":"5.5.1",
	"displayname":"5.5.1",
	"type":"fastcgi"
}
]}
 
Back
Top