• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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