howto upgrade apache 2.2 to apache 2.4 and php 5.6 on centos, oracle uek and redhat gnu/linux

howto upgrade apache 2.2 to apache 2.4 and php 5.6 on centos, oracle uek and redhat gnu/linux

add extra repos, remove apache 2.2, install apache 2.4 & php 5.6, workaround mod_dnssd error

  wget https://dl.iuscommunity.org/pub/ius/stable/Redhat/6/x86_64/epel-release-6-5.noarch.rpm
  rpm -ivh epel-release-6-5.noarch.rpm

  wget https://dl.iuscommunity.org/pub/ius/stable/Redhat/6/x86_64/ius-release-1.0-14.ius.el6.noarch.rpm
  rpm -ivh ius-release-1.0-14.ius.el6.noarch.rpm 

  yum remove httpd
  yum remove httpd-tools

  yum install php56u-fpm-httpd.noarch

  system-config-firewall

  yum remove mod_dnssd

  service httpd start
  service php-fpm start

  chkconfig httpd on
  chkconfig php-fpm on

this worksaround the error

Starting httpd: 
httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: 
Syntax error on line 1 of /etc/httpd/conf.d/mod_dnssd.conf: 
Cannot load modules/mod_dnssd.so into server: 
/etc/httpd/modules/mod_dnssd.so: undefined symbol: unixd_setup_child
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s