ID:               34083
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mikerob818 at cs dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Documentation problem
 Operating System: Windows 98
 PHP Version:      Irrelevant
 New Comment:

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


Previous Comments:
------------------------------------------------------------------------

[2005-08-11 19:35:37] 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.







------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=34083&edit=1

Reply via email to