Re: [PHP] PHP 5.3.2 max_execution_time
On 2 Jan 2012, at 02:15, Duken Marga wrote: If you want to upload large file, maybe you should consider maximum uploaded size. You can change setting in php.ini on line that contain * upload_max_filesize*. Thanks, but the filesize limits are already set well above the size of the file. The file transfer takes place within the context of an RPC callback, so I think this may be a TCP transfer rather than a file upload. This really does seem to be an execution time issue, as shown by the Apache error log entry. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP 5.3.2 max_execution_time
On Mon, Jan 2, 2012 at 10:21 AM, Chris Tapp wrote: > > This really does seem to be an execution time issue, as shown by the Apache > error log entry. > > Chris > Are you sure you've checked every possible place for Apache config files? Most distro's have /etc/apache2/httpd.conf, but also /etc/apache2/conf.d/* and the ones for each virtual host (mine are at /etc/apache2/sites-enabled/*). You can also set php settings in .htaccess files. Matijn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP 5.3.2 max_execution_time
On 2 Jan 2012, at 13:53, Matijn Woudt wrote: On Mon, Jan 2, 2012 at 10:21 AM, Chris Tapp wrote: This really does seem to be an execution time issue, as shown by the Apache error log entry. Chris Are you sure you've checked every possible place for Apache config files? Most distro's have /etc/apache2/httpd.conf, but also /etc/apache2/conf.d/* and the ones for each virtual host (mine are at /etc/apache2/sites-enabled/*). You can also set php settings in .htaccess files. Yes, I don't think there is anything I haven't checked. The configuration under CentOS 6 is more the 'old way' - i.e. a conf/ and conf.d/. All the php configuration is in /etc/php.ini with conf.d/ php.conf enabling Apache php support. Dokuwiki is installed as a virtual host located at /usr/share/ dokuwiki. If I create a php file in that directory that runs php_info(), then the output that's produced shows max_execution_time (global and local) as 120 seconds. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP 5.3.2 max_execution_time
On Mon, Jan 2, 2012 at 4:52 PM, Chris Tapp wrote: > Yes, I don't think there is anything I haven't checked. The configuration > under CentOS 6 is more the 'old way' - i.e. a conf/ and conf.d/. All the php > configuration is in /etc/php.ini with conf.d/php.conf enabling Apache php > support. > > Dokuwiki is installed as a virtual host located at /usr/share/dokuwiki. If I > create a php file in that directory that runs php_info(), then the output > that's produced shows max_execution_time (global and local) as 120 seconds. > > Chris > It is also possible to set the max execution time in PHP with set_time_limit() function, maybe one of the scripts does that? Look at the apache log at which file the timeout occurs, that might give you a clue. Matijn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP 5.3.2 max_execution_time
On 2 Jan 2012, at 16:19, Matijn Woudt wrote: It is also possible to set the max execution time in PHP with set_time_limit() function, maybe one of the scripts does that? Look at the apache log at which file the timeout occurs, that might give you a clue. Thanks Matijn, I've found a set_time_limit( 30 ) call in a file related to the transfer that looks like the root of the problem :-) Thanks for the help. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] re: More Error Reporting Problems
Am 30.12.2011 17:11, schrieb Floyd Resler: On Dec 30, 2011, at 11:05 AM, Matt Graham wrote: I'm still not sure why they aren't displaying. But as long as I have a place to find them I'm cool with that. Maybe anything in your web application overrides display_errors? -- Marco Behnke Dipl. Informatiker (FH), SAE Audio Engineer Zend Certified Engineer PHP 5.3 Tel.: 0174 / 9722336 e-Mail: ma...@behnke.biz Softwaretechnik Behnke Heinrich-Heine-Str. 7D 21218 Seevetal http://www.behnke.biz smime.p7s Description: S/MIME Kryptografische Unterschrift