install laravel 5.1 on digitalocean icant install laravel on digitalocean
i used more articles about instaltion but icant
What kind of problems are you having?
after install lamp or lemp and clone my project
nothing appear when visit my ip
White page :(
Some things you maybe didnt do:
-Make a .env file with database credentials on the server
-Install composer dependencies on the server with 'composer install'
-Set permissions on the public and storage directories
How did you put your site on the server? Git?
all things you talking about i do it
yes i use git , clone repo from github
The problem that no error when visit IP XX.XxX.XX.xxx just White page
What does your htacess file look like?
have you created a .env file and generated a key?
@JellyBool i use a lamp droplet .. thanks for article i will check it
@Snapey yas i created a .env file and Key:generate
public/.htaccess
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
Try this htacess
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
Options +FollowSymLinks
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>
@abdullahghanem - If you don't resolve this, I would highly recommend using Laravel Forge to provision the droplet.
whenever I have had a white screen it has been because the storage folder is not writeable
also, enable display of errors (for now)
thanks @Snapey this error it's becouse i don't change permissions of the www folder.
It is required if your application will be uploading files and storing on server etc.
# Group Writable (Group, User Writable)
$ sudo chmod -R gu+w www
# World-writable (Group, User, Other Writable)
$ sudo chmod -R guo+w www
Please sign in or create an account to participate in this conversation.