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 July 16th, 2003, 10:42 PM
rxsid rxsid is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 86 rxsid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
win2ksp4 + php5b1 + apache1.3.27

Hi all,

I current am trying to properly configure my local machine:
win2ksp4 + php5b1 + apache1.3.27

I can't get php code to parse.

I can successfully stop/start apache services and display the default page by http://localhost/

when i put a simple test page in the htdocs dir of apache (or anywhere else for that matter) and try to open in I.E. 6, the php code doesn't parse.

php was downloaded at .zip, rename to the c:/php dir.
apache was downloaded to the default dir.

I added this to the apache httpd.conf file:
ScriptAlias /php/ "c:/php/"

AddType application/x-httpd-php .php .phtml

Action application/x-httpd-php "/php/php.exe"

I stop, then restart apache...still no php parsing.

I am behind a firewall at work (using ports 80,81,443).
Perhaps i need to have apache use another port??

Any suggestions? I believe I've follewed the install instructions to the T.

Thanks

P.S. I've tried php4.3.2 + apache2.xx but that didn't work either.

Reply With Quote
  #2  
Old July 17th, 2003, 12:17 AM
Matt Matt is offline
Moderator
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 10 m 20 sec
Reputation Power: 6
RE: win2ksp4 + php5b1 + apache1.3.27

try loading as a module instead of cgi...

LoadModule php4_module c:/php/sapi/php5pache.dll
AddType application/x-httpd-php .php


but if you do want to go cgi, I think you should be loading php-cgi.exe not php.exe

Reply With Quote
  #3  
Old July 17th, 2003, 06:25 PM
rxsid rxsid is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 86 rxsid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: win2ksp4 + php5b1 + apache1.3.27

to anyone who want's a clean install of php+apache on windows, go here:

http://php.weblogs.com/apache_windows

As it's set up, it installs apache 1.3x & php 4.3.2. I'm running win2000 pc.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > win2ksp4 + php5b1 + apache1.3.27


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