var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: timeout problem in PHP
i'm coding a php program which will call a shell script through a button.
program : myprogram.php
shell program to be called myshell.sh
When the button is clicked, myshell.sh is executed, and result is displayed in a textarea in the original php program (myprogram.php)
<FORM METHOD=post ACTION=$_PHP[SELF]>
Now, i'm facing problem that, myshell.sh works for around 3 hours(doing large calculations), and i'm afraid of time out problem with php or apache.
I read on the website that i can set the php.ini to
Does this means that my php will hang there until the process is being finished?
How about apache time out?
What should i basically do to enable calculation working for 3 hours without any timeout problem occuring?
you can use this function set_time_limit(0) fro php's time out. For apache you have to make the changes in the httpd.conf or in the .htaccess file as per your permissions.