Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #1403

Re: setup php, win 7

From Jerry Stuckle <jstucklex@attglobal.net>
Newsgroups comp.lang.php
Subject Re: setup php, win 7
Date 2011-05-03 22:52 -0400
Organization A noiseless patient Spider
Message-ID <ipqf19$7u8$1@dont-email.me> (permalink)
References <4dc0725b$0$9078$607ed4bc@cv.net> <ipq768$h6s$1@dont-email.me> <4dc0b338$0$9101$607ed4bc@cv.net>

Show all headers | View raw


On 5/3/2011 9:59 PM, Aleks Kleyn wrote:

> "Jerry Stuckle"<jstucklex@attglobal.net>  wrote in message
> news:ipq768$h6s$1@dont-email.me...
>> On 5/3/2011 5:23 PM, Aleks Kleyn wrote:
>>> I downloaded php 5.3.6 from web site
>>> http://us3.php.net/downloads.php . I use windows 7.
>>> Then I tried to follow setup manual.
>>>
>>> I do not see how to setup windows role and role for IIS. I will
>>> appreciate
>>> if somebody will help with this issue.
>>>
>>> Next question. When I start IIS I need to add handle for php-cgi.exe.
>>> However in the set of files that I downloaded I see only one exe file:
>>> tiny.exe. I do not think that this file has any relation to my question.
>>> What can I do?
>>>
>>> Thank you, Aleks Kleyn
>>>
>>>
>>
>> I don't know what you downloaded, but it doesn't sound like PHP.
>>
>> As for installing PHP on IIS as a CGI (don't know why you don't want to
>> install it as a module): Get the PHP package (I generally use the .zip
>> file instead of the installer) and go to:
>>
>>   http://www.lmgtfy.com/?q=php+cgi+iis+install
>>
 > Looking into this code I decided that this is source code for
 > compiler and found bellow link for binaries. it was MSI file which
 > setup everything.
 >
 > Now puting php file into IIS folder I can see it in IE. The only
 > question is.
 >
 > in manual they write it is written that I can embed PHP into html file
 > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
 >      "http://www.w3.org/TR/html4/loose.dtd">
 > <html>
 >      <head>
 >          <title>Example</title>
 >      </head>
 >      <body>
 >
 >   <?php
 >              echo "Hi, I'm a PHP script!<br />";
 >          ?>
 >      </body>
 > </html>
 > But IE shows me empty page and on view code I see original code. What
 > can be reason?
 >
 >

<Top posting fixed>

To execute the PHP code, you must be loading the page from your web 
server (i.e. http://localhost/xxx).  Also, IIS must figure out this is a 
PHP file; generally this is done by using the file extension .php 
instead of .html.

P.S. Please don't top post.  Thanks.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

setup php, win 7 "Aleks Kleyn" <AleksKleyn@OptOnline.net> - 2011-05-03 17:23 -0400
  Re: setup php, win 7 Jerry Stuckle <jstucklex@attglobal.net> - 2011-05-03 20:38 -0400
    Re: setup php, win 7 "Aleks Kleyn" <AleksKleyn@OptOnline.net> - 2011-05-03 21:59 -0400
      Re: setup php, win 7 "P E Schoen" <paul@pstech-inc.com> - 2011-05-03 22:31 -0400
        Re: setup php, win 7 "Twayne" <nobody@devnull.spamcop.net> - 2011-05-04 19:43 -0400
          Re: setup php, win 7 "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2011-05-05 09:43 +0200
            Re: setup php, win 7 Jerry Stuckle <jstucklex@attglobal.net> - 2011-05-05 06:44 -0400
          Re: setup php, win 7 Michael Fesser <netizen@gmx.de> - 2011-05-05 22:38 +0200
            Re: setup php, win 7 "Aleks Kleyn" <AleksKleyn@OptOnline.net> - 2011-05-09 15:02 -0400
              Re: setup php, win 7 Jerry Stuckle <jstucklex@attglobal.net> - 2011-05-09 19:20 -0400
      Re: setup php, win 7 Jerry Stuckle <jstucklex@attglobal.net> - 2011-05-03 22:52 -0400
      Re: setup php, win 7 "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2011-05-04 12:57 +0200
      Re: setup php, win 7 "Twayne" <nobody@devnull.spamcop.net> - 2011-05-04 19:36 -0400
        Re: setup php, win 7 "Aleks Kleyn" <AleksKleyn@OptOnline.net> - 2011-05-09 15:15 -0400
          Re: setup php, win 7 Jerry Stuckle <jstucklex@attglobal.net> - 2011-05-09 19:21 -0400
            Re: setup php, win 7 "Aleks Kleyn" <AleksKleyn@OptOnline.net> - 2011-05-11 11:58 -0400
              Re: setup php, win 7 Jerry Stuckle <jstucklex@attglobal.net> - 2011-05-11 12:32 -0400
                Re: setup php, win 7 "Aleks Kleyn" <AleksKleyn@OptOnline.net> - 2011-05-22 10:38 -0400
                Re: setup php, win 7 Jerry Stuckle <jstucklex@attglobal.net> - 2011-05-22 13:49 -0400
                Re: setup php, win 7 "Aleks Kleyn" <AleksKleyn@OptOnline.net> - 2011-05-23 10:34 -0400
                Re: setup php, win 7 Jerry Stuckle <jstucklex@attglobal.net> - 2011-05-23 14:11 -0400
                Re: setup php, win 7 crankypuss <no@email.thanks> - 2011-05-23 12:38 -0600
                Re: setup php, win 7 Jerry Stuckle <jstucklex@attglobal.net> - 2011-05-23 17:56 -0400

csiph-web