|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
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
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
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! |
|
#3
|
|||
|
|||
|
RE: Xamp PHP works local host, htodocs no
I forgot to log-in.last post was mine of course.
|
|
#4
|
|||
|
|||
|
RE: Xamp PHP works local host, htodocs no
I took out Xampp and put in WAMP and it works fine.
|
|
#5
|
|||
|
|||
|
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 |
|
#6
|
|||
|
|||
|
RE: Xamp PHP works local host, htodocs no
I'm still getting "Something is wrong with the XAMPP installation :-("
any help would be appreciated!!! |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > Xamp PHP works local host htodocs no |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|