0

Am trying to install Laravel 5 using Nginx on the cloud based IDE Codio following this tutorial "Laravel, Codio, and Nginx "

After setting everything, the browser show the content of the puplic/index.php and not the default Laravel welcome page.

Asme Just
  • 1,287
  • 5
  • 27
  • 42

2 Answers2

0

Doesn't sound like PHP-FPM is running. Check your nginx virtual host and see if there's a PHP directive. There should be plenty of tutorials out there to help you configure Nginx and PHP-FPM.

FrozenDroid
  • 166
  • 13
0

In terminal in Codio, run parts status to see what parts you have running and parts list to see what parts you have installed.

Also, check out the current Laravel Starter Pack in Codio. It is using 4.2 but will show you how it should be working and comparing what parts you have installed and running to what is in the starter pack should show you wnat you have missed

ijobling
  • 46
  • 1
  • This is what I get with `parts status`: `nginx RUNNING, mariadb RUNNING, php5-fpm RUNNING, mysql STOPPED`. And `parts list` shows this: `nginx (1.7.8) mariadb (5.5.36) libmcrypt (2.5.8) php5 (5.5.15) php5-fpm (5.5.15) php5-curl (5.5.15) mysql (5.6.15) php5-pdo-mysql (5.5.15) composer (1.0.0-20141216) ` I know About the Laravel Starter Pack but I want use Laravel 5 with Nginx (and not 4.2 with Apache) – Asme Just May 07 '15 at 12:35