Results for “PHP”

WordPress “Missing Temporary Folder” Error Fix

Yesterday while writing a blog post, I encountered an image upload error — the file would reach 100% upload progress but then throw an “Upload Failed” message, indicating “Missing a temporary folder.” Since I had recently switched VPS, I initially assumed it was an image directory permissions issue, but it turned out to be a PHP configuration problem instead. …

Nginx Configuration File nginx.conf: A Complete Guide

PS: I’ve been using Nginx for two to three years now, and I often encounter new users asking some very basic questions. I don’t have time to answer them one by one, so this afternoon I spent some time compiling a share of the main Nginx configuration parameter explanations based on my own experience, also referencing some online content. This is currently the most complete Nginx configuration guide…

How to Install LNMP Stack with One Command

System Requirements: CentOS/Debian/Ubuntu Linux systems need 2GB+ of free disk space and 128MB+ of RAM. For OpenVZ, 192MB+ is recommended (do not use a 64-bit system with low memory). The VPS or server must have an active internet connection! Linux is case-sensitive, so please pay attention when entering commands! LNMP one-click installation package V1 …

How to Install and Remove Software Using Yum on CentOS

To install a single package: yum -y install httpd
To install multiple similar packages: yum -y install httpd*
To install multiple dissimilar packages: yum -y install httpd php php-gd mysql
To uninstall a single package: yum -y remove httpd
To uninstall multiple similar pac…

A Roundup of Several Great Open-Source E-Commerce Systems

Amazon founder Jeff Bezos once said, “In the real world, the most powerful weapon for a store is location, location, location, while for us, the three most important things are technology, technology, technology.” It goes without saying that if you want to enter e-commerce, the e-commerce system…

How to Choose a Linux Web Server: Nginx vs. Apache

The rapid rise in Nginx’s popularity alongside Apache’s steady decline in web server market share has sparked a lot of speculation, with many industry professionals believing this trend will make solution selection in new deployment workflows much clearer. In fact, I’ve recently been busy with a fairly large-scale server setup project …

How to Install XAMPP 1.8.3.4 on Popular Linux Systems

How to Quickly Set Up a Local Test Server with XAMPP
XAMPP should be no stranger to webmasters. If you want to quickly set up an Apache host for testing websites, this is an excellent choice. XAMPP is a completely free and easy-to-install Apache distribution containing MySQL, PHP, and Perl. The XAMPP open source package’s setup makes installation …

LVS Cluster Architecture

This article primarily introduces the architecture of LVS clusters. It first presents the general architecture of LVS clusters and discusses their design principles and corresponding characteristics; finally, it applies LVS clusters to building scalable network services such as Web, Media, Cache, and Mail.
1. Introduction
Over the past decade or so, the Internet has evolved from …

Nginx Bandwidth Limiting in LNMP Environments

I was looking into bandwidth throttling recently — out of pure boredom, really. For one, I don’t have any site that people are flocking to and relentlessly leeching data from, and for another, I honestly just didn’t know what else to tinker with… Bandwidth limiting under Nginx seems relatively straightforward. Below is the testing process I ran between two VPS instances, using a BlueVM $9.95/mo…