I have laravel 4.2 on byethost, with no problems. As long as the shared host meets the minimum laravel
php requirements.
You said install, I assume you mean upload from your development server, which works fine.
Yes no problem - I recently deployed a number of Laravel based projects to shared cpanel servers
Hi Guys,
Im trying to install (upload) laravel on my remote shared host (one.com). I keep getting blank pages.
I've moved my laravel 'public' folder to /project1/ (www.website.ddd/project1) and my laravel files are placed in /laravel (www.website.ddd/laravel)
So far, I've edited the files as described on this post http://laravel.io/forum/06-07-2014-deploying-laravel-project-to-shared-hosting-server?page=1
But still blank pages... :(
What am I doing wrong!
make sure you put the files on the root folder, not on a subfolder, the website needs to get to the index page to be able to start all the routing
Hi Juancho48,
Thank you for the reply.
I've moved the content from the laravel 'public' folder to mij root folder, adjusted the index.php according to the other the artical from my last post. The rest of the laravel content is found in my a folder I named 'laravel'.
I've adjusted path.php in the 'bootstrap' folder according to the 'laravel' folder but still getting blank pages.
What am I doing wrong?
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
RewriteBase /laravel/public/
# Redirect Trailing Slashes...
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
open your browser and type:
localhost/laravel/public
Or your localhost name.
htdocs
laravel
Now after testing this on host, if you still get blank pages, maybe something is wrong with host.
Another way is search on another forum "how to change public directory on Laravel skeleton to be root directory?"
Actually on shared hosting you can't use Artisan command line.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community