Permalink
Browse files

Merge pull request #34 from fifteen3/master

PHP post_max_size, Mysql max_allowed_packets size increase settings
  • Loading branch information...
2 parents 21a74b3 + f14bd68 commit a746a77950b46eaf355b1944262aad05c4785695 @mikecanz committed Jan 8, 2013
Showing with 16 additions and 1 deletion.
  1. +11 −0 modules/mysqld/files/etc/my.cnf
  2. +4 −0 modules/mysqld/manifests/init.pp
  3. +1 −1 modules/php/files/etc/php.ini
@@ -0,0 +1,11 @@
+[mysqld]
+datadir=/var/lib/mysql
+socket=/var/lib/mysql/mysql.sock
+user=mysql
+# Disabling symbolic-links is recommended to prevent assorted security risks
+symbolic-links=0
+max_allowed_packet=16M
+
+[mysqld_safe]
+log-error=/var/log/mysqld.log
+pid-file=/var/run/mysqld/mysqld.pid
@@ -18,4 +18,8 @@
ensure => running,
subscribe => Package["mysql"],
}
+
+ file { "/etc/my.cnf":
+ source => "puppet:///modules/mysqld/etc/my.cnf",
+ }
}
@@ -885,7 +885,7 @@ file_uploads = On
; Maximum allowed size for uploaded files.
; http://www.php.net/manual/en/ini.core.php#ini.upload-max-filesize
-upload_max_filesize = 2M
+upload_max_filesize = 8M
; Maximum number of files that can be uploaded via a single request
max_file_uploads = 20

0 comments on commit a746a77

Please sign in to comment.