So, I added the following to my http.conf file:
Listen443 NameVirtualHost *:443 DocumentRoot /PATH_TO/www ServerName www.
In centos this can happen because of php-module missing, to fix that issue we have to install
sudo yum install php-mysql php-devel php-gd php-pecl-memcache php-pspell php-snmp php-xmlrpc php-xml