Disabling and enabling php.ini functions using SSH (putty)
November 30, 2011 5:43 PM Subscribe
I need help disabling php.ini functions using SSH (putty) on my dedicated server.
I'm trying to run a script which imports over a million listings from an Excel file into my mySQL database, I get a bunch of errors and found out I need to disable the following functions using Putty (SSH module) in my php.ini file to successfully run the script.
phpinfo, pass thru & ini_set
I have learned that I need to use Putty to access the SSH module. I have successfully logged in as the administrator and have been able to locate the folder /usr/lib/ where the php.ini file is located. This is where I'm up to right now and don't know how to proceed.
Please tell me now how to edit the php.ini file to disable these functions mentioned earlier. If possible please tell me how to enable these functions too after I have run the import database script.
Thanks for all your help guys and gals, I really appreciate this.
I tried contacting support at my hosting company but they only offer limited support, nothing so technical (pffftt)...
God bless Metafilter :)