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:
- Apache 2.4 server
- [MySQL 5.6] (https://dev.mysql.com/downloads/mysql/)
- [PHP 7] (http://php.net/downloads.php)
- [VirtualBox] (https://www.virtualbox.org/)
####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
- [PHP 7 Programming Cookbook] (https://www.packtpub.com/application-development/php-7-programming-cookbook?utm_source=Github&utm_medium=Repository&utm_campaign=9781785883446)
- [Learning PHP 7 [Video]] (https://www.packtpub.com/web-development/learning-php-7-video?utm_source=Github&utm_medium=Repository&utm_campaign=9781785883156)
- [Learning PHP 7] (https://www.packtpub.com/application-development/learning-php-7?utm_source=Github&utm_medium=Repository&utm_campaign=9781785880544)