• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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