Note that there are some explanatory texts on larger screens.

plurals
  1. POCan't make Laravel 4 to work on localhost
    text
    copied!<p>I'm trying Laravel for the first time after reading an announcement of the Laravel4 beta releasing.</p> <p>I followed <a href="http://four.laravel.com/">these steps</a> I installed composer and laravel with all the dependencies it needed. I put the laravel inside my <code>~/public_html</code> directory - as I'm used to do it with Codeigniter, but I think something's wrong here.</p> <p>If I point to the browser to <code>http://localhost/~carlo/laravel-develop/</code>, it just displays the content of the directory.</p> <p>Then, while on the filesystem I had a <code>laravel-develop/public</code> folder, it didn't appear on the browser.</p> <p>I've found that changing the <code>.htaccess</code> like this:</p> <pre><code>&lt;IfModule mod_rewrite.c&gt; RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] &lt;/IfModule&gt; </code></pre> <p>resulted in an error when I try to access the public folder. The error:</p> <blockquote> <p>ErrorException: Warning: file_put_contents(/home/carlo/public_html/laravel-develop/app/config/../storage/meta/services.json): failed to open stream: Permission denied in /home/carlo/public_html/laravel-develop/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php line 77</p> </blockquote> <p>another one:</p> <blockquote> <p>/home/carlo/public_html/laravel-develop/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php line 77</p> </blockquote> <p>then a long list of errors. The last one is:</p> <blockquote> <p>require_once('/home/carlo/public_html/laravel-develop/start.php') in /home/carlo/public_html/laravel-develop/public/index.php line 53</p> </blockquote>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload