Mountain LionからはWEB共有がなくなってしまっていて、 ローカル環境にてクリックぽちでPHPの動作を検証することができなくなってしまった。 ローカル環境にてPHPを動かす方法です。 Mountain LionでApacheとPHPを動かす方法Apacheの起動[1]ターミナル.app(アプリケーション > ユーティリティ)を起動して $ sudo apachectl start を打つ。 起動の確認。 ブラウザを立ち上げて http://localhost/ にアクセスすると「It works!」が表示される。 ここで表示されるファイルは/Library/WebServer/Documents/index.html.en この階層がドキュメントルートになる。 ファイルの編集をしたりファイルを追加する場合は Documentsフォルダの権限を変える。 権限はFinderの「情報
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く