1. installation

curl -s http://d01cid.ddns.net/sharel/bin/inst-httpd | sh

2. what did i do?

yum -y install httpd php php-mysql

2.1. configuration

cfgfile="/etc/php.ini"
oldstring="error_reporting  =  E_ALL"
newstring="error_reporting  = E_ALL & ~E_NOTICE"
cube ${cfgfile} "${oldstring}" with "${newstring}"
cube ${cfgfile} "memory_limit = 16M" with "memory_limit = 32M"
cube ${cfgfile} ";date.timezone ="                  with "date.timezone = \"Europe/Berlin\""
cube ${cfgfile} ";date.default_latitude = 31.7667"  with "date.default_latitude = 52.5194"
cube ${cfgfile} ";date.default_longitude = 35.2333" with "date.default_longitude = 13.4067"
systemctl enable httpd.service
systemctl start httpd.service