Monthly Archives: April 2016

#webdevs its time to update your #goog analytics #js scripts

webdevs its time to update your goog analytics js script it should now be:

  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
  ga('create', 'UA-3900796-24', 'auto');
  ga('send', 'pageview');

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

centos oracle uek red hat enterprise linux rpm repos for extra packages such as php 5.6

OSDE

centos oracle uek red hat enterprise linux 5, 6 & 7 rpm yum repos for extra packages such as php 5.6

http://www.rackspace.com/knowledge_center/article/install-epel-and-additional-repositories-on-centos-and-red-hat

recommended procedure is

install rpm-gpg-key IUS-COMMUNITY-GPG-KEY

# 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 install nginx
# yum install php56u-fpm

View original post