• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved COMPOSER - LARAVEL

FAB

Basic Pleskian
At this point, I'm going to hang myself up, seriously lol

Here is my problem:
I've been trying for the last 3 days to install laravel on my server in order to be able to use it for a new website project.

So, first problem, I need Composer. Good news, Composer is already installed by Plesk. Right? No so fast.

Through SSH (logged root), when I run : composer require "laravel/installer" , I get : Your PHP version (5.4.16) does not satisfy that requirement

How to go around this problem?
Where is this version of PHP specified?


My conf:
 
Answering to myself:

You can actually change the version of PHP used in the current session by typing:

export PATH=/opt/plesk/php/7.1/bin:$PATH;

By doing so I managed to install Laravel using the default Composer.... FINALLY lol
 
Hello FAB,
I really don't know what I'm doing here (systemwise) LOL, but I hd the same problem like you the last 24 h.
Starting composer install from the shell brought me this error with the wrong php-version as well, but I didn't want to change the path settings.
A few minutes ago I found out how to come around this.
After installing a required PHP-Version for an application and activatiing this version on the "Websites & Domains" - page for this Website by selecting the correct version in PHP settings and , and , and .... draining the "internet" to my PC ... I finally clicked on the "Applications" Icon in the "Websites & Domains" Area for the site and found at first nothing of interest, an empty page ...
until tatatata.... I clicked on scan (for new aplications) et voila there where these json files listed that are available
Ok, what to do now ? so I clicked on one of the obvious names an got presented a new page with a very interesting button: "Install dependencies"

What should I say: That worked!!!
And all this without fiddling on the console.
Hope this helps you, at least a bit... :)
 
Back
Top