XAMPP + PHPStorm

ちょっとややこしいのでメモ。

http://unformedbuilding.com/articles/xampp-phpstorm-wordpress-setting-memo/

httpd-vhosts.conf

バーチャルホストの設定。C:\xampp\apache\conf\extra\httpd-vhosts.conf を開く。一番最後に次を加える。

```ini NameVirtualHost? *:80

VirtualHost? *:80>

 DocumentRoot "C:/xampp/htdocs"
 ServerName localhost

/VirtualHost?>

VirtualHost? *:80>

 DocumentRoot "C:\Users\fifi\Dropbox\10_GitRepository\weddingmovie.fififactory.com"
 ServerName wp.localhost
 <Directory "C:\Users\fifi\Dropbox\10_GitRepository\weddingmovie.fififactory.com">
   Order allow,deny
   Allow from all
   Require all granted
 </Directory> 

/VirtualHost?> ```

hosts

C:\Windows\System32\drivers\etc\hosts を開く。 最後に次を加える。 ```xml+velocity 127.0.0.1 localhost 127.0.0.1 wp.localhost ``` C:\Users\fifi\Dropbox\10_GitRepository?\weddingmovie.fififactory.comに <?php phpinfo() ?> だけを書いた index.php を置いて、Apache を起動したら http://wp.localhost にアクセスしてちゃんと表示されるか確認。

再読み込み/戻る対処

http://unimakura.jp/php/not-double-post.html

トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS