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 October 11th, 2002, 07:46 AM
nikolaoscy nikolaoscy is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 40 nikolaoscy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
WindowsXP and PHP

i have windowsXP and IIS 5.x i installed PHP 4.2.3 in my machine but when i open my browser and i type http://localhost/something.php i got an error message saying that i cannot view the page for security reasons.Does anyone tried to installed PHP in Xp and knows what i have to do.

Thanks

Reply With Quote
  #2  
Old October 11th, 2002, 11:23 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: WindowsXP and PHP

Can you view normal html pages? How did you install PHP? Did you use the installer or did you get the zip file and manually configure?

Reply With Quote
  #3  
Old October 11th, 2002, 03:09 PM
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: WindowsXP and PHP

i use the zip file.yes i can view html.if you mean that if i proprely install IIS i did because i can run asp pages.

this is the thing that i get when i run php pages.


Security Alert! The PHP CGI cannot be accessed directly.
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive.

For more information as to why this behaviour exists, see the manual page for CGI security.

For more information about changing this behaviour or re-enabling this webserver, consult the installation file that came with this distribution, or visit the manual page.

Reply With Quote
  #4  
Old October 11th, 2002, 03:23 PM
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: WindowsXP and PHP

Tips for Installing php4 on Win2k Server with IIS5
It took a bit of time to get php setup and working this is how i set it up.
1 Download the php4.x windows version zip file, unzip all the files to a new
directory called c:/php
2 setup access rights for the Isuer account on the c:/php directory
(IIS needs this to run php.exe)
3 copy the .dll files from the php/dll folder to winnt/system32
4 rename the "php.ini-dist" file in c:/php to be "php.ini"
note - this is a development config only - dont use on a public web site !
5 open php/ini with notepad and goto the "paths & directory" section,
change the line "; cgi.force_redirect = 1" to "cgi.force_redirect = 0"
note- do not insert the " marks - these are for reference.
6 save the "php.ini" file to c:/winnt , this is the default path that php.exe is setup
to look for it.
7 setup access rights for the Isuer account on the php.ini file (only that file not
the entire winnt directory !)
8 goto Administrive tools - Internet Services Manger - select your site and right
click - properties - Home Directory tab - and click configuration
add a new extension called "php" then add the executable path i.e. c:/php/php.exe
9 goto Administrive tools - Internet Services Manger - select your site and right
click - all tasks - permissions wizzard - and set wizzard to allow script running on your site.
10 add a test script to your site with a .php extension and run it to test.

Reply With Quote
  #5  
Old October 11th, 2002, 04:12 PM
nikolaoscy nikolaoscy is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 40 nikolaoscy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: WindowsXP and PHP

1-2 questios my friend

i have to copy all dll files to windows directory?
2)i cannot find permissions wizard on Xp

Reply With Quote
  #6  
Old October 11th, 2002, 04:24 PM
nikolaoscy nikolaoscy is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 40 nikolaoscy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: WindowsXP and PHP

ok it work
Thank you mate

Reply With Quote
  #7  
Old February 26th, 2003, 04:34 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: RE: WindowsXP and PHP

Hello,

Thanks for the help, but The instructions you gave were the same asthe help file. If it wasn't installed correctly we wouldn't get the security message. So it i just a simple config setting somewhere. I am getting the same problem too. Any ideas of other things to check?
Thankxs

Reply With Quote
  #8  
Old March 7th, 2003, 02:19 PM
ld ld is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Malaysia
Posts: 3 ld User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to ld
RE: WindowsXP and PHP

I also got same error. But my problem is that i don't have the access on php.ini in my website. Any other way to resolve the error without changing the php.ini?

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > WindowsXP and PHP


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 3 hosted by Hostway