after I install php apache and stuff I start controlling. and one php page was not working but wordpress was working after a small search I found in jessie short_open_tag is actually off. so what you should need to do is find php.ini related and change it to short_open_tag = On if you are using fpm dont forget to restart your php fpm with this command /etc/init.d/php5-fpm restart or service php5-fpm restart