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 12th, 2006, 07:46 PM
skorpeo skorpeo is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Colorado Springs<CO,USA
Posts: 6 skorpeo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Xamp PHP works local host, htodocs no

OS XP
PHP 5

I just installed Xampp on my computer.

When I type in http://localhost/xampp/ or https://127.0.0.1/xampp/ I get A Xampp for windows page. This page tells me I have successfully installed Xampp on my Comp. It also leads to the php(info) page on my Comp, which looks fine.

When i try to run the index.html in my Xamp htdocs it works fine. But when I try and run the index.php file it says "Something is wrong with the XAMPP installation :-(".

Here is the code for index.php
[c]
<?php
if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
$uri = 'https://';
} else {
$uri = 'http://';
}
$uri .= $_SERVER['HTTP_HOST'];
header('Location: '.$uri.'/xampp/');
exit;
?>
Something is wrong with the XAMPP installation :-(
[/c]

my php scripts in an old htdocs file do not work either.

Any help would certainly be appreciated.



Reply With Quote
  #2  
Old October 13th, 2006, 03:25 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: Xamp PHP works local host htodocs no

I've been working on setting the path. When I put it to serverxamppphp nothing changed. But if I added php.ini the htdocs files could not be found.
Still working away!

Reply With Quote
  #3  
Old October 13th, 2006, 03:27 AM
skorpeo skorpeo is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Colorado Springs<CO,USA
Posts: 6 skorpeo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Xamp PHP works local host, htodocs no

I forgot to log-in.last post was mine of course.

Reply With Quote
  #4  
Old October 18th, 2006, 06:48 PM
skorpeo skorpeo is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Colorado Springs<CO,USA
Posts: 6 skorpeo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Xamp PHP works local host, htodocs no

I took out Xampp and put in WAMP and it works fine.

Reply With Quote
  #5  
Old October 18th, 2006, 06:54 PM
desrtfx desrtfx is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Sometimes Austria, sometimes Sahara
Posts: 27 desrtfx User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 sec
Reputation Power: 0
RE: Xamp PHP works local host, htodocs no

Question: Which XAMPP did you install? The .exe or .zip package?
If you used the .zip package (or the .7z) you have to run setup_xampp.bat after unpacking.

I have been successfully using xampp since more than a year and never had a similar problem.

Regards,
desrtfx

Reply With Quote
  #6  
Old January 11th, 2007, 06:51 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: Xamp PHP works local host, htodocs no

I'm still getting "Something is wrong with the XAMPP installation :-("
any help would be appreciated!!!

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > Xamp PHP works local host htodocs no


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