Same Problem here...
thanks this was the answer!
It works now.
hello, yes there is an directory in var/www/imsc/gui/data/tmp/PhpSwitcher-old
Maybe this is the problem, should i delete the directory or rename it.
Or does the Plugin Software need this directory for Installation Infos of new Versions?
can you say where the upload dir is? tho check the user rights.
Space is enough: about 130Gig free space.
I have testet HelloWorld Plugin now, works like a charme.
thank you for your answer.
Which log files do you mean?
The imscp logfiles are mostly empty and nothing in it about the phpswitcher plugin.
I didnt find anything on other logfiles.
No i didnt disable the plugin, and didnt this, in the last 4 years.
I cant disable because there are many domains which uses the phpswitcher plugin now, Ia m not able to do (In the Readme is also nothing to do so).
i have now installed the phpswitcher plugin serveral time updates in the past, mostly with errors, which i could solve myself.
But this error is new.
I have read the readme.md and update.md file, yes and i did it this way.
Linux www 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64 GNU/Linux
Linux version 4.9.0-8-amd64 (email@example.com) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) ) #1 SMP Debian 4.9.144-3.1 (2019-02-19)
imscp latest 1.5.3 (2018120800)
phpswitcher plugin 5.0.3
Error on Update to 5.0.5
thanks for helping.
I ve located the error.
I have imscp php version 5.6.40
i have installed phpswitcher version 5.6.40 and 7.1.xx.
After upgrade to phpswitcher 5.0.3 the software didnt find the phpswitcher version 5.6.40 and this was the error.
Maybe phpswitcher Software have the Problem to differ between identical psw and php versions?
The solution was to set status from all domains which hadnt the Status OK to OK and switch one time the php version which was before set to phpswitcher version 5.6.40 to 7.1 and back to 5.6, and the domain started working.
Now i have no phpswitcher Version 5.6.40, i would need it for the imagick support. But at the moment no problem, because i will switch in a few days to php 7 if i have updated my code.
Hello i had the same problem, same error message (Plugin::PhpSwitcher::_overrideHttpFpmServerSettings: Couldn't find PHP version for th..)
Status before on all domains ok.
It was a website with 2 subdomains and the whole domain had not used phpswitcher, only used the standard php Version of the imscp (5.6) system.
i had also set in databasethe status entries to OK, and on the subdomains the tochange also to OK. (and now the websites works)
i hope this will work if i update to php 7 on this domains.
After looking into the imscp database i have seen this Error message:
Plugin::PhpSwitcher::_overrideHttpFpmServerSettings: Couldn't find PHP version for the rr-rechnung.at domain. at /var/www/imscp/gui/plugins/PhpSwitcher/backend/PhpSwitcher.pm line 828.
Plugin::PhpSwitcher::_overrideFpmUdsPath: Couldn't find PHP version f
php default server (i-mscp) version is 5.6.
with phpswitcher i have installed version 7.1.11.