• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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