KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm trying Laravel for the first time after reading an announcement of the Laravel4 beta release. I followed these steps I installed Composer and Laravel with all the dependencies it needed. I put the Laravel inside my ~/public_html directory - as I'm used to doing it with Codeigniter, but I think something's wrong here. If I point the browser to http://localhost/~carlo/laravel-develop/ , it just displays the content of the directory. Then, while on the filesystem I had a laravel-develop/public folder, it didn't appear on the browser. I've found that changing the .htaccess like this: <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] </IfModule> resulted in an error when I tried to access the public folder. The error: 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 another one: /home/carlo/public_html/laravel-develop/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php line 77 then a long list of errors. The last one is: require_once('/home/carlo/public_html/laravel-develop/start.php') in /home/carlo/public_html/laravel-develop/public/index.php line 53
Tags (comma-separated)
Save Edits
Cancel