Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

php.ini remote


davidstummer

Recommended Posts

how to i get access to php.ini if i am using a virtual host?

i ask this because i want to set the 'time-out' time (usually 30 secs), to a larger time, say about 5 mins. this is because i want to upload more than 300 products at once to easy populate.

Link to comment
Share on other sites

There's an option in EasyPopulate, that lets you split the file into smaller segments and upload them individually. This way, you wouldn't run into any timeout problems (hopefully!).

 

The EP instruction manual has excellent documentation on how to proceed with this. Please see the section SPECIAL INSTRUCTIONS FOR LARGE STORES, in the EasyPopulate_manual.* file for step by step instructions.

 

Hope this helps,

VJ

 

http://www.salehut.com

Link to comment
Share on other sites

Had a closer look at the EP file now. You can try changing the line (approx. line 170),

set_time_limit(330);

in file <your-osc-installation>/admin/easypopulate.php to something like,

set_time_limit(600);

 

This function is identical to

ini_set('max_execution_time', 600)

 

Both these functions will have no effect if PHP is running under safe mode. In that case, you have no other option than to request you host to turn off the PHP safe mode in the main php.ini file, and try the upload again.

 

Hope this helps :),

VJ

 

http://www.salehut.com

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...