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

I would highly recommend you watch this - https://laracasts.com/lessons/get-off-mamp-now and use a VM.

Install vagrant and virtual box and also see http://laravel.com/docs/homestead Homestead is great and you can host all your Laravel projects on one box and all in the same, its simple and fast to setup.

Last updated 2 years ago.
0

I am not sure if you are using a Mac or not, but did you point the server correctly. I first open my CLI and type

cd/whatever directory

then

php -S localhost:8879

In app.php is your error reporting turned on?

Here is the .htaccess file on use which works on my local and live server. Maybe you did not specify the version of php required.

<IfModule mod_rewrite.c>
# Use PHP 5.3
AddType application/x-httpd-php53 .php
    <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>

Try this, this took me forever to figure out when I first installed Laravel 4 on a mac. If php version pointing to Mac PHP version and not MAMP PHP

then in CLI
touch .bash_profile
open .bash_profile
then type:
export PATH=/Applications/MAMP/bin/php/php5.5.10/bin:$PATH
https://discussions.apple.com/message/20527774#20527774
Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

alexnl alexnl Joined 7 Jul 2014

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.

© 2024 Laravel.io - All rights reserved.