Doc #64494 [Opn->Fbk]: Can't get PHP to act like it's installed
| From: | pasindu@php.net | Date: | Wed, 22 Apr 2015 15:03:39 +0000 |
| Subject: | Doc #64494 [Opn->Fbk]: Can't get PHP to act like it's installed | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-12227@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=64494&edit=1
ID: 64494
Updated by: pasindu@php.net
Reported by: jeffjohnson at cox dot net
Summary: Can't get PHP to act like it's installed
-Status: Open
+Status: Feedback
Type: Documentation Problem
Package: Documentation problem
Operating System: Windows 7
PHP Version: 5.4.13
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2013-03-25 21:45:41] mail+php at requinix dot net
5.3 doesn't have a .msi installer... apparently... yet?... just the .zips, so
the "Windows Installer" method won't work.
There's a page specifically for installing on IIS 7. Have you seen that yet?
http://www.php.net/manual/en/install.windows.iis7.php
1. Enable FastCGI support*
2. Follow the "Manual Installation Steps"
3. Create a handler for PHP*
4. Fiddle with permissions and other settings (IIS <3)
* Those are the two big steps you (seem to be) missing. Without those you just
have a stock IIS installation.
------------------------------------------------------------------------
[2013-03-22 23:00:46] jeffjohnson at cox dot net
Description:
------------
---
From manual page: http://www.php.net/install.windows.installer.msi
---
I've attempted to follow both the "Normal Install" and the "Manual Installation
Steps". As yet phpinfo() yields no output. In fact when it is in a *.php file, IE can't
even find/open it. Seems like something is missing in doc.
Background:
(1) I chose the recommended download for Windows 7, the VC9 x86 Non Thread Safe (2013-Mar-15
04:08:07).
(2) I'm trying to install with IIS and FastCGI
(3) IIS does serve general *.htm sites
Specific issues:
(A) Under "Normal Install" instructions, there is a place where I am to "Run the MSI
installer and follow the instructions provided by the installation wizard". There is no
obvious way to run it. Using, Start - Run - msiexec.exe simply presents a help screen. No *.msi
file appears to be provided with the download = stuck.
(B) Using "Manual Installation", I made the changes in "Test Script", and also
followed all the directions for configuration.
Since I haven't figured this out yet, I have no suggestions on how to fix.
Jeff
Test script:
---------------
changes to the php.ini-development file:
584c584
< ;error_log = php_errors.log
---
> error_log = c:\inetpub\temp\php_errors.log
719c719
< doc_root =
---
> doc_root = "c:\Inetpub\wwwroot"
730c730
< ; extension_dir = "ext"
---
> extension_dir = "c:\php\ext"
743c743
< ;cgi.force_redirect = 1
---
> cgi.force_redirect = 0
763c763
< ;cgi.fix_pathinfo=1
---
> cgi.fix_pathinfo=1
771c771
< ;fastcgi.impersonate = 1
---
> fastcgi.impersonate = 1
775c775
< ;fastcgi.logging = 0
---
> fastcgi.logging = 0
880c880
< ;extension=php_mysql.dll
---
> extension=php_mysql.dll
Expected result:
----------------
Normal phpinfo() output
Actual result:
--------------
blank
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64494&edit=1