I run Apache and PHP on Windows ME. Apache works correctly, but when I want to view eny .PHP file. The browser returns "The page cannot be found".
What should I do to see .php files?
My httpd.conf is:
ServerType standalone
ServerRoot "d:/apache"
ServerName localhost
DocumentRoot "e:/www"
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "e:/www">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
DirectoryIndex index.php index.php3 index.htm index.html
UseCanonicalName Off
TypesConfig conf/mime.types
DefaultType text/plain
HostnameLookups Off
Alias /icons/ "d:/apache/icons/"
ScriptAlias /php3/ "/php3/"
AddType application/x-httpd-php3 .php
Action application/x-httpd-php3 “/php3/php.exe”
My php3.ini file is:
safe_mode = Off
error_reporting = 7
display_errors = On ; Print out errors (as a part of the HTML script)
log_errors = Off ; Log errors into a log file (server-specific log, stderr, or error_log (below))
track_errors = Off ; Store the last error/warning message in $php_errormsg (boolean)
;error_prepend_string = "<font color=ff0000>" ; string to output before an error message
;error_append_string = "</font>" ; string to output after an error message
error_log = d:/php3/!error.log ; log errors to specified file
;error_log = syslog ; log errors to syslog (Event Log on NT, not valid in Windows 95)
warn_plus_overloading = Off ; warn if the + operator is used with strings
include_path = ; UNIX: "/path1:/path2" Windows: "\path1;\path2"
doc_root = e:\www ; the root of the php pages, used only if nonemptyextension_dir = D:\php3 ; directory in which the loadable extensions (modules) reside
extension=php3_mysql.dll
extension=php3_gd.dll