php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #34083 PHP Manual: Errors, Inconsistencies, and Omissions
Submitted: 2005-08-11 19:35 UTC Modified: 2005-08-12 02:29 UTC
From: mikerob818 at cs dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS: Windows 98
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mikerob818 at cs dot com
New email:
PHP Version: OS:

 

 [2005-08-11 19:35 UTC] mikerob818 at cs dot com
Description:
------------
I think I have gone through the PHP manual thoroughly but still can't get PHP5 to work with Personal Web Server 4.  I have divided this bug report into categories and would appreciate a response.

Thanks,

Robin 
************************
Errors

Microsoft IIS / PWS
Windows and PWS 4
PWS 4 does not support ISAPI, only PHP CGI should be used. 
? In the PWS Manager, right click on a given directory you want to add PHP support to, and select Properties. Check the 'Execute' checkbox, and confirm. 

The instruction should be:

In Personal Web Manager:
   Click View> Advanced
   Click Edit Properties
   Check Execute checkbox
   Click OK
********************************
Inconsistencies

Installation of extensions on Windows
The default location PHP searches for extensions is c:\php4\extensions in PHP 4 and c:\php5 in PHP 5. To change this setting to reflect your setup of PHP edit your php.ini file: 

? You will need to change the extension_dir setting to point to the directory where your extensions lives, or where you have placed your php_*.dll files. Please do not forget the last backslash. For example: 

extension_dir = c:/php/extensions/ 




Microsoft IIS / PWS
General considerations for all installations of PHP with IIS

? Be sure the extension_dir and doc_root PHP directives are appropriately set in php.ini. These directives depend on the system that PHP is being installed on. In PHP 4, the extension_dir is extensions while with PHP 5 it's ext. So, an example PHP 5 extensions_dir value is "c:\php\ext" and an example IIS doc_root value is "c:\Inetpub\wwwroot". 


MySql Functions

Installation on Windows Systems

As with enabling any PHP extension (such as php_mysql.dll), the PHP directive extension_dir should be set to the directory where the PHP extensions are located. An example extension_dir value for PHP 5 is c:\php\ext 

The last 2 sets of instructions for extension_dir  are different from the first set of instructions. (In fact, all 3 are different in that the last instruction doesn't enclose c:\php\ext in quotes.)   In addition, the default location for PHP5 extensions is stated as c:\PHP5 rather than c:\php\ext and there is no explanation for it. 
******************************************
Omissions

Frequently Asked Questions
    5.11

	Windows: I've followed all the instructions, but still can't get PHP and IIS to work together! 
	Make sure any user who needs to run a PHP script has the rights to run php.exe! IIS uses an anonymous user which is added at the time IIS is installed. This user needs rights to php.exe. Also, any authenticated user will also need rights to execute php.exe. And for IIS4 you need to tell it that PHP is a script engine. Also, you will want to read this faq. 

This response doesn't tell the reader how to resolve the problem.  For example, how do you tell IIS4 that PHP is a script engine?

Specifically, I am encountering an HTTP 404 File not Found condition
I am using Personal Web Server 4 and Windows 98.  I haven't seen anything in the documentation that would help me resolve this problem.






Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-08-12 02:29 UTC] dmytton@php.net
It would be helpful to submit each of your issues as a separate bug so we can clearly see what you think should be changed. At the moment it is difficult to what your suggestions are.

For support I suggest you try http://www.php.net/support.php and specifically the Windows PHP users list at http://www.php.net/mailing-lists.php
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 22 13:00:02 2025 UTC