While going through a Zend tutorial, I came across the following statement:
Note that the php_flag settings in .htaccess only work if you are using mo
It means that you have to have PHP installed as a module in Apache, instead of starting it as a CGI script.