Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Amazon Linux PHP5.5
#!/bin/sh
sudo yum -y remove php php-common php-mysql php-mbstring php-cli php-gd php-soap php-pdo php-xml
sudo yum -y remove httpd httpd httpd-tools
sudo yum -y install httpd24 mod24_ssl
sudo yum -y install php55-common php55-mysqlnd php55-mbstring php55-cli php55-gd php55-soap php55-pdo php55 php55-xml
sed -i -e 's/;date\.timezone =/date\.timezone = "Asia\/Tokyo"/g' /etc/php.ini
sudo chkconfig httpd on
sudo service httpd start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment