Skip to content

Code Repository for Modular Programming with PHP 7, published by Packt

License

Notifications You must be signed in to change notification settings

PacktPublishing/Modular-Programming-with-PHP7

Repository files navigation

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

About

Code Repository for Modular Programming with PHP 7, published by Packt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages