Hi and thanks for stopping by.
I have read Weird Apache problem with file, I have read
Weird Apache problem with file
...and its not the problem
Setup
single XAMPP installation on Windows, single windows user, 2HD, 1 is a portable USB.
All is fine, until I move the xampp to new portable HD
Symptom
Old php files - works fine, new one doesnt
http://127.0.0.1/Ajax/index.php - yay
http://127.0.0.1/test2/t.php - display the source code
http://127.0.0.1/Ajax/test2/t.php - display the source code
http://127.0.0.1/Ajax/t.php - display the source code
Extra Info
IIS+MS Web Development stuff, .NET4, Asp, etc is being installed and still hast reboot yet.
.htaccess also seems doesnt work
Apache2 conf file was modified to Averride All and still it doesnt care.
One of the directory supposed to treat .htm as php yet got text, created another directory and edit a phpinfo, still another text, browse to phpmyadmin, viola, works fine
Suspect
Does Apache honour XP security and permission ? If so, this is a single user computer.
Does Apache dont like my new hard disk/new place ? Why it doesnt execute the php in new directory but happily execute in old folder ?
Thanks for the riddle answers