当前位置:网站首页>php. Ini configuration
php. Ini configuration
2022-04-22 03:18:00 【SUPER_ child】
1、 First find php.ini
1、 Create a new one .php file , Enter the following code
<?php
phpinfo();
?>
preservation , And access it , Get the following , Marked with a red box is the current php The configuration file php.ini The path of

2、 If window Systematic phpstudy There are quick ways to use software , Pictured :

Click on 【 Other options menu 】-->【 Open profile 】-->【php.ini】 You can open it
2、 Configuration parameters
file_uploads = ON : Make sure that... Is on the server PHP Whether the script is acceptable HTTP Upload files
memory_limit = 8M : Set the maximum amount of memory that a script can allocate , Prevent runaway scripts from monopolizing server memory
upload_max_filesize = 2M : Limit PHP Maximum value for processing uploaded files , This value must be less than post_max_size value
post_max_size = 8M : Restricted passage POST The method can accept the most information
max_execution_time = 600 ; Every PHP The maximum time the page runs ( second ) Default 30 second
max_input_time = 600 ; Every PHP The maximum time required for a page to receive data , Default 60 second
Be careful :max_execution_time Generally, adjustment is not recommended , stay PHP You can use :set_time_limit(0) Make temporary adjustments ,0 There is no time limit
版权声明
本文为[SUPER_ child]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220315306384.html
边栏推荐
- 吉他乐理整理
- 百度离线地图研发--laravel框架
- First glimpse of the pytest framework, weak foundation can easily hold
- leetcode:297. Serialization and deserialization of binary tree
- 剑指offer 专项突破版 92、翻转字符
- Application packaging or test team?
- JS force deduction daily question (2022 / 4 / 21) --824 Goat Latin
- Built in functions 123
- Workplace etiquette How to use foreign enterprise email
- Can Chrome browser + postman do interface testing like this?
猜你喜欢

2022年当选IEEE Fellow的人员列表

go语言实战-----30-----token机制微信公众号签名验证的方法、XML解析,CDATA解析、交换协议、接收消息协议、被动回复消息协议、正则表达式

ESP32_ GPIO input, output and interrupt

C language daily question -- xiaolele changing numbers (niuke.com)

全网最全量化硬件设施比拼大会

Web automation master card in file upload and pop-up processing?

Allegro gerber文件路径设定

Alipay two faces: how to use UDP to achieve reliable transmission?

Ros2 learning notes (6) -- customized messages and services, control instruction optimization and online map change

Go language -----30-----token mechanism, WeChat official account signature verification method, XML parsing, CDATA parsing, exchange protocol, receive message protocol, passive reply message protocol,
随机推荐
Ros2 learning notes (V) -- Summary of common instructions for ros2 command line operation (I)
Let others connect to their own MySQL database and share the MySQL database
Allegro gerber文件路径设定
Ros2 learning notes (6) -- customized messages and services, control instruction optimization and online map change
Ros2 learning notes (III) -- collect and release images of virtual simulation environment
Rasa对话机器人连载一 第121课:Rasa对话机器人Debugging项目实战之电商零售对话机器人运行流程调试全程演示-1
C language daily question -- xiaolele changing numbers (niuke.com)
Use and principle of atomic class
TP5使用phpoffice/phpexcel包操作excel(导出)
Saas. Extended field custom field
2500 words, hands take you to a preliminary understanding of static keywords, pointers and structures
Writing method of JSS in material UI (notes)
OneFlow 的 Global Tensor 学习笔记和实习总结
Rest assured obtains logs to files and displays them in combination with the allure report
Assembly language programming MOOC University of China Zhengzhou University online course test questions and answers
[NCTF2019]Fake XML cookbook
Interview with those stereotyped and boring interviewers
Can Chrome browser + postman do interface testing like this?
Analysis of five data structures of redis
Wechat H5 payment (reporting cross domain issues)