• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Question Laravel production

Seba

Basic Pleskian
How can I publish my Laravel application developed in local to the Plesk Server?

I've already tried to install from scratch the app and i have error 500, simply copy the app from local to the server, same error.

I'm trying to run php artisan config:cache and I have a lot of error to undefined functions. (see attachment)
 

Attachments

  • Capture2.PNG
    Capture2.PNG
    98.8 KB · Views: 28
I suppose that instead of using system PHP in command "php artisan config:cache" you have to use PHP version which is used by your domain, like
" /opt/plesk/php/7.2/bin/php artisan config:cach"
 
I suppose that instead of using system PHP in command "php artisan config:cache" you have to use PHP version which is used by your domain, like
" /opt/plesk/php/7.2/bin/php artisan config:cach"

I've already added the PHP 7.2 path as alias so I'm not using PHP 5
 
Back
Top