I am getting the following message when starting httpd:
Starting httpd: [Thu Jan 12 18:05:40 2017] [warn] module php5_module is already loaded, skipping
So I was opening the httpd.conf located at /etc/httpd/conf/httpd.conf and couldn't find where php5 is getting loaded. Google ment that I should remove this part:
LoadModule php5_module /usr/lib64/httpd/modules/libphp5.so
I am not able to use mysql correctly in php. Google said that I should add a mysql extension to the php.ini. Weirdly the php.ini is located at /opt/remi/php55/root/etc/php.ini. Also at /opt/remi/ is a folder called php54 but I think that the folder is useless because I am using the version 5.6.29. Also there's no module called 'mysql.so'. Yes, I installed php and php-mysql.
I use CentOs 6.8.