Skip to content

Instantly share code, notes, and snippets.

@tomoemon
Created August 13, 2012 07:08
Show Gist options
  • Save tomoemon/3337639 to your computer and use it in GitHub Desktop.
Save tomoemon/3337639 to your computer and use it in GitHub Desktop.
PHP5.4+apache2のインストール
http://grow.pe/dojo/tips/52/Ubuntu%E3%81%ABapt-get%E3%81%A7PHP54%E3%82%92%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%99%E3%82%8B%E6%89%8B%E9%A0%86/
sudo apt-get install php5
sudo apt-get install apache2
sudo apt-get install libapache2-mod-php5
sudo apt-get install php5-mysql
# mysql はバイナリインストール(apt-getで入れても良い気がする)
# php本家を apt-get で入れたら、他の関係モジュールも apt-get で入れること。pdo を pecl で入れようとしたらエラー頻発でわけわからんことになった。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment