Home > Linux Tricks, PHP Configuration > Installing PHP On A Clean Server

Installing PHP On A Clean Server

If you just got a clean server without PHP installed and you are trying to do this, you might receive the following error: : . This means you don’t have c compiler installed. Just type in yum install gcc and install all the necessary libs. Then you might receive the following message while trying to configure PHP:

configure: error: . Please check your .

Type in: yum list | grep xml

Your outpout should be like this:

Then you need to install everything related to libxml2 that is not yet installed. The easiest way is to type: yum install libxml*.

Now you’re welcome to make PHP as usual.

  1. No comments yet.
  1. No trackbacks yet.