How to configure WordPress Database for CentOS 7

Try to disable temporarily SELinux on the web server, with the command: sudo setenforce 0 If the error disappears after disabling SELinux, re-enable it with: sudo setenforce 1 and then allow httpd to connect to a MySql server through the network with: sudo setsebool -P httpd_can_network_connect_db 1 sudo setsebool -P httpd_can_network_connect 1

update_option returns false in AJAX, how to debug?

I found out that my settings where filtered by validation function registered by register_setting. Somehow I thought that it would only affect settings that where going through wordpress’s own settings fields and not a custom AJAX function (the way I have it setup). To the point of the question: I used php exit to debug … Read more