symfony API

sfPhpConfigHandler Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website

« Back to API menu


You are currently browsing the symfony API for the 1.0 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

sfPhpConfigHandler allows you to override php.ini configuration at runtime.


sfPhpConfigHandler  <  sfYamlConfigHandler < sfConfigHandler

Method Summary

  • string execute()
    Executes this configuration handler
  • string get_ini_path()
    Gets the php.ini path used by PHP.

Methods inherited from sfYamlConfigHandler

getConfigValue , mergeConfigValue , parseYaml , parseYamls

Methods inherited from sfConfigHandler

execute , getParameterHolder , initialize , replaceConstants , replacePath

Method Details

  • (string) execute ()

    Executes this configuration handler

    returns Data to be written to a cache file

    throws sfConfigurationException If a requested configuration file does not exist or is not readable

  • (string) get_ini_path ()

    Gets the php.ini path used by PHP.

    returns the php.ini path