Upgrade Your Drupal Skills

We trained 1,000+ Drupal Developers over the last decade.

See Advanced Courses NAH, I know Enough

One liner to install php 7, mysql 5.6, apache 2.4, drush and drupal on centos 7

Parent Feed: 

It was a nice little saturday in happy valley. Since my son is forcing us to watch the Sponge Bob Square Pants movie over and over, I decided to multi-task. Bryan Ollendyke has been talking about PHP 7 a tad bit lately so I decided to whip up an instance. 

Granted this is not ready for prime-time just yet, however, it is extremely fast and everything that I have tested so far works fine. Turn on authcache and it is REALLY fast!

There is a session_destroy Warning when logging out of drupal but that can be suppressed and probably is being addressed. If you run this check out the status page and you will see green!

Here is the link to the github repo make a pull request if you have any patches. https://github.com/bradallenfisher/php7-centos7-mysql5.6 

I am currently working on a vagrantfile for it, so if you don't have access to a linode or a digital ocean account hang tight.

Here is the one-liner to run on your newly created VM.

yum install git -y;git clone https://github.com/bradallenfisher/php7-centos7-mysql5.6.git; cd php7-centos7-mysql5.6; chmod 700 install.sh; ./install.sh

For some quick stats using this setup, here is what devel is telling me. :)

Executed 54 queries in 12.52 ms. Queries exceeding 5 ms are highlighted. Page execution time was 34.56 ms. Memory used at: devel_boot()=0.56 MB, devel_shutdown()=2.86 MB, PHP peak=2 MB.

DON'T TRY TO SPIN THIS UP ON YOUR CURRENT WORK PRODUCTION MACHINE.

This is should only be used for testing the future. 

Author: 
Original Post: 

About Drupal Sun

Drupal Sun is an Evolving Web project. It allows you to:

  • Do full-text search on all the articles in Drupal Planet (thanks to Apache Solr)
  • Facet based on tags, author, or feed
  • Flip through articles quickly (with j/k or arrow keys) to find what you're interested in
  • View the entire article text inline, or in the context of the site where it was created

See the blog post at Evolving Web

Evolving Web