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:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old January 25th, 2004, 01:48 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
Strange, Strange Problem

I've been trying to install PHP4 and Apache 1.3 on a Windows XP Home box, and everything seemed to go as it should. Apache works fine, and PHP tells me its working fine. Except it doesn't. My code won't parse. The source highlighting works dandy, but the code won't parse. Anyone heard of a problem like this?

Reply With Quote
  #2  
Old January 25th, 2004, 02:25 AM
nawlej nawlej is offline
Contributing User
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Dallas, Tx. USA
Posts: 2,008 nawlej User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 7 m 51 sec
Reputation Power: 4
RE: Strange, Strange Problem

what kind of extension does the filename your using have? make sure it is included in your .inc file.

Reply With Quote
  #3  
Old January 25th, 2004, 05:40 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: Strange, Strange Problem

extension is .php

I never checked that, I guess I just assumed it would automatically be in there o_0

:: goes to check ::

Reply With Quote
  #4  
Old January 25th, 2004, 05:42 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: Strange, Strange Problem

Upon further inspection....


.inc file what when where now?

Reply With Quote
  #5  
Old January 25th, 2004, 07:28 AM
nawlej nawlej is offline
Contributing User
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Dallas, Tx. USA
Posts: 2,008 nawlej User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 7 m 51 sec
Reputation Power: 4
RE: Strange, Strange Problem

which release of php4?

Reply With Quote
  #6  
Old January 25th, 2004, 08:14 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: Strange, Strange Problem

PHP 4.3.4

Reply With Quote
  #7  
Old January 31st, 2004, 06:09 PM
DeeBs DeeBs is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 3 DeeBs User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Strange, Strange Problem

Does anyone know?

Reply With Quote
  #8  
Old January 31st, 2004, 06:17 PM
DeeBs DeeBs is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 3 DeeBs User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Strange, Strange Problem

URL

Here's a look-see.

Reply With Quote
  #9  
Old January 31st, 2004, 07:28 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: Strange, Strange Problem

If you are using the same extension for the source highlighting application type as you are for the regular php application type, then the second one listed in the httpd.conf file will be used. for example, if they are listed in this order in the file and the extension is the same.

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

you will only see the source highlighting.

if they are listed in this order...
AddType application/x-httpd-php-source .php
AddType application/x-httpd-php .php

then the php will parse correctly.

Change the extension of the source highlighting to .phps as it recommends in the install.txt file and your problem should be solved.

Reply With Quote
  #10  
Old February 1st, 2004, 04:21 AM
DeeBs DeeBs is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 3 DeeBs User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Strange, Strange Problem

Through an uninstall of both php and apache, and reinstalling, doing the ecaxt same thing I did the first time, it works. Did nothing different, but this time it works.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > Strange, Strange Problem


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