php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #64494 Can't get PHP to act like it's installed
Submitted: 2013-03-22 23:00 UTC Modified: 2015-05-03 04:22 UTC
From: jeffjohnson at cox dot net Assigned:
Status: No Feedback Package: Documentation problem
PHP Version: 5.4.13 OS: Windows 7
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jeffjohnson at cox dot net
New email:
PHP Version: OS:

 

 [2013-03-22 23:00 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-03-25 21:45 UTC] 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.
 [2015-04-22 15:03 UTC] pasindu@php.net
-Status: Open +Status: Feedback
 [2015-05-03 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 10:01:29 2024 UTC