Normally for many shared host, get all working first in dev, ftp up,
See here:
https://laracasts.com/discuss/channels/laravel/next-issue-fonts-and-images-arent-visible
It explains shared host setup. Note, do a dump autoload prior to ftp uploading.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I'm trying to run this command php artisan config:cache using ssh on shared hosting but unfortunately it gives me following error.
Can't locate ea_php_cli.pm in @INC (you may need to install the ea_php_cli module) (@INC contains: /var/cpanel/ea4 /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/528/lib/perl5/5.28.0/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/528/lib/perl5/5.28.0 /opt/cpanel/perl5/528/site_lib/x86_64-linux-64int /opt/cpanel/perl5/528/site_lib) at /usr/local/bin/php line 17.
So i just want to know can we run these commands on shared hosting?
Please or to participate in this conversation.