User Tools

Site Tools


php_ini

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
php_ini [2015/12/14 11:02] luke7858php_ini [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 4: Line 4:
 cp /etc/php.ini{,.back.$(date +"%Y-%m-%d")} cp /etc/php.ini{,.back.$(date +"%Y-%m-%d")}
 </sxh> </sxh>
 +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 14: Line 18:
 post_max_size = 8M post_max_size = 8M
 </sxh> </sxh>
 +== 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 +
-</sxh>+
 \\ \\
 \\ \\
-https://www.devside.net/wamp-server/apache-and-php-limits-and-timeouts 
 === php.ini === === php.ini ===
 Php.ini file can be found: Php.ini file can be found:
Line 32: Line 34:
 \\ \\
 \\ \\
 +reference: https://www.devside.net/wamp-server/apache-and-php-limits-and-timeouts
php_ini.1450090950.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki