All Projects → PacktPublishing → Modular-Programming-with-PHP7

PacktPublishing / Modular-Programming-with-PHP7

Licence: MIT license
Code Repository for Modular Programming with PHP 7, published by Packt

Programming Languages

PHP
23972 projects - #3 most used programming language
Twig
543 projects

Modular-Programming-with-PHP-7

You can read more at [Modular-Programming-with-PHP-7] (https://www.packtpub.com/application-development/modular-programming-php-7?utm_source=Github&utm_medium=repository&utm_campaign=9781786462954)

Instructions

This step-by-step guide is divided into two sections. The first section explores all the fundamentals of modular design technique with respect to PHP 7. The latter section demonstrates the practical development of individual modules of a web shop application.

###Software and Hardware:

####Detailed installation steps (software-wise) Following console instructions apply on setting up PHP, Apache, MySQL.

  • Install PHP 7
 $ sudo apt-get install python-software-properties
 $ sudo add-apt-repository ppa:ondrej/php
 $ sudo apt-get update
 $ sudo apt-get install -y php7.0
  • Install Apache 2.4
 $ sudo add-apt-repository ppa:ondrej/apache2
 $ sudo apt-get update
 $ sudo apt-get install apache2
  • Install MySQL 5.6
 $ sudo add-apt-repository -y ppa:ondrej/mysql-5.6
 $ sudo apt-get update
 $ sudo apt-get install mysql-server-5.6
  • Optionally install additional PHP modules
 Search for all modules: $ sudo apt-cache search php7-*
 install specific ones: $ sudo apt-get install libapache2-mod-php7.0 php7.0-mysql php7.0-curl

##Related PHP 7 Books and Videos

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].