db yum_repositories set dungog repository \ BaseURL http://sme.dungog.net/packages/smeserver/7.0/i386/dungog/ \ EnableGroups yes \ GPGCheck no \ Name 'SME Server 7 - dungog' \ Visible yes \ status enabled db yum_repositories set centosplus repository \ BaseURL http://mirror.nsc.liu.se/CentOS/4/centosplus/i386/ \ EnableGroups no \ GPGCheck no \ Name 'CentosPlus' \ Visible yes \ status enabled expand-template /etc/yum.conf yum remove php-domxml yum update make the fragments expand the fragmnets /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf /sbin/e-smith/expand-template /etc/php.ini # pico 20LoadModule80PHP paste { return "" unless (exists ${php}{status} and ${php}{status} eq "enabled"); return "LoadModule php5_module /usr/lib/apache/libphp5.so"; } pico 30AddModule60PHP paste { return "" unless (exists ${php}{status} and ${php}{status} eq "enabled"); return "AddModule mod_php5.c"; } pico 65AddIcon00PHP paste { return "" unless (exists ${php}{status} and ${php}{status} eq "enabled"); $OUT =< AddIcon /icons/php4.gif .php3 .php4 .php .phtml AddIcon /icons/phps.gif .phps HERE } pico 50PathsDirectories include_path = ".:/usr/share/pear" doc_root = user_dir = extension_dir = /usr/lib/php5 enable_dl = On expand the fragmnets /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf /sbin/e-smith/expand-template /etc/php.ini