gerkintrigg Posted September 11, 2007 Share Posted September 11, 2007 Hi all. I don't know whether this is in the right topic area, but here goes: I have an upload script that worked fine on my old server, but now times out. I have traced the reason to the .htaccess file that controls the timeout. I recently moved to a server with PHP5, and wondered why this might be... is it something to do with PHP5? the htaccess code I'm using is: php_value post_max_size 40M php_value upload_max_filesize 40M php_value max_execution_time 3600 php_value memory_limit 40M Please help. thanks. Quote Link to comment https://forums.phpfreaks.com/topic/68831-solved-script-timeout/ Share on other sites More sharing options...
jagat21 Posted September 11, 2007 Share Posted September 11, 2007 Try to set following variable's value : php_value max_input_time 3600 in ur htacess file. Quote Link to comment https://forums.phpfreaks.com/topic/68831-solved-script-timeout/#findComment-345977 Share on other sites More sharing options...
gerkintrigg Posted September 11, 2007 Author Share Posted September 11, 2007 that didn't work either. Thanks, for your suggestion, but it appears that it's something to do with my server running "CP6" (whatever that is) so i need to change the PHP.ini file. Cheers, Quote Link to comment https://forums.phpfreaks.com/topic/68831-solved-script-timeout/#findComment-345987 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.