Support the ongoing development of Laravel.io →
Installation
Last updated 2 years ago.
0

Please check phpinfo() for server requirement

0

its using php 5.4

0

In bootstrap/app.php

$app = new Illuminate\Foundation\Application(
	realpath(__DIR__.'/../')
);

And server requirement

PHP >= 5.4
Mcrypt PHP Extension
OpenSSL PHP Extension
Mbstring PHP Extension
Tokenizer PHP Extension

You can check one by one extension has been enable

0

Thanks for the reply. I got it to work. There was a typo in the tutorial I was following. now when I try to go to any other page I get a 404 error. I found an article that mentions the htaccess file and changing it from this:

  <IfModule mod_rewrite.c>
      <IfModule mod_negotiation.c>
          Options -MultiViews
      </IfModule>

      RewriteEngine On

      # Redirect Trailing Slashes...
      RewriteRule ^(.*)/$ /$1 [L,R=301]

      # Handle Front Controller...
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule ^ index.php [L]
  </IfModule>
  # Use PHP54 as default
  AddHandler application/x-httpd-php54 .php
  <IfModule mod_suphp.c>
      suPHP_ConfigPath /opt/php54/lib
  </IfModule>

  to this

  <IfModule mod_rewrite.c>
      # <IfModule mod_negotiation.c>
          Options -MultiViews
      # </IfModule>

      RewriteEngine On

      # Redirect Trailing Slashes...
      RewriteRule ^(.*)/$ /$1 [L,R=301]

      # Handle Front Controller...
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule ^ /index.php [L]
  </IfModule>

the difference is in the RewriteRule. There is a '/' just before index.php. I tried that but it didn't work for me. In his article it was his solution

Last updated 9 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.