cchhaass Posted August 29, 2011 Share Posted August 29, 2011 Hi, I started using prestashop but i need please the file php.ini with the configuration of the allow_url turned on. Could someone please send me this file so I can introduce it in my server to have access to actualizations and also the ebay module. THANK YOU SO MUCH!!!! Link to comment Share on other sites More sharing options...
Carl Favre Posted August 30, 2011 Share Posted August 30, 2011 Hello cchhaass, Logically, you just have to add in your php.ini file : Whether to allow the treatment of URLs (like http:// or ftp://) as files. allow_url_fopen = On ; Whether to allow include/require to open URLs (like http:// or ftp://) as files. allow_url_include = On 1 Link to comment Share on other sites More sharing options...
cchhaass Posted August 30, 2011 Author Share Posted August 30, 2011 Hello, Sorry but I don't find the php.ini file in my server. This is why I asked if you could send me the file because I'm not a web developper and I don't know how to create a file .ini Thank you again, C Link to comment Share on other sites More sharing options...
Carl Favre Posted August 30, 2011 Share Posted August 30, 2011 The best would be to check with your webhosting service. Are you on a shared or dedicated server? Link to comment Share on other sites More sharing options...
cchhaass Posted August 30, 2011 Author Share Posted August 30, 2011 Hi Carl, I'm in 1and1 and they don't give any support to Prestashop. All the work is done by myself but i'm only on basics... Could we find another solution? Where is normally the PHP.INI file? Why can't you send me the file and I upload it into my server. Thank you again, C Link to comment Share on other sites More sharing options...
Carl Favre Posted August 31, 2011 Share Posted August 31, 2011 Hi cchhaass, It is not about PrestaShop support, it is about server configuration if you have a dedicated server. So first you should tell us what kind of webhosting solution you have. Most of the time php.ini is in a php folder. Link to comment Share on other sites More sharing options...
cchhaass Posted August 31, 2011 Author Share Posted August 31, 2011 Hi Carl, Just called 1and1. I have a shared server. What can we do then? Rgds, C Link to comment Share on other sites More sharing options...
Carl Favre Posted September 1, 2011 Share Posted September 1, 2011 Usually on shared server you have no access to this kind of file. You have to check with your webhost and see if he can change it for you. Link to comment Share on other sites More sharing options...
shoulders Posted September 11, 2011 Share Posted September 11, 2011 Usually on shared server you have no access to this kind of file. You have to check with your webhost and see if he can change it for you. not stricly true. you do not have access to edit the global php.ini but you can copy it and then alter it to your liking. not everything can be overiden. It is refered to as php.ini overide. Just Host allows this and is a shared server. The way i get it is i have joomla installed and a plugin called guardxt extension installed and i can use this to get a copy and then edit the things i want. The edited php.ini goes in you html root folder, ie public_html There must be an easier non joomla way of retrieving php.ini without joomla. I do not know of any, but i am sure there is a script. Link to comment Share on other sites More sharing options...
Carl Favre Posted September 12, 2011 Share Posted September 12, 2011 Hi Shoulders, Thanks for the information. I did not know. cchhaass, There is an example for 1&1 if it can help : http://faq.1and1.com/scripting_languages_supported/php/8.html Link to comment Share on other sites More sharing options...
shoulders Posted September 12, 2011 Share Posted September 12, 2011 Hi Shoulders, Thanks for the information. I did not know. cchhaass, There is an example for 1&1 if it can help : http://faq.1and1.com...rted/php/8.html This shows that 1and1 support php.ini overiding. You could creaet a php.ini file manually, put it in your root directory and just put in the items you want to change, this will have the same effect. Link to comment Share on other sites More sharing options...
mysaidi79 Posted April 30, 2015 Share Posted April 30, 2015 Already add php.ini file in root folder but still failed. What should i do? Link to comment Share on other sites More sharing options...
thepan Posted April 30, 2015 Share Posted April 30, 2015 Hey Sometimes the Provider doesnt allow to change allow_url_fopen. If you want to change other values, make sure you check there status with the php_info funtion. To do so, back up your index.php in your root folder and then edit the file so there is only this code in it <?php phpinfo(); ?> then open your front office and you should see a blue page with lots of values. Then edit your php.ini and check if the changes take effect on your index site. If everything is great just restore the original index.php If it doesnt work, try to change the php values in an .htaccess flle. Its not the best solution but it might work. And dont forget to check for changed values in this case too. 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