PHP scripts are not working on 1.7.2

Problems with the Windows version of XAMPP, questions, comments, and anything related.

PHP scripts are not working on 1.7.2

Postby etay2k » 16. August 2009 20:59

Hello

I have installed XAMPP many times , but with the newest version, I just can't run PHP scripts on htdocs folder. Only the localhost homepage scripts and phpmyadmin work. The stats even say that PHP is activated. Anyway, When I try to run scripts inside htdocs , I get the code itself on the source while the page is blank. I checked php.ini and httpd, and they both look fine.

I also tried to uninstall completely and reinstall (by erasing the whole folder) , same problem.

:?:
etay2k
 
Posts: 3
Joined: 16. August 2009 20:53

Re: PHP scripts are not working on 1.7.2

Postby Nobbie » 16. August 2009 21:53

>When I try to run scripts inside htdocs , I get the code itself on the source while the page is blank.

The index.php of Xampp is also inside htdocs, and as you told before, localhost scripts are running - a certain contradiction.

What do you enter in the browser to start your own scripts (URL)?

Does your script start with full tag "<?php" or only with short tag "<?"? Short tag is not activated in php.ini per default
Nobbie
 
Posts: 8765
Joined: 09. March 2008 13:04

Re: PHP scripts are not working on 1.7.2

Postby etay2k » 17. August 2009 04:34

Ops, yeah, I always use the short tag. Where do I set it up?
etay2k
 
Posts: 3
Joined: 16. August 2009 20:53

Re: PHP scripts are not working on 1.7.2

Postby Nobbie » 17. August 2009 08:39

etay2k wrote:Ops, yeah, I always use the short tag. Where do I set it up?


In php.ini (as i already said) - whereelse?
Nobbie
 
Posts: 8765
Joined: 09. March 2008 13:04

Re: PHP scripts are not working on 1.7.2

Postby etay2k » 17. August 2009 15:33

it's a pretty long one (I understood you meant to it), nevermind, found it.
etay2k
 
Posts: 3
Joined: 16. August 2009 20:53


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 67 guests