Jump to content

php.ini file


Recommended Posts

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

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

  • Like 1
Link to comment
Share on other sites

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

  • 2 weeks later...

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

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

  • 3 years later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...