Bug #14212: Windows will not let me view phpinfo
| From: | Grilkinmarsu at 124 dot com | Date: | Sat, 24 Nov 2001 20:35:12 +0000 |
| Subject: | Bug #14212: Windows will not let me view phpinfo | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-71543@lists.php.net to get a copy of this message | ||
From: Grilkinmarsu@124.com
Operating system: Windows Me
PHP version: 4.0.6
PHP Bug Type: Apache related
Bug description: Windows will not let me view phpinfo
I created a php script. The only text it had on it was <? phpinfo() ?> i
then put it in Apache's htdoc root directory. I later tried to access it
via my web browser. Everytime I tried, A Windows error would pop up and say
It could not acces the speciefied device, path, or file. Then it would say
i might not have permission to access the item. I'm including the parts of
the main Apache config I edited to install php4.0.6-Win32
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the
client.
# The same rules about trailing "/" apply to ScriptAlias directives as
to
# Alias.
#
ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache/cgi-bin/"
edited-->ScriptAlias /php4/ "C:/php4/"
#
# AddType allows you to tweak mime.types without actually editing it,
or to
# make certain files to be certain types.
#
# For example, the PHP 3.x module (not part of the Apache distribution
- see
# http://www.php.net) will typically use:
#
#AddType application/x-httpd-php3 .phtml
#AddType application/x-httpd-php3-source .phps
edited--> AddType application/x-httpd-php .php .phtml .html
AddType application/x-httpd-php-source .phps<--Editend
#
# Action lets you define media types that will execute a script whenever
# a matching file is called. This eliminates the need for repeated URL
# pathnames for oft-used CGI file processors.
# Format: Action media/type /cgi-script/location
# Format: Action handler-name /cgi-script/location
edited--># Action application/x-httpd-php /php4/php.exe
Hope you guys can help me out!
--
Edit bug report at: http://bugs.php.net/?id=14212&edit=1