Virtual Host for Apache auto_prepend_file

software development


Is it possible to access the virtual host options for apache with Dreamhost? I want to set my “auto_prepend_file” option. I’m not real familiar with server configuration editing like this.


auto_prepend_file is an option in PHP, not in Apache. You can set it in a custom PHP.ini.


Hmm I think I did everything I should but it doesn’t seem to be working. Is there a good way to test that my copied php.ini file is the one being used?

<? phpinfo(); ?>


Hmmm well my php.ini file copied over, but changes I make to it aren’t effecting my phpinfo. Any ideas what the issue might be?

And just to double check. I have it in /home/username/.php/5.3/php.ini[hr]
Never mind, just took it a few minutes to take effect. Appreciate the help guys.