• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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