Page 1 of 1

PHP scripts are not working on 1.7.2

PostPosted: 16. August 2009 20:59
by etay2k
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.

:?:

Re: PHP scripts are not working on 1.7.2

PostPosted: 16. August 2009 21:53
by Nobbie
>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

Re: PHP scripts are not working on 1.7.2

PostPosted: 17. August 2009 04:34
by etay2k
Ops, yeah, I always use the short tag. Where do I set it up?

Re: PHP scripts are not working on 1.7.2

PostPosted: 17. August 2009 08:39
by Nobbie
etay2k wrote:Ops, yeah, I always use the short tag. Where do I set it up?


In php.ini (as i already said) - whereelse?

Re: PHP scripts are not working on 1.7.2

PostPosted: 17. August 2009 15:33
by etay2k
it's a pretty long one (I understood you meant to it), nevermind, found it.