On my web server, the default PHP version is an old version because of some legacy pages.
As on my current setup I can not set different PHP versions for different domains (don't have "multiphp" feature), I use the following workaround:
In the root folder of a (WordPress) website, I insert the following code at the beginning of the `.htaccess` file:
<FilesMatch ".(php4|php5|php3|php2|php|phtml)$">
SetHandler application/x-httpd-alt-php82___lsphp
</FilesMatch>
This way every PHP file in that folder is handled with PHP v8.2 and everything works.
However, WP Toolkit is not detecting this workaround, so it simply shows the following error:
WP Toolkit has found WordPress files at the following path:
Path /home/user/path/to/example.com
However, it does not seem that this WordPress website is working. Try restoring the website from a backup or cleaning up the redundant files.
[error]FailedToExecuteWpCliCommand: exit status 1[/error] Your server is running PHP version [old_version] but WordPress 6.3 requires at least 7.0.0.
Also, on the Dashboard tab, in the Status column, the "PHP version" row shows the global PHP version, not the "overwritten" version.
As on my current setup I can not set different PHP versions for different domains (don't have "multiphp" feature), I use the following workaround:
In the root folder of a (WordPress) website, I insert the following code at the beginning of the `.htaccess` file:
<FilesMatch ".(php4|php5|php3|php2|php|phtml)$">
SetHandler application/x-httpd-alt-php82___lsphp
</FilesMatch>
This way every PHP file in that folder is handled with PHP v8.2 and everything works.
However, WP Toolkit is not detecting this workaround, so it simply shows the following error:
WP Toolkit has found WordPress files at the following path:
Path /home/user/path/to/example.com
However, it does not seem that this WordPress website is working. Try restoring the website from a backup or cleaning up the redundant files.
[error]FailedToExecuteWpCliCommand: exit status 1[/error] Your server is running PHP version [old_version] but WordPress 6.3 requires at least 7.0.0.
Also, on the Dashboard tab, in the Status column, the "PHP version" row shows the global PHP version, not the "overwritten" version.