请帮助!我已经从数据库中检索房源在我的系统。但它有一千上市,直到这个错误出现:
Help please! I've been retrieving listing in my system from database. But it has thousand listing until this error appear:
致命错误:最长30秒的执行时间超过了
Fatal error: Maximum execution time of 30 seconds exceeded
这code是我的htaccess
This code is from my htaccess
php_value max_execution_time 3000
php_value upload_max_filesize 512M
php_value post_max_size 512M
php_value memory_limit 256M
php_value set_time_limit 0
我该如何解决?我使用PHP和MySQL。
How can I resolve this? I'm using PHP and MYSQL.
您可以扩展最大执行时间是这样的:
you could extend the maximum execution time like this:
ini_set('max_execution_time', 0);
其他编辑您的htaccess
else edit your htaccess
php_value max_execution_time 0