We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Get trouble with PHP server in osCommerce

Thread ID:





126968 Oct 19,2016 03:34 AM Oct 21,2016 06:49 AM PHP 1
Tags: Accordion
Asked On October 19, 2016 03:34 AM

I am running an osCommerce app on Hostforlife.eu. I'm not a php expert though. I recently found that some admin pages give errors. I narrowed the problem down to the following line:


Code (markup):I think it's because "register_argc_argv" is off in global php configuration. 
I created php.ini in the web root directory and the file has register_argc_argv = on. But it doesn't seem to override the default option. So here are my questions:

- Can I override "register_argc_arg" in my php.ini on Hostforlife.eu? Do you have experience with them. 
- If I can't change "register_argc_argv" option, what can I do?
- I want to avoid modify all source codes. But if that's the only option, how should I change the problem line?

I need your help, thanks in advance

Prince Oliver [Syncfusion]
Replied On October 21, 2016 06:49 AM

Hi Emylin Manuela,   
Thanks for contacting Syncfusion Support.   
You cannot change Register_argc_argv after being registered, i.e. Register_argc_argv cannot be changed after initial load using ini_set() method as they have already been registered. To change, you need to copy your php.ini file in the hosting site. The PHP configuration is usually dependent on the hosting provider; so you need to make the changes in the hosting environment.   
Refer to following documentations:    


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.