[Chameleon-dev] [Bug 1448] PHP safe mode and suppress warnings
(like set_time_limit)
bugzilla-daemon at bugzilla.maptools.org
bugzilla-daemon at bugzilla.maptools.org
Tue May 2 11:24:11 EDT 2006
http://bugzilla.maptools.org/show_bug.cgi?id=1448
bartvde at xs4all.nl changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
------- Additional Comments From bartvde at xs4all.nl 2006-05-02 11:24 -------
These are the scripts, so in safe mode set max_execution_time to 600 could be
the recommendation (Btw, Paul, I guess 600 seconds is a bit much for an
application to wait, like it currently is in Chameleon's drawmap.php, don't you
think?) :
./htdocs/widgets/ExtractWFSData/ExtractWFSData.php:set_time_limit( 120 );
./htdocs/widgets/PrintProduction/preview.php:set_time_limit( 300 );
./htdocs/widgets/PrintProduction/production.inc.php:set_time_limit( 300 );
./htdocs/widgets/Query/QueryResults.phtml:set_time_limit( 120 );
./htdocs/widgets/WFSSearch/searchoptionapi.php:set_time_limit( 300 );
./htdocs/widgets/query_utils.php: set_time_limit( 120 );
./htdocs/widgets/LayerFeatures/LayerFeatures.widget.php: set_time_limit( 0 );
./htdocs/common/wrapper/drawmap.php:set_time_limit(600);
./htdocs/common/phpwms/server_data_manager.php: set_time_limit(
$this->nMaxExecutionTime );
./htdocs/common/phpwms/server_data_manager.php: set_time_limit(
$this->nMaxExecutionTime );
./htdocs/common/phpwms/server_data_manager.php: set_time_limit(
$this->nMaxExecutionTime );
./htdocs/common/http/HTTPClient.php: set_time_limit( $this->miTimeout );
./htdocs/chameleon.php: set_time_limit( $gnTimeout );
I have also added content to the Wiki:
http://chameleon-tiki.maptools.org/tiki-index.php?page=PHPSafeMode
I want to change the @set_time_limit in both the 2.4 branch (so it will be
released as 2.4.1 in the future) and the current CVS head. Will do so soon.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Please do NOT reply to this email, use the link above instead to
login to bugzilla and submit your comment. Any email reply to this
address will be lost.
More information about the Chameleon-dev
mailing list