Virtual Host for Apache auto_prepend_file

software development

#1

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.


#2

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


#3

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?


#4
<? phpinfo(); ?>

#5

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.