From: mikerob818 at cs dot com Operating system: Windows 98 PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: PHP Manual: Errors, Inconsistencies, and Omissions
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 bug report at http://bugs.php.net/?id=34083&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34083&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34083&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34083&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34083&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34083&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34083&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34083&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34083&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34083&r=support Expected behavior: http://bugs.php.net/fix.php?id=34083&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34083&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34083&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34083&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34083&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34083&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34083&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34083&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34083&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34083&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34083&r=mysqlcfg