Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
hey, thanks for the tutorial. how do i install mysql + phpmyadmin. i want the url looks like this localhost/phpmyadmin. thanks
winanda.aji: Try taking a look at our phpMyAdmin tutorial for Ubuntu 14.04.
Let us know how it goes!
hey again, thanks for the response i’ve had no problem using apache, how do integrate laravel+nginx+mysql+phpmyadmin, i’ve managed to install nginx and laravel, using this tuts, but when i tried to access localhost, it returned the laravel main page, so, back to the question, how do i make integrate phpmyadmin so the url will look localhost/phpmyadmin or localhost/pma.
I must have done something wrong, I am still seeing the default apache2 ubuntu page when I enter the URL in the browser. Any common error newbies make while configuring /etc/nginx/sites-available/default ?
Thanks!
nevermind, the problem was fixed by rebooting the server, thanks, excellent tutorial!
Hi! Great tutorial, I will try this in a new droplet. I have a question: how good is nginx over apache??? Thanks!!!
Great tutorial. Like the guy above me said an article on apache vs nginx would be pretty cool!
This is great, thanks! I’ve followed this but can get artisan to work. When I try ‘php artisan list’ I get “Could not open input file: artisan”
What am I missing here?
@winanda.aji:
Laravel does not integrate with PHPMyAdmin - Both are applications, used for different purposes. Laravel is used to develop custom applications that serve a specific purpose, and PHPMyAdmin is a specific application, written in it’s own “framework”, to allow you to administrate a MySQL Server.
http://gwan.com/benchmark http://www.rootusers.com/web-server-performance-benchmark/ http://nbonvin.wordpress.com/2011/03/14/apache-vs-nginx-vs-varnish-vs-gwan/
I did a presentation one time on setting up Varnish as a Front End Proxy with Cherokee as the web server and these were some of the benchmarks I found while researching it.
Are you in the base_path()? Your working directory needs to be the root of the Laravel application. (eg, an ls will return stuff like “app”, “bootstrap”, “composer.json”, “vendor”, etc)
Nginx is about 2x as fast as Apache, but after ~600 users, Nginx’ performance starts to seriously suffer.
Apache is about 1/2x as fast as Nginx, but it seems to have no internal limit to how many concurrent connections it can handle.
This is probably why Apache is usually used as a backend server with Nginx running as an accelerator.
Sources: The links in my above comment.