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? Link to comment https://forums.phpfreaks.com/topic/88126-shared-webhost-where-does-phpini-go/ 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. Link to comment https://forums.phpfreaks.com/topic/88126-shared-webhost-where-does-phpini-go/#findComment-450891 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. Link to comment https://forums.phpfreaks.com/topic/88126-shared-webhost-where-does-phpini-go/#findComment-450893 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 Link to comment https://forums.phpfreaks.com/topic/88126-shared-webhost-where-does-phpini-go/#findComment-450921 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.