Arduino web server and PHP

I think you're going to find it pretty difficult to write a PHP-interpreter that works in less than 2K of RAM.