| Subcribe via RSS


INCLUDE NOT WORKING IN PHP5

October 24th, 2008 Posted in php by dreamluverz








WTF. It almost made me crazy!!!!!
I tried installing latest version of php(5), mysql(5), apache(2.2) for the 1st time and it gave me terrible headache  in order for my codes to work. I almost wanted to give up and sleep. But I still kept on trying. After several attempts I made it! But… It didn’t end there coz this time simple “include” didn’t work. :cry:

Luckily I bumped into this forum and one suggested to turn on short_open_tag in your php.ini
short_open_tag = On
And it works!!!! Don’t ever forget this or else it will make you crazy for sure!

Normally we juz use <? code here ?> and not like this <?php code here ?>, but if your php.ini is set to short_open_tag = off It wont work so TURN THIS DAMN THING ON!!!!

Leave a Reply