・ When I want to develop it by myself, I create a gonyo gonyo environment with basic Vagrant. (Since it has become a rut, I wonder if I will do something like Docker from now on ...) ・ It is a memorandum at that time, for myself. For those who want to make it quickly.
Vagrant ・ In an appropriate directory
vagrant init centos/7
#Comment out the following in vi Vagrantfile
config.vm.network "private_network", ip: "192.168.33.10"
vagrant up
vagrant ssh
# sshd_If you want to do config or SELinux, do it
Apache
#Apache installation
sudo yum install httpd
#Apache startup and confirmation
service httpd start
service httpd status
PHP5.4
#PHP installation, modules as needed
sudo yum install --enablerepo=remi,remi-php56 php php-mbstring php-mcrypt php-mysql php-pdo php-xml php-mysql
MySQL
#MySQL installation
sudo yum -y install http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm
sudo yum -y install mysql-community-server
# Apache
httpd -v
# PHP
php -v
# MySQL
mysql -v
http://192.168.33.10/
Check with the browser with the IP set like this, OK if you can transition to the Apache screen or PHP screen