yum PHP installation "as an Apache module " in CentOS

We want to setup Ellg on a VPS.
We found on Elgg web site the following:
---------------------------
    PHP 5.2+ needs to be installed as an Apache module (not in CGI mode or safe mode) with the following libraries:
        GD and Freetype (for graphics processing, eg user icon rescaling and Captcha)
        JSON (for API functionality)
        XML (not installed/compiled by default on all systems)
        Multibyte String support (for internationalisation)
---------------------------
Which options should we use with yum to achieve this ?