Hi Apache Friends:
Thank You for XAMPP and all of the hard work you put into it.
I installed XAMPP 1.8.2 on a Windows 7 home professional 64 bit platform.
It works fine I was able to code PHP test files.
Because the system i plan to develop will be quite large, I did not want to use the standard c:\XAMPP\htdocs\ directory.
I created a c:\XAMPP Development\ directory to load my files.
I modified the Document root in httpd as follows:
DocumentRoot "C:/XAMPP Development"
<Directory "C:/XAMPP Development">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
</Directory>
All of the straight HTML works fine, but all of the PHP is being ignored.
For example, if I put:
<?php
echo"hello world;
?>
in an HTML file it is silently ignored.
If I call a php file (via a form action=my.php.script" method=POST for example)
I generate a PHP syntax error at the first line of code.
For example :
<?php
$show_form=true;
... ?>
Generates
Parse error: syntax error, unexpected '$show_form' (T_VARIABLE) in C:\XAMPP Development\register.php on line 27
I am guessing I need to adjust another configuration parameter, but I am not sure what or where.
TIA