• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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: 27
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