Skip to main content

OnlineSupport4u

Ffmpeg on Centos 7 and Centos 6

By PrasadNaik
December 7, 2017

Login to server via SSH Below steps are for Centos 7 yum -y install epel-release rpm –import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro rpm -Uvh  http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release0-5.el7.nux.noarch.rpm yum -y install ffmpeg ffmpeg-devel   Below steps are for Centos 6 yum -y install epel-release rpm –import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro wget https://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-1.el6.nux.noarch.rpm rpm ivh  nux-dextop-release-0-1.el6.nux.noarch.rpm yum -y install ffmpeg ffmpeg-devel   now we need to […]

Read More

Parse html as PHP is easyapache 4

By PrasadNaik
March 27, 2017

  Normal rule in .htaccess to parse html files as php on easyapache 3 are not working on easyapache 4 #AddType application/x-httpd-php .php .htm .html #<FilesMatch “\.(htm|html|php)$”> #SetHandler application/x-httpd-php56 #</FilesMatch>   Below is the code which will need to be added In cpanel, multiphp manager will add the following for force a specific version of […]

Read More

Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

By PrasadNaik
September 9, 2016

While working on a server on installing php 5.6 on centos 6 OS I was getting error “Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again” After googleing around I found this issue is due to https mentioned in the .repo file in /etc/yum.repos.d [root@host yum.repos.d]# ls -la total 28 […]

Read More

Fixed: Strict Standards: Non-static method JLoader::import()

By PrasadNaik
January 12, 2016

Code: Strict Standards: Non-static method JLoader::import() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/import.php on line 38Strict Standards: Non-static method JLoader::register() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/loader.php on line 71 Strict Standards: Non-static method JLoader::import() should not be called statically in /var/www/vhosts/marylynnmurray/yalestationspaandsalon.com/libraries/joomla/import.php on line 39 Strict Standards: Non-static method JLoader::register() should not be called statically […]

Read More

HTTPS to HTTP redirect

By PrasadNaik
October 16, 2015

Redirect your Homepage from HTTPS to HTTP #Redirect your Homepage from HTTPS to HTTP RewriteCond %{HTTPS} on RewriteRule ^$ http://%{HTTP_HOST} [L,R] 1 2 3 #Redirect your Homepage from HTTPS to HTTP RewriteCond %{HTTPS} on RewriteRule ^$ http://%{HTTP_HOST} [L,R]

Read More

libMagickWand.so.2: cannot open shared object file

By PrasadNaik
August 27, 2015

While working on one cPanel server we could see below error in error_log file for one client libMagickWand.so.2: cannot open shared object file The error log were filled by such errors reinstalling imagemagick  using command  /scripts/installimagemagick  didnt work as error were still persisting . So renamed the php,ini file mv /usr/local/lib/php.ini /usr/local/lib/php.ini-old Now to regenerate […]

Read More

Blank PHPmyadmin page in cpanel

By PrasadNaik
August 11, 2015

While working with one hosting client we came across an issue where PHPmyadmin was blank On checking logs on /usr/local/cpanel/logs/error_log we could see below error root@hosonline  [~]# tail -n 10 /usr/local/cpanel/logs/error_log Cpanel::Server::write_buffer(Cpanel::Server=HASH(0x4abf5d8), “HTTP/1.1 401 Access Denied\x{d}\x{a}Set-Cookie: cprelogin=no; HttpOnl”…) called at /usr/local/cpanel/Cpanel/Server.pm line 1132 Cpanel::Server::write_content_to_socket(Cpanel::Server=HASH(0x4abf5d8), IO::Socket::SSL=GLOB(0x4a9c208), 0, “HTTP/1.1 401 Access Denied\x{d}\x{a}Set-Cookie: cprelogin=no; HttpOnl”…, SCALAR(0x20f8ae8)) called at […]

Read More

Install ZendGuard on cPanel server

By PrasadNaik
July 13, 2015

To install ZendGuard on cpanel server follow below steps SSH to server as root user and run below script root@online  [~]# /scripts/installzendopt Updating digest list Fetching http://httpupdate.cpanel.net/cpanelsync/easy/targz.yaml (connected:0)…….(request attempt 1/12)…Using dns cache file /root/.HttpRequest/httpupdate.cpanel.net……searching for mirrors (mirror search attempt 1/3)……loaded mirror speeds from cache……mirror search success……connecting to 67.222.0.10…@67.222.0.10……connected……receiving…100%……request success……Done Downloading tarball for Zendopt Fetching http://httpupdate.cpanel.net/cpanelsync/easy/targz/Cpanel/Easy/Zendopt.pm.tar.gz.linux-generic-64 […]

Read More

An unexpected error occurred. Something may be wrong with WordPress.org

By PrasadNaik
April 12, 2014

Are you getting error below error in wordpress while installing plugin ? “An unexpected error occurred. Something may be wrong with WordPress.org”  The solution for this issue is to check file wp-config.php While troubleshooting issue I see the error was in wp-config.php I commented out below settings to fix this issue /** EXAMPLE – proxy […]

Read More
1 2