Guest Posted November 14, 2006 Share Posted November 14, 2006 Hi, I did a site backup restore and somehow I have a missing php.ini file. The problem is we have a couple of hundred hours of custom programming done to the cart, and I don't want to lose that. Would the best option be to: 1) Backup the current site and reinstall OSCommerce and then transfer the custom files back. 2) Find another php.ini file Any help would be appreciated. Jeff Burns www.vinamor.com Link to comment Share on other sites More sharing options...
Jack_mcs Posted November 14, 2006 Share Posted November 14, 2006 A php.ini file is just a regular text file. It was probably used for the register globals setting so just create a text file, rename it php.ini and write this line to it register_globals = Off If it was used for some other setting, then you would need to add that too. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Guest Posted November 14, 2006 Share Posted November 14, 2006 A php.ini file is just a regular text file. It was probably used for the register globals setting so just create a text file, rename it php.ini and write this line to itregister_globals = Off If it was used for some other setting, then you would need to add that too. Jack Do you know what folder I'm suppose to put it in? Link to comment Share on other sites More sharing options...
jdvb Posted November 14, 2006 Share Posted November 14, 2006 the root Link to comment Share on other sites More sharing options...
tkwin1104 Posted January 2, 2009 Share Posted January 2, 2009 Ok I figured it out. You have to add a php5.ini if you have a godaddy account. You must add this file in three places - catolog, admin, install. Make sure it, reads register_globals = ON ,because you are changing your settings on godaddys server not on the website. I am running php5 on a shared hosting plan with Mysql 4.1 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.