How to set different PHP settings for subdomain / subdirectory?

Normally, your hosting account’s PHP configuration file exist in at /conf/php.ini and the setting applied globally for your account. But if there is need to change the default settings for one of your subdomain or subdirectory then follow these steps:

  1. Log in to your account via SSH
  2. Copy the complete file /conf/php.ini to the subdomain / subdirectory folder in which you would like the custom settings applied.
  3. Edit the new php.ini with the custom settings you want applied to the subdomain / subdirectory
  4. Inside the same folder where you copied the php.ini, create an .htaccess file which contains the below line:

SetEnv PHPRC.

This will instruct Apache to create that environmental variable available to all script in that directory and PHP will check it to determine where to search the php.ini.

Note: following step is very important

Certainly, you will not want the outside world to have access to your settings in your php.ini file. So what is the solution? Add the following line to the .htaccess file in the same directory: read more

Posted in PHP | Tagged | Leave a comment

How to check OpenSSL vulnerability?

Please note the following versions of OpenSSL:

  • OpenSSL 1.0.1 through to 1.0.1f (inclusive) is vulnerable
  • OpenSSL 1.0.1g is NOT vulnerable
  • OpenSSL 1.0.0 is NOT vulnerable
  • OpenSSL 0.9.8 is NOT vulnerable

To check whether your server is vulnerable, on CentOS / Red Hat, run:

rpm -qa openssl*

Or

yum info openssl | egrep \”Package|Version|Release\”

On Ubuntu Server:

dpkg -l | grep openssl

(On Ubuntu, ensure the version returned matches the ones mentioned here.)

You can patch / upgrade the openssl version yourself. Just run the following commands on your appropriate server(s).

# For the Linux cPanel server:

  • yum update openssl -y
  • for service in sshd pure-ftpd httpd exim cpanel courier-imap ; do /etc/init.d/$service restart; done
  • /etc/init.d/httpd stop;/etc/init.d/httpd startssl

 # For the Linux Plesk server:

  •  yum update openssl -y
  • /etc/init.d/psa stopall
  • /etc/init.d/psa startall
  • /etc/init.d/psa restart

# For the Linux plain server: read more

Posted in Web Hosting | Tagged | Leave a comment

Intel unveils Intel Xeon E7 equipped with 10 hearts

Intel-10-core-Xeon-E7-Processors

Empowered, the new Intel Xeon E7 will create servers equipped with a maximum of 80 physical cores, an ideal offer for critical applications.

Intel has just lifted curtain on its new processors, Xeon Westmere-EX new generation. These chips are engraved in 32 nm and integrate Hyper-Threading technology. They also provide instructions for using the AES-NI encryption and secure execution of TXT technology. This range is divided into three subsets: the Xeon E7-2800 (bisocket), E7-4800 (quadrisocket) and E7-8800 (octosocket). read more

Posted in Dedicated Servers, Latest News | Tagged , , , , | Leave a comment

Dell EqualLogic Hybrid Arrays for Virtual Desktop Infrastructure

If you are one of those who always keep an eye on new technology updates, then you surely know the benefits offered by Desktop Virtualization. If you are still unaware about this form of technology, then you must read this article. Desktop Virtualization or in short VDI simplify the management tasks and reduce the costs. These potential TCO (Total Cost Ownership) benefits are mainly noteworthy, but VDI deployments still often require you to make an up-front investment in new hardware and software. Particularly, the cost and management associated with storage for VDI deployments can be a big challenge, as you need to consider a solution that can handle the performance and capacity requirements that come along with VDI. read more

Posted in General Discussion, Latest News, Technology | Tagged , | Leave a comment

Cloud-as-a-Service 2013 year in review

2013 was the year of a very advanced for cloud computing, one where the cloud models such as SaaS / PaaS / IaaS / DaaS / EaaS / or rather Everything-as-a-Service has emerged and accepted positively.

Today, demand for traditional hosting solutions decreasing, even if you announce a project and in case it does not appear in the term Cloud, eyebrows of many people will go up. In a few years, cloud computing with its new models of automatically resource consumption has established itself as a major trend in IT. But between tests, adoptions or marriages between more or less sensitive public cloud and private cloud, and ad effects, the reality of enterprise cloud remained questionable. read more

Posted in Cloud Computing, Cloud Hosting | Tagged , , , , , , , | Leave a comment