PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old September 26th, 2003, 11:51 AM
beeman81 beeman81 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Jakobstad, Finland
Posts: 59 beeman81 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
php with IIS

I'm having problems setting up php on my new computer (WinXP pro).

when I run the file test.php
php Code:
Original - php Code
  1. <?php phpinfo(); ?>
I just get a line in my browser <?php phpinfo(); ?> just as I would have written it in html (it just comes up as a line of text.

I added the php extension to the application configuration in IIS. At the same time ASP applications run just fine.

I think it's something with IIS? Anyone know what the problem is?

Reply With Quote
  #2  
Old September 26th, 2003, 01:05 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: php with IIS

I have php running fine on XP pro/IIS...what version of PHP are you running and have you set it up as and isapi mopdule or CGI?

Reply With Quote
  #3  
Old September 26th, 2003, 09:11 PM
beeman81 beeman81 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Jakobstad, Finland
Posts: 59 beeman81 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: php with IIS

I downloaded the lates version today (4.3.3 it think it is...)

"have you set it up as and isapi mopdule or CGI?"
-Actually I'm not sure. If to any help, I set up almost all the default values, at least none that had to do anything to do with what you mentioned.

I followed a step by step procedure... this is from my teachers homepage: http://www.enges.org/phpkurs/default2.php
(swedish, sorry - but you might make something out of it)

Reply With Quote
  #4  
Old September 26th, 2003, 10:25 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: php with IIS

based on my limited knowledge of the Swedish language (actually I couldn't read the text but luckily, swedish pictures are the same as english ones...) It looks like you have set it up as a CGI installation. What you need to do is check your php.ini file to make sure the cgi.force_redirect setting is set to 0 (zero) also, there is a file in the php installation directory (usually c:php) for a file called install.txt, this has installation instructions in it as well and might have additional install info in it.

Reply With Quote
  #5  
Old October 18th, 2006, 11:01 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: php with IIS

just remove the ; in your code and try once, if it wont work try with reinstalling php with installer version.

Reply With Quote
  #6  
Old October 30th, 2006, 08:12 AM
chirayu chirayu is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Baroda,Gujarat,India
Posts: 7 chirayu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to chirayu Send a message via Yahoo to chirayu
RE: php with IIS


Well you are missing the echo keyword.
<?php echo phpinfo(); ?>

Reply With Quote
  #7  
Old November 14th, 2006, 05:38 AM
trippleweb's Avatar
trippleweb trippleweb is offline
Contributing User
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Victoria, BC, Canada
Posts: 702 trippleweb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 25 m 54 sec
Reputation Power: 2
RE: php with IIS

No, you do not need to echo first.

Reply With Quote
  #8  
Old November 15th, 2006, 03:55 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: php with IIS

Thank you! I'm very satisfied with http://wizwebhost.com , the speed and stable conditions, of course the technical support is great and the professional plan with http://wizwebhost.com is extremely affordable and supported with a lot of features and reasonable prices.

Gary Smith

Reply With Quote
  #9  
Old November 15th, 2006, 06:40 AM
IAmALlama IAmALlama is offline
Me
Click here for more information. Click here for more information
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 991 IAmALlama User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 20 h 4 m 37 sec
Reputation Power: 2
RE: php with IIS

as trippleweb said, you don't need echo with phpinfo(). and I suggest just using the .exe installer, it is MUCH easier to work with for windows than a manual install.

Reply With Quote
  #10  
Old November 16th, 2006, 07:05 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: php with IIS

You all should probably take a look at the date of the post you are replying to. That was a thread from 2003...

As to the new 2006 posts -

The semi-colon in the original code is correct syntax. Because there is a closing ?> php tag immediately following the statement, it is permitted to leave the semi-colon off, but it is not required.

You don't put an echo before a phpinfo() statement.

The .exe installer for PHP does not include any of the extensions and is more trouble than it is worth.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > php with IIS


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway