Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Geshan Manandhar:
Getting started with PHP (LEMP) on Vagrant, the easiest way
Aug 11, 2014 @ 17:06:11

Geshan Manandhar has posted a "getting started" guide to getting a LEMP environment up and running (LEMP being Linux, Nginx, MySQL and PHP) through a Vagrant setup.

A software engineer tells to a colleague in his team "Man, it is working on your machine, but why is it not working on mine?", then they both find out that one has Ubuntu 12.04 LTS with PHP 5.3 and the other software engineer on which the code is working is Ubuntu 14.04 with PHP 5.5 after some investigation. If you have ever faced this or similar problem its high time to switch to a portable and a reproducible virtual development environment shared among all team members. This is a context where Vagrant comes into play.

He introduces Vagrant and some of the problems it can help with for development groups. He includes some of the basic terminology and mentions some of the alternatives, including Docker and some of the Google popularity results comparing the two. Finally, he gets down to creating the Vagrant configuration with the PuPHPet service with screenshots of each step of the way. He wraps up the post with a look at how you can determine if things are working and how to add records to your hosts file to make the machine easier to reference.

tagged: lemp vagrant puphpet configure install tutorial automate environment

Link: http://geshan.blogspot.ae/2014/07/getting-started-with-php-lemp-on-vagrant.html#sthash.fPMXLkWP.dpuf

BinaryTides.com:
Setup Nginx + php-FPM + apc + MariaDB on Debian 7 - The perfect LEMP server
Aug 09, 2013 @ 16:58:39

On the BinaryTides.com site today there's a tutorial they've posted walking you through the full install process to get Nginx, PHP-FPM (with APC) and MariaDb working together on Debian, complete with configuration changes and all the commands you'll need.

Debian is a great choice for setting up linux webservers. According to current stats it is the most popular server OS followed closely by centos. I am a great fan of the apt/dpkg/gdebi commands, which make it so easy to install and update packages on the system. To setup a complete functional php webserver, you need to install a couple of extra things which include a webserver and a database. In this post we shall be setting up nginx, php, php-fpm, apc and maridb.

The tutorial is broken up into three main steps, each with clarification of what's involved:

  • Install Nginx on Debian
  • Install php and php-fpm
  • Install MariaDB on Debian
tagged: lemp server debian phpfpm mariadb apc

Link: http://www.binarytides.com/install-nginx-php-fpm-mariadb-debian

HowToForge:
How To Install a Complete LEMP on Ubuntu/Debian
Oct 23, 2007 @ 17:09:00

On the HowToForge website, there's a new step-by-step tutorial on getting a complete setup of Linux, EngineX, MySQL and PHP on a Ubuntu/Debian box working.

This HowTo will describe the setup of an efficient http server and mail server for small or medium configurations (as low as 96 mb). So this config is ideal for a small VPS. You can find a good choice of cheap and performant VPS (XEN) at x|encon, a german hosting company. they provide many scalable VPS solutions with pre-installed Debian and Ubuntu disc images.

They have it broken out into five overarching steps for getting things working, but there's lots of little sub-steps you'll need to work through to get it up and running. Thankfully, most of the hard part (installing the packages) is handled through the apt-get command and you won't be required to compile.

tagged: debian ubuntu lemp linux enginex mysql installation tutorial debian ubuntu lemp linux enginex mysql installation tutorial

Link:

HowToForge:
How To Install a Complete LEMP on Ubuntu/Debian
Oct 23, 2007 @ 17:09:00

On the HowToForge website, there's a new step-by-step tutorial on getting a complete setup of Linux, EngineX, MySQL and PHP on a Ubuntu/Debian box working.

This HowTo will describe the setup of an efficient http server and mail server for small or medium configurations (as low as 96 mb). So this config is ideal for a small VPS. You can find a good choice of cheap and performant VPS (XEN) at x|encon, a german hosting company. they provide many scalable VPS solutions with pre-installed Debian and Ubuntu disc images.

They have it broken out into five overarching steps for getting things working, but there's lots of little sub-steps you'll need to work through to get it up and running. Thankfully, most of the hard part (installing the packages) is handled through the apt-get command and you won't be required to compile.

tagged: debian ubuntu lemp linux enginex mysql installation tutorial debian ubuntu lemp linux enginex mysql installation tutorial

Link:


Trending Topics: