title: How to override "configure command" parameter in PHP?
body: <p>I am trying to deploy some PHP scripts on a webserver which is already hosting a live website. In my local development environment the scripts run fine. However, on the server they do not run, and I have traced the problem via the apache error logs to PHP not being able to create a new DOMDocument object. I believe I have narrowed this to a line in the "Configure Command" settings in phpinfo(). In that section, I see <code>--disable-dom</code>, as well as <code>--without-curl</code>. Both of these should be enabled in order for my script to work properly.</p>
  
  <p>If I can enable these features within my script, that would be great. Otherwise I might need to recompile php, but I'm loathe to do that unless it's absolutely necessary. Is there some way I can override these settings in php.ini, in the script itself at runtime, or through some other method?</p>
  
  <p>Edit: if it helps, the PHP version is 5.3.3-14.el6_3 and it appears that it was installed via <code>yum</code>. OS is Scientific Linux 6.3.</p>