php_ini
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
php_ini [2015/09/16 14:09] – luke7858 | php_ini [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ==== IMPORTANT ==== | ||
+ | Before making ANY changes, remember to back up the php.ini file: | ||
+ | <sxh bash> | ||
+ | cp / | ||
+ | </ | ||
+ | Note: If the box is using php-fpm you will need to locate the php.ini file for this. | ||
+ | \\ | ||
+ | Hint: rpm -qc packagename - locates the configuration files for a package | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
**upload_max_filesize** is the maximum size of an uploaded file | **upload_max_filesize** is the maximum size of an uploaded file | ||
<sxh bash> | <sxh bash> | ||
Line 7: | Line 18: | ||
post_max_size = 8M | post_max_size = 8M | ||
</ | </ | ||
+ | == Reload Configuration == | ||
Once you have made changes to the file you will need to reload apache for them to take effect: | Once you have made changes to the file you will need to reload apache for them to take effect: | ||
- | <sxh bash> | + | |
- | service httpd graceful | + | |
- | </ | + | |
\\ | \\ | ||
\\ | \\ | ||
- | https:// | ||
=== php.ini === | === php.ini === | ||
Php.ini file can be found: | Php.ini file can be found: | ||
Line 25: | Line 34: | ||
\\ | \\ | ||
\\ | \\ | ||
+ | reference: https:// |
php_ini.1442412569.txt.gz · Last modified: 2024/05/23 07:26 (external edit)