Custom PHP.ini File

software development

#1

I need to write a custom PHP.ini file to get the following features enabled:

allow_url_fopen
allow_url_include

When I contacted Dreamhost support about it, I was directed to this page:

http://wiki.dreamhost.com/Custom_PHP.ini

Now I don’t know how to write one on my own, could anyone with experience help me out?

Thanks.


#2

If you are not experienced enough to generate your own PHP.ini file from the articles in the wiki, then you are probably not experienced enough to safely make use of URL file access either. It is possible to use cURL as a safer substitute.

si-blog
Max discount on any plan with promocode SCJESSEYTOTAL


#3

Well I need it enabled for a feature on my messageboards.


#4

You should contact the author/vendor of the message boards and ask them for a cURL-based patch. Explain to them that URL file access opens up a significant server vulnerability in a shared hosting environment so the patch is necessary for security reasons. If they say no, I recommend moving to a more secure message board solution.

si-blog
Max discount on any plan with promocode SCJESSEYTOTAL