Search results: php performance

ATOP for Linux server performance analysis (Guide)

We’re all familiar with top, a real-time system monitor. Some prefer htop and previously I mentioned iotop for disk read/write monitoring. Lets looks at another popular tool for Linux server performance analysis: atop. Advantages of atop Atop is a ASCII full-screen performance monitor which can log and report the activity of all server processes. One feature I really like […]

Increase Performance and lifespan of SSDs & SD Cards

SSDs (solid-state drives) and SD (Secure Digital) cards have a limited number of writes before they wear out. To get the most out of this storage type lets investigate, then make a few adjustments to maximize the life of your SSDs and SD cards. Article refreshed from 3 years ago.   Using iotop to monitor and minimize […]

PHP memory_limit – understanding and increasing this setting

PHP memory_limit is per-script, just as a highway speed limit is per-vehicle. For example, although PHP’s memory limit may be set high to 1GB, that does not mean that scripts will pile up to use that 1GB. Let’s take a quick look at understanding PHP’s memory_limit setting.   PHP memory_limit is a per-script setting PHP.net’s […]

Strip Down Apache to Improve Performance & Memory Efficiency

Can you believe that its been 5 years since the release of Apache 2.4?! Still, most Apache based web servers continue to run Apache version 2.2 or even 2.0. This is understandable for the same reasons why Apache web servers are still used more than Nginx… compatibility, official support and features. If you haven’t replaced Apache […]

MySQL Performance Tuning: Tips, Scripts and Tools

With MySQL, common configuration mistakes can cause serious performance problems. In fact, if you mis-configure just one of the many config parameters, it can cripple performance! (see examples) Of course, the performance of MySQL is often tied greatly to the efficiency of your MySQL queries. It’s important to ensure that your performance issues are not […]

Apache Performance: Disable .htaccess

About 3 years ago I wrote a short blog entry about the very basic Apache configuration mistakes and oversights which developers and server admins of the then $500 million dollar Healthcare.gov website made. Most shocking, were elemental oversights, as if devs were not aware of common best practices. Which brings us to another Apache performance related entry. A while […]

Set PHP realpath_cache_size ‘correctly’

Over the last few months I’ve started enabling PHP realpath_cache_size and realpath_cache_ttl for the performance benefits. At the time I followed the settings I found here. It bugged me that I was blindly setting the size of the cache without actually know what and how much storage was being used. In this post I will show you […]

LEMP Raspberry Pi 2 Web Server – Arch Linux, Nginx, MariaDB (MySQL) & PHP

Download the Latest LEMP Raspberry Pi 2 Web Server Image To Do: – Update my.cnf for RPi2 (1G of memory) and enable InnoDB by default. – Fix broken PHP modules. (gd, imap and mcrypt) Change log 09-16-2015 – Fixed sshd root access and enabled autostart of sshd on boot. 09-12-2015 – Tested image on 3 different Raspberry […]

Download LEMP for Raspberry Pi: Nginx + MariaDB (MySQL) + PHP

Download latest image: https://sourceforge.net/projects/lemp-raspberry-pi/files/latest/download Change log 07-16-2014 – After today’s changes RAM usage on first boot is down to <100mb. 07-16-2014 – Set most logs to save to memory instead of SD card. (up to 10M or 1 day max) 07-16-2014 – Reduced system log level from “info” to “warning”. Reduce SD contention. 07-16-2014 – Uninstalled ntpd daemon. Replaced […]

Free Nginx (LEMP) AMI – CentOS, Nginx, MySQL & PHP-FPM

NOTE: I’ve moved all of my web sites from AWS. Also, this Free Nginx AMI is no longer supported and has been merged into Nginx’s official AMI. For most, there are better hosting options available in terms of performance & cost. Ask me about StackLinux SSD hosting. This Amazon EC2 AMI includes the latest Amazon Linux (Centos), […]