lateral Posted September 25, 2014 Share Posted September 25, 2014 I can't seem to find what the setting should be for fopen... I have access to the php.ini file in my root. What should the FOPEN statement look like? Link to comment Share on other sites More sharing options...
bellini13 Posted September 25, 2014 Share Posted September 25, 2014 what are you trying to do? Link to comment Share on other sites More sharing options...
lateral Posted September 25, 2014 Author Share Posted September 25, 2014 I'm not trying to do anything. I recently moved my entire Prestashop environment to a new domain and was going through checking everything prior to going live and check the Configuration and noted that there we errors relating to fopen...(see attached screenshot) I also have no idea what fopen does... Link to comment Share on other sites More sharing options...
vekia Posted September 25, 2014 Share Posted September 25, 2014 allow_url_fopen = On Link to comment Share on other sites More sharing options...
bellini13 Posted September 25, 2014 Share Posted September 25, 2014 allow_url_fopen = On I would not advise doing that. If you look more closely at your screen shot, the required parameters is empty. fopen is under optional parameters. fopen is typically only required when the CURL extension is not available on your server. unless you require fopen because a third party module is not functioning properly, leave it disabled. And if you do have a third party module using fopen, then you might consider changing that code to use CURL instead. For some background discussion on fopen, you can do a google search. Here is one thread on the topic of fopen being secure or not. http://stackoverflow.com/questions/127534/should-i-allow-allow-url-fopen-in-php Do some research and then decide for yourself if you believe your should allow it. I however would suggest leaving it off. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now