ini( $session_cookie_httponly => '', $session_save_path => '/var/lib/php/session', $session_gc_divisor => '1000', $session_cookie_domain => '', $session_auto_start => '0', $output_buffering => '4096', $safe_mode_include_dir => '', $session_use_cookies => '1', $default_mimetype => 'text/html', $precision => '14', $ignore_repeated_errors => 'Off', $session_hash_function => '0', $default_charset => 'false', $session_serialize_handler => 'php', $session_use_only_cookies => '1', $safe_mode_allowed_env_vars => 'PHP_', $enable_dl => 'Off', $disable_functions => '', $session_save_handler => 'files', $doc_root => '', $user_dir => '', $allow_url_include => 'Off', $ignore_user_abort => 'false', $user_ini_filename => '.user.ini', $engine => 'On', $register_long_arrays => 'Off', $session_hash_bits_per_character => '5', $safe_mode_exec_dir => '', $safe_mode_gid => 'Off', $sql_safe_mode => 'Off', $report_memleaks => 'On', $max_input_time => '60', $url_rewriter_tags => 'a=href,area=href,frame=src,input=src,form=fakeentry', $safe_mode => 'Off', $display_startup_errors => 'Off', $implicit_flush => 'Off', $file_uploads => 'On', $short_open_tag => 'Off', $memory_limit => '128M', $session_referer_check => '', $session_gc_maxlifetime => '1440', $browscap => 'false', $date_timezone => 'false', $zlib_output_compression => 'Off', $session_cookie_lifetime => '0', $user_ini_cache_ttl => '300', $display_errors => 'Off', $auto_append_file => '', $upload_max_filesize => '2M', $html_errors => 'Off', $session_bug_compat_42 => 'Off', $safe_mode_protected_env_vars => 'LD_LIBRARY_PATH', $log_errors_max_len => '1024', $session_name => 'PHPSESSID', $serialize_precision => '100', $expose_php => 'On', $variables_order => 'GPCS', $disable_classes => '', $track_errors => 'Off', $magic_quotes_sybase => 'Off', $max_execution_time => '30', $session_gc_probability => '1', $log_errors => 'On', $asp_tags => 'Off', $magic_quotes_gpc => 'Off', $request_order => 'GP', $sendmail_path => '/usr/sbin/sendmail -t -i', $allow_call_time_pass_reference => 'Off', $ignore_repeated_source => 'Off', $register_globals => 'Off', $register_argc_argv => 'Off', $include_path => 'false', $session_cookie_path => '/', $error_reporting => 'E_ALL & ~E_DEPRECATED', $post_max_size => '8M', $error_log => 'false', $auto_globals_jit => 'On', $magic_quotes_runtime => 'Off', $auto_prepend_file => '', $mail_add_x_header => 'On', $session_bug_compat_warn => 'Off', $allow_url_fopen => 'On', $default_socket_timeout => '60' )
Define: php::ini
Definition to create a php.ini file.
Typically used once per node where php will be used,
to configure the content of the main /etc/php.ini file.
Sample Usage:
Php::Ini {
expose_php => 'Off',
}
php::ini { '/etc/php.ini':
display_errors => 'On',
}