PHP not resolving tags

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

PHP not resolving tags

Postby tabman711 » 04. February 2011 08:15

Hi
Sorry if this has already been covered but XAMPP is running and reports PHP is Activated and the phpinfo() page works fine but even the simply test php application does not work.
test.php
<html>
<head>
</head>
<body>
<? phpinfo(); ?>
</body>
</html>

I have tried in Sites and htcdocs and i get zero.
What am i doing wrong?
Steve
tabman711
 
Posts: 3
Joined: 04. February 2011 08:08

Re: PHP not resolving tags

Postby Nobbie » 04. February 2011 09:58

tabman711 wrote:What am i doing wrong?


Du schreibst im deutschen Forum.

Ansonsten: short_open_tag
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: PHP not resolving tags

Postby coreytrice » 03. March 2011 04:10

Have you tried using the full PHP opening tag?
Code: Select all
<?php
instead of the short tag
Code: Select all
<?


Did you make sure that you've saved it with the proper file extension? Is it saved as a .php file?
coreytrice
 
Posts: 3
Joined: 03. March 2011 03:37

Re: PHP not resolving tags

Postby wideEyedPupil » 28. March 2011 10:53

I have exactly the same problem OS X Leopard ( 10.5.8 )
wideEyedPupil
 
Posts: 7
Joined: 23. March 2011 05:20


Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 8 guests