Qadeer_Sipra
Qadeer_Sipra

Reputation: 177

How to run Laravel project without php artisan serve in laravel 5.3

I have updated the PHP version to 5.6.3 and create a project using laravel 5.3.0 . Now i want to run my project without php artisan serve. When i hit localhost , the index page is opened. But when i click one my project name it shows following error. ****The localhost page isn’t working****
Note that i have tried following method to get rid of this issue. 1. copy .htaccess file from public directory to project folder 2. rename the server.php to index.php But it is not working. Any ideas in this regard?

Upvotes: 1

Views: 5829

Answers (1)

rango
rango

Reputation: 629

If you using LAMP and you want to run Laravel project without Artisan, you have to navigate from browser to /laravel/public directory. Follow laravel documentation https://laravel.com/docs/4.2/quick

But if you getting errors like 500 and your page don't work, possibly you have to change permissions of your Laravel project directory.

Try sudo chmod -R 770 /path/to/your/laravel/project
or sudo chmod -R 775 /path/to/your/laravel/project
for more refer with this https://help.ubuntu.com/community/FilePermissions

Upvotes: 3

Related Questions