How to change php config settings in apache
Example - Add to apache config
php_value include_path ".:/usr/local/lib/php" php_admin_flag safe_mode on
Other resources
php ini set
php ini set list
PHP runtime config options