do the obsolete fun only when default_php is off