is it possible to enable http open for fopen
but disable the http open for include
Yes, this is a new feature added in 5.2.0. It is set this way by default, and the config which enables it is allow_url_include (Set OFF by default).
Mark