I don't know if you can use it locally.
I would imagine you could if you used a URL like:
localhost/test.php
but you would have to be on the machine that has the PHP module installed.
But I don't know for sure.
You can test pages locally with ColdFusion (when you are on that machine)
so i'd imagine its somehow possible with php
You'd just have to "trick" the PHP parser.
You might want to start anew thread asking π
I do all my PHP testing from a remote server.
It's tedious to always havce to load pages
but I don't just do PHP development so the flexiblity is nice
And my machine doesn't have a web server on it.
BTW, you might want to contact the University's SysAdmin and let him know that his/her PHP Parser is acting a little strange.
Your test page works like a charm,
so i don't know what the problem could be?