downgrade my php version to 7.3

Website URL

Error Message

Warning : require(/home/vol15_2/ failed to open stream: No such file or directory in /home/vol15_2/ on line 33

Fatal error : require(): Failed opening required ‘/home/vol15_2/’ (include_path=‘.:/usr/share/pear/’) in /home/vol15_2/ on line 33

Other Information

I need to downgrade my php version to 7.3 since I have no problem with that version try with .htaccess
and I can’t change it
<FilesMatch “.(php4|php5|php3|php2|php|phtml)$”>
SetHandler application/x-lsphp73

Free hosting only comes with PHP 7.4, and it will be upgraded to PHP 8.1 soon (hopefully). PHP version selection is a feature exclusive to premium hosting, so please consider upgrading if you need custom PHP versions.

That’s not a PHP version issue, those errors just say that there is a file that’s missing.

Usually, Composer autoloader files going missing is caused by the 1 MB file size limit on PHP files. A big PHP application with a large number of classes can result in the generated autoloader file getting quite big.

The solution for this is to regenerate your Composer vendor folder with the command composer install --no-optimize-autoloader. You can also set optimize-autoloader option in the composer.json to false (if the option is there), and then re-run composer install.

Looking at your composer.json, it says that your site supports PHP 7.4 and PHP 8 as well, so no need to downgrade to an older PHP version I think.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.