Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

warning:session.auto_start is enabled


sharma.atul85

Recommended Posts

Posted

hello friends am currenty experiencing this strange problem in my project.

Warning: session.auto_start is enabled - please disable this php feature in php.ini and restart the web server.

As other employees are also working on the same server so I can not change the above specified changes .

Is there a way to fix this ?

I also just can not comment the warning as the functionality has also got disturbed .

any suggestion is most welcome !!

Posted

You can create a php.ini in your root folder for oscommerce and add directive to disable session.auto_start.

 

This will allow inherited settings from main php.ini, and allow you to override specific settings as per your requirements.

 

HTH

Best Regards,
Gaurav

Posted

will you please explain in detail how to do this

as after I copy php.ini file to root directory then how to link this file to my catalog

Posted

If your root folder for OSC is html / htdocs / webroot or whatever .. copy original php.ini to that location (in other words above /catalog folder.

 

Make changes to this copied php.ini that you want exlusively to be effective for OSC only.

Save and restart your server.

 

Settings in your PHP.INI would override server settings. Google "override php.ini" and you would get more info.

 

Cheers

Best Regards,
Gaurav

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...