php.ini

[root@dhcppc2 ~]# ls -ld /etc/php.ini -rw-r–r–. 1 root root 64945 Nov 6 06:02 /etc/php.ini [root@dhcppc2 ~]# grep -v “^;” /etc/php.ini |grep -v ^$ [PHP] engine = On short_open_tag = Off asp_tags = Off precision = 14 output_buffering = 4096 zlib.output_compression = Off implicit_flush = Off unserialize_callback_func = serialize_precision = 17 disable_functions = disable_classes = zend.enable_gc… Continue reading php.ini

my.cnf

[root@dhcppc2 ~]# ls -ld /etc/my.cnf -rw-r–r–. 1 root root 570 Nov 14 22:14 /etc/my.cnf ——- [root@dhcppc2 ~]# cat /etc/my.cnf [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock # Disabling symbolic-links is recommended to prevent assorted security risks symbolic-links=0 # Settings user and group are ignored when systemd is used. # If you need to run mysqld under a different user… Continue reading my.cnf

Configure WordPress

cd /var/www/html cp wp-config-sample.php wp-config.php vi wp-config.php // ** MySQL settings – You can get this info from your web host ** // /** The name of the database for WordPress */ define(‘DB_NAME’, ‘wordpress’); /** MySQL database username */ define(‘DB_USER’, ‘wordpressuser’); /** MySQL database password */ define(‘DB_PASSWORD’, ‘password’);