iwannabeleet Posted January 28, 2008 Share Posted January 28, 2008 I'm building a simple site on a windows shared server with PHP pre-installed, the main FTP login which I was given access to logs me in at '/', the web files go in '/web'. I tried placing a PHP.INI file in both my home root and /web folders so I could turn off ALLOW_URL_FOPEN but when I test it, it is still on. allow_url_fopen = off is this because my php.ini is in the wrong place? Or does it require some kind of PHP re-boot or re-load to read in the new PHP.INI vars? Quote Link to comment Share on other sites More sharing options...
toplay Posted January 28, 2008 Share Posted January 28, 2008 Ask your web hosting company. On a shared service, you usually don't have the ability to change the php.ini directly (unless you're paying for a dedicated server). Topic moved to correct location. Quote Link to comment Share on other sites More sharing options...
iwannabeleet Posted January 28, 2008 Author Share Posted January 28, 2008 Sorry about posting in the incorrect place. I tried calling them and never got off hold but I will try again, thank you for your reply. Quote Link to comment Share on other sites More sharing options...
toplay Posted January 28, 2008 Share Posted January 28, 2008 That option can be set in your script with ini_set() at runtime depending on your version of PHP. See: http://us2.php.net/manual/en/ini.php#ini.list Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.