XAMPP for Windows
コンピューターにインストールしました。起動して状態を確認したところ、PHP
起動しているとのことでした。次に、次のディレクトリに移動し、次C:\inetpub\wwwroot
のファイル名phpinfo.php
を作成しました。
<?php phpinfo(); ?>
次に、Webブラウザを開いて(試しInternet Explorer
てみGoogle Chrome
ました)、次のように入力しました。
http://localhost/phpinfo.php
アドレスバーにあります。次のエラーが発生しました:
Object not found! The requested URL was not found on this server.
If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404 localhost 11/10/12 10:03:28 Apache/2.2.21 (Win32)
mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1**
入力http://localhost/
するだけで問題ありませんXAMPP startup page
。
私は自分phpinfo.php
が正しいディレクトリにいることを2回および3回チェックし、他に何が間違っている可能性があるかについて迷っています。