Tag Archive: PHP

Dec 10

How to: Set the Timezone on Ubuntu Server

How to: Set the Timezone on Ubuntu Server If you are using a VM hosted with a public cloud provider you probably have realized that they generally are deployed using UTC as the default timezone. In Windows I was very familiar modifying that but now that I have deployed an Ubuntu server I wasn’t sure …

Continue reading »

Dec 10

Resolve: Your web-server does not have the mcrypt module installed. Without it, encryption will be a lot slower.

Resolve: Your web-server does not have the mcrypt module installed. Without it, encryption will be a lot slower. (How to install mcrypt in an Ubuntu server) I have installed UpdraftPlus in order to manage backups of the site. The downside is they seem to be moving towards having you buy addons for a lot of …

Continue reading »

Dec 09

How to: Install Zend OpCache for php and WordPress

How to: Install Zend OpCache for php and WordPress OpCache is a mayor tool to increase the performance of your site. Every time a WordPress page is visited the system needs to compile the php code in order to render the page. OpCache allows you to store those compiled bits in memory and serve them …

Continue reading »

Dec 09

How to: Install Memcache for php and WordPress

How to: Install Memcache for php and WordPress In what seems the eternal quest of having a good performing hosting server one of the tools that are generally referred to is Memcache. What Memcache offers you is a centralized server/cluster that holds in memory cached information. Some of the reasons why it is so popular …

Continue reading »

Dec 09

What is: “Wasted Memory”? (Zend OpCache & Memcached)

What is: “Wasted Memory”? (Zend OpCache & Memcached) As I have been trying to fine tune all the performance settings on our new Linux box there was a new term we came across: “Wasted Memory”. Zend OpCache has a setting that will cause the restart of your OpCache if the wasted memory exceeds a threshold. …

Continue reading »

Dec 09

How to: Send emails from WordPress in a Linux host

How to: Send emails from WordPress in a Linux host WordPress uses Php libraries in order to send emails. What this means is that if your php is not set up correctly it won’t know how to send emails. I was hoping all it would take was just a few entries with an SMTP server …

Continue reading »

Dec 06

How to: Remove an Application from the New Relic Applications Dashboard

How to: Remove an Application from the New Relic Applications Dashboard The New Relic agent is a powerful ¬†lightweight agent that helps you monitor the performance of your Web Application. Thanks to it you can identify potential problems, measure performance, and deliver a better user experience. Now, New Relic won’t let you delete an application …

Continue reading »

Dec 06

How to: Uninstall the New Relic agent for a Web App

How to: Uninstall the New Relic agent for a Web App The New Relic agent is a powerful ¬†lightweight agent that helps you monitor the performance of your Web Application. Thanks to it you can identify potential problems, measure performance, and deliver a better user experience. So why would you want to uninstall it? Well, …

Continue reading »

Dec 06

Changing file permissions and recommendations for WordPress in a Linux system

  Changing file permissions and recommendations for WordPress in a Linux system In order to harden your WordPress installation, having the recommended set of file permissions is important. Below are a few recommendations on that gathered from around the web. First, we have a brief summary of the recommendations: # reset to safe defaults find …

Continue reading »

Nov 07

How to: Connect to a MySql server using SSL from a WordPress Site

How to: Connect to a MySql server using SSL from a WordPress Site Truly you could title this post simply How to Connect to a MySql server using SSL from a PHP application. The key is in the connection construct, which by default in WordPress it looks sort of like this: $this->dbh = mysql_connect( $this->dbhost, …

Continue reading »

Older posts «

» Newer posts

Fetch more items