Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Studio1's avatar

php artisan shows no output (blank) on cli in live environment

Hi. I have a problem with Laravel when I put it into the live environment. I have created 2 commands results:generate and get:ftpResults. running php artisan get:ftpResults runs fine and executes php code in the function handle(), but when I execute php artisan results:generate the function just returns a new line as blank, no output.

im using Laravel 5.6.29 in cPanel environment Centos v7 with Lightspeed.

0 likes
2 replies
Studio1's avatar

I forgot to mention that I have no issues running the commands on my local development environment.

crnkovic's avatar

Providing us with code samples is probably the logical next step after describing the problem.

Please or to participate in this conversation.