FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » setup php, win 7
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: setup php, win 7 [message #173787 is a reply to message #173768] Wed, 04 May 2011 23:36 Go to previous messageGo to previous message
Twayne is currently offline  Twayne
Messages: 135
Registered: September 2010
Karma:
Senior Member
In news:4dc0b338$0$9101$607ed4bc(at)cv(dot)net,
Aleks Kleyn <AleksKleyn(at)OptOnline(dot)net> typed:
> 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?
>
>
> "Jerry Stuckle" <jstucklex(at)attglobal(dot)net> wrote in message
> news:ipq768$h6s$1(at)dont-email(dot)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
>>
>>
>>
>> --
>> ==================
>> Remove the "x" from my email address
>> Jerry Stuckle
>> JDS Computer Training Corp.
>> jstucklex(at)attglobal(dot)net
>> ==================

You:
1. Didn't save the page with a .php extension but used .html?
2. You didn't feed it to a server? Either locally or remotely.

Those seem to be the most common newbie reasons IME.

HTH,

Twayne`
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Stats comp.lang.php (last 7 days)
Next Topic: haii
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 20:26:30 GMT 2024

Total time taken to generate the page: 0.04168 seconds