SunQuest
           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 January 25th, 2004, 05:53 PM
shnackattack shnackattack is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 60 shnackattack User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
php doesn't work

Hey

At the end of php4.3.4 installation, the window pops up saying that it cannot find c:WINNTsystem32iisext.vbs (or one of its components). When i go to http://localhost/test.php it comes up with the "Page Cannot be Displayed".
test.php cantains: <?php phpinfo() ?>
During the installation i've set php to configure for IIS6 or higher.

Can anyone help?

Thanks

Reply With Quote
  #2  
Old January 25th, 2004, 07:45 PM
Andrew's Avatar
Andrew Andrew is offline
Moderator
Click here for more information
 
Join Date: Apr 2007
Location: United Kingdom
Posts: 1,935 Andrew User rank is Private First Class (20 - 50 Reputation Level)Andrew User rank is Private First Class (20 - 50 Reputation Level)  Folding Points: 2429 Folding Title: Novice Folder
Time spent in forums: 4 Days 1 h 52 m 57 sec
Reputation Power: 3
Orkut
RE: php doesn't work

make sure you have apache running or whatever server software you use.

Reply With Quote
  #3  
Old January 25th, 2004, 08:17 PM
shnackattack shnackattack is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 60 shnackattack User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: php doesn't work

I use IIS and it works fine. I've tried it with the html file and it worked. I think it something to do with the php.

Reply With Quote
  #4  
Old January 25th, 2004, 09:11 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 doesn't work

is the test.php file located in the root folder of the web server? You would get a page cannot be displayed if IIS cannot find the file. If php is not working and IIS finds the file it would just output the contents of the file...in your case you would see <?php phpinfo() ?> displayed in the browser.

Reply With Quote
  #5  
Old January 25th, 2004, 09:42 PM
shnackattack shnackattack is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 60 shnackattack User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: php doesn't work

test.php is in the web root directory (c:Inetpubwwwroot)

Reply With Quote
  #6  
Old January 26th, 2004, 12:14 AM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: php doesn't work

Is PHP installed as a CGI? if it is it, the file has to be in an exec directory. Put it in the cgi bin and see if it works.

Reply With Quote
  #7  
Old January 26th, 2004, 06:55 PM
shnackattack shnackattack is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 60 shnackattack User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: php doesn't work

Where is cgi bin? I'm using win2k sever and i did normal php installtion, i don't know if php is installed as CGI.

Reply With Quote
  #8  
Old January 26th, 2004, 07:10 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: php doesn't work

Do you have something where your html documents go, in there should be a directory like cgi-bin or something like that. Put it in that and change the permissions to 755.

I have never played with a windows server before so I am guessing a little on locations. Sorry,

Reply With Quote
  #9  
Old January 26th, 2004, 07:35 PM
shnackattack shnackattack is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 60 shnackattack User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: php doesn't work

Ha!

I managed to get it to work. Typical!
When i saved the file test.php in notepad, "Save as type" window said *.txt. When i choose "All Files" instead of default "*.txt", it worked. It can see that it is a php file when u choose "All Files" in the "Save as type".

Thanks for all the help

Reply With Quote
  #10  
Old January 26th, 2004, 07:56 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: php doesn't work

I just love windows...

Reply With Quote
  #11  
Old January 27th, 2004, 12:48 AM
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 doesn't work

If you want to use notepad to edit files other than text files and save a file to a specific extension other than .txt , you have to enclose the filename in quotes (e.i. "myfile.php") in the save as dialog box.

Reply With Quote
  #12  
Old January 27th, 2004, 08:40 PM
Andrew's Avatar
Andrew Andrew is offline
Moderator
Click here for more information
 
Join Date: Apr 2007
Location: United Kingdom
Posts: 1,935 Andrew User rank is Private First Class (20 - 50 Reputation Level)Andrew User rank is Private First Class (20 - 50 Reputation Level)  Folding Points: 2429 Folding Title: Novice Folder
Time spent in forums: 4 Days 1 h 52 m 57 sec
Reputation Power: 3
Orkut
RE: RE: php doesn't work


Quote:
I just love windows...


i dont like windows for doing that because if i try making a .sql file containing queries it changes it to run.sql.txt every time and you cant remove the .txt to i have to ftp it then change it. I dont like windows im going to change to linux soon.

Reply With Quote
  #13  
Old January 29th, 2004, 07:39 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 doesn't work

Like I stated in my post, enclose the filename and extension in quotes and the .txt extension will not be added to the filename. Switching operating systems for this reason alone seems pretty drastic if you ask me...

Reply With Quote
  #14  
Old January 30th, 2004, 06:15 AM
Andrew's Avatar
Andrew Andrew is offline
Moderator
Click here for more information
 
Join Date: Apr 2007
Location: United Kingdom
Posts: 1,935 Andrew User rank is Private First Class (20 - 50 Reputation Level)Andrew User rank is Private First Class (20 - 50 Reputation Level)  Folding Points: 2429 Folding Title: Novice Folder
Time spent in forums: 4 Days 1 h 52 m 57 sec
Reputation Power: 3
Orkut
RE: php doesn't work

ok thanks for the tip blindeddie.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > php doesn't work


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 | 
  
 

IBM developerWorks