Jump to content

[Solved] Subject: PHP Version Mismatch on Server


bebeklucu

Recommended Posts

Dear Support Team,

I am encountering an issue with my website due to the PHP version installed on the server. The error message I received is:

Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.2.0". You are running 7.4.33. in /home/bebeklucu.helioho.st/httpdocs/vendor/composer/platform_check.php on line 24
 

On my local environment (DevTools), the PHP version is 8.2.12, but the server seems to be running 7.4.33. Could you please assist in updating the server’s PHP version to at least 8.2.0 to meet the Composer dependency requirements?,

Changing Root Directory to /public
Currently, the server’s root directory points to /httpdocs, but for my Laravel project, it needs to point to /httpdocs/public. Could you assist in changing the document root to /public?

Thank you for your help!

Best regards,
Bebeklucu

Link to comment
Share on other sites

You should be able to change the PHP version being used yourself inside Plesk. Please login and go to: Plesk > [domain] > Dashboard tab > Dev Tools > click on the PHP button > you should see a 'PHP support' section with a drop-down menu where you can choose version 8.2.17. Please let us know if you have trouble making these changes. 

Laravel can sometimes demand a lot of server resources, so we'd recommend you keep an eye on your account load here https://heliohost.org/dashboard/load/ just to make sure your app doesn't exceed the account load limits and get suspended. You can read more about the High Server Usage limits here:https://wiki.helionet.org/accounts/suspension-policy#high-server-usage 

This support request is being escalated to our root admins who can make the root directory change for you.

Link to comment
Share on other sites

Quote

This support request is being escalated to our root admins who can make the root directory change for you.

I would recommend using laravel toolkit to set up and manage the laravel install as it will do this automatically.

 

  • Thanks 1
Link to comment
Share on other sites

  • Krydos locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...