php.ini 7.3设置

admin4年前php1621

date.timezone = PRC
display_errors = On

网络保存图片,以及微信获取手机号码:
windows下的PHP,只需要到php.ini中把前面的 ; 删掉,重启服务就可以了。
extension=php_openssl.dllphp7.3
extension=openssl

编修php.ini

找到:max_execution_time = 30 ,这个是每个脚本运行的最长时间,单位秒,修改为:
max_execution_time = 150

找到:max_input_time = 60,这是每个脚本可以消耗的时间,单位也是秒,修改为:
max_input_time = 300

找到:memory_limit = 128M,这个是脚本运行最大消耗的内存,根据你的需求更改数值,这里修改为:
memory_limit = 256M

找到:post_max_size = 8M,表单提交最大数据为 8M,此项不是限制上传单个文件的大小,而是针对整个表单的提交数据进行限制的。限制范围包括表单提交的所有内容.例如:发表贴子时,贴子标题,内容,附件等…这里修改为:
post_max_size = 20M

找到:upload_max_filesize = 2M ,上载文件的最大许可大小 ,修改为:
upload_max_filesize = 10M


相关文章

面向过程的php sqlhelp

<?php $servername = "localhost"; $username = "root"; $...

php提示Notice: Undefined index解决方法与php未定义的变量提示错误的解决方法

在php.ini配置文件里设置把error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT修改成error_reporting = E_AL...

php post undefined index,PHP 中提示undefined index的解决方案

声明为空isset($_POST['user_email']),或者,empty($_POST['user_email'])在php.ini中设置error_repor...

php的function函数内部只能有一个return

php的function函数内部只能有一个return,之后的代码就都全部运行不正常了...

php下载地址

https://windows.php.net/downloads/releases/archives/...

php字符截取

substr(变量, 0,506)...

发表评论    

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。