php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14212 Windows will not let me view phpinfo
Submitted: 2001-11-24 15:35 UTC Modified: 2001-11-24 18:25 UTC
From: Grilkinmarsu at 124 dot com Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.0.6 OS: Windows Me
Private report: No CVE-ID: None
 [2001-11-24 15:35 UTC] Grilkinmarsu at 124 dot com
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!

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-24 18:25 UTC] sniper@php.net
This is NOT support forum. Ask support questions
on the mailing lists: 

http://www.php.net/support.php

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 23:01:30 2024 UTC