This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| yum --enablerepo=remi install php-fpm php-mysqlnd php-pecl-apc | |
| sed -i s/apache/nginx/ /etc/php-fpm.d/www.conf | |
| chkconfig php-fpm on | |
| service php-fpm start |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| yum -y install Percona-Server-shared-compat Percona-Server-server-55 expect | |
| chkconfig mysql on | |
| service mysql start | |
| SQL_PW=$(mkpasswd -l 32) | |
| mysqladmin password "$SQL_PW" | |
| echo "Root MySQL Password: $SQL_PW" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rpm -Uvh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm | |
| rpm -Uhv http://www.percona.com/downloads/percona-release/percona-release-0.0-1.x86_64.rpm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # httpd -M | |
| Loaded Modules: | |
| core_module (static) | |
| authn_file_module (static) | |
| authn_default_module (static) | |
| authz_host_module (static) | |
| authz_groupfile_module (static) | |
| authz_user_module (static) | |
| authz_default_module (static) | |
| auth_basic_module (static) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Warning: Missing argument 2 for wpdb::prepare(), called in /var/www/wp-content/themes/classipress/includes/admin/admin-options.php on line 843 and defined in /var/www/wp-includes/wp-db.php on line 990 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * The base configurations of the WordPress. | |
| * | |
| * This file has the following configurations: MySQL settings, Table Prefix, | |
| * Secret Keys, WordPress Language, and ABSPATH. You can find more information by | |
| * visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing | |
| * wp-config.php} Codex page. You can get the MySQL settings from your web host. | |
| * | |
| * This file is used by the wp-config.php creation script during the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class MyModel < ActiveRecord::Base | |
| after_initialize :setup_defaults | |
| attr_accessor :foo_bar | |
| def setup_defaults | |
| foo_bar ||= "my default value" | |
| end | |
| end |
NewerOlder