Skip to content

Instantly share code, notes, and snippets.

@oh-sky
Created February 26, 2015 05:44
Show Gist options
  • Save oh-sky/91e9d09aaa14ab1917e2 to your computer and use it in GitHub Desktop.
Save oh-sky/91e9d09aaa14ab1917e2 to your computer and use it in GitHub Desktop.
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