Situation: This error is seen when trying to start the Apache server after configuring the php files in the htdocs.
Indicators: This can be due to the following possible reasons.
-> The php module is not added in the httpd.conf.
-> The php5-mysql is not loaded.
Solution: Check on the server, if the php-mysql is loaded by using the following command.
yum list php-mysql
incase if the o/p as following:
This means that the package needs to be installed using the following command.
yum install php-mysql
Once done, Apache needs to be restarted and the above error will disappear from the logs.
Indicators: This can be due to the following possible reasons.
-> The php module is not added in the httpd.conf.
-> The php5-mysql is not loaded.
Solution: Check on the server, if the php-mysql is loaded by using the following command.
yum list php-mysql
incase if the o/p as following:
This means that the package needs to be installed using the following command.
yum install php-mysql
Once done, Apache needs to be restarted and the above error will disappear from the logs.
0 comments:
Post a Comment