Install lamp on Ubuntu Everyone should be familiar with, but for the current very popular lemp stack how to install with Apt-get, so the article is not much to introduce. Below I use Ubuntu 12.04 LTS As an example to explain how to apt-get install
Yesterday just to the company server installed LNMP Server environment, here simply record the process memo.Here I am in the installation of the time is used Dotdeb source, for reference only.1. Import Dotdeb Source, it is said that the Dotdeb
I encountered a problem yesterday. I was depressed for one afternoon and talked about a php bug, So I almost upgraded PHP. Now I have a vps, and I want to dress php5.4. Compilation is troublesome. So record the installation process. All the commands
Install WordPress in Ubuntu 14.04 Based on Nginx
Introduction:
WordPress is the most popular CMS system in the world. It is very easy to build and manage its own personal homepage or blog.
This article mainly teaches you how to use Nginx, PHP, and
There are too many Session files in PHP and the location where the session files are stored ,. Regarding the excessive number of Session files in PHP and the location where the session files are stored, the default mechanism of PHP is that each php
Php. in ini, where is the default extension address? I used ubuntu12.04 and installed nginx + php-fpm + mysql through apt-get. The following is/etc/php5/fpm/php. extension_dir in ini; & php. in ini, where is the default extension address set?
I used
Purpose
Command
Remarks
Disable the server
Shutdown-H now
Shutdown-H + 3 "system will shutdown after 3 minutes" indicates that the system notifies the user that the system will shut down after 3 minutes
Restart the
Ubuntu Server Nginx + PHP + MySQL Command purpose command remarks disable Server shutdown-h now shutdown-h + 3 "System will shutdown after 3 minutes"This means that the system will notify the user to shut down www.2cto.com and restart the server
Use unixsocket or TCP for communication between nginx and php-fpm and Its Configuration
Preface
Nginx and fastcgi can communicate in either TCP or unix socke. The two methods have their own advantages and disadvantages. Here we first provide two
Use
Sudo apt-Get update; sudo apt-Get upgrade
After the system is updated, the nginx server cannot be used normally.
After checking error_log, we found that:
16:22:04 [crit] 8827 #0: * 3 connect () to Unix:/var/run/php5-fpm.sock failed (13:
After migrating the architecture from Apache + mod_php to nginx + FPM, you will find that if a PHP script error occurs, no record is recorded in eror_log of nginx, and only 500 status code is recorded in access_log. Cause: nginx transfers the PHP
in recent months, the project has been built under the NGINX environment, hereby record the relevant contents of the configuration file, in case of a rainy days, welcome to Vomit Groove ~ ~
Detailed configuration information please consult the
This article mainly introduces the Ubuntu system for PHP plus Redis extension implementation of the relevant information, hope that through this article can help everyone, so that we can achieve this function, the need for friends to refer to the
Dear friends, where is the session stored better? Dear friends, where is the session stored better?
Reply content:
Dear friends, where is the session stored better?
We recommend that you put a SessionID in the Cookie and store the information
As a freelancer, often can receive a lot of development work, these gold master, have like PHP, have habit to wash, have preference SQLite, also have like PG, I even saw MySQL, pg use project together, under the same language, the use of the
PHP XDebug Sublime Text Single-step debugging, Xdebugsublime
Pre-environment: The LNMP has been installed.
1. Installing Xdebug
Can be installed through Pear package management
sudo apt-get install Php-pear
sudo pecl install Xdebug
Here we install
About the problem of too many session files in PHP and the session file save location,
PHP default mechanism: Every PHP request, there will be a 1/100 probability (the default) trigger "session recycling." If "Session recycling" occurs, then
failure : Loading fastcgi module under apache2.4 Web server, always unable to loadanalysis : 1, find the document process found, Apache also has another function similar module, mod_fcgid, many people say, Fcgid is better than fastcgi compatibility,
1, the path of php.ini:Phpinfo ()Loaded Configuration File:/etc/php5/fpm/php.ini to modify thisThere is also a php.ini file in/etc/php5/fpm/cgi, which modifies this file. Personal testing doesn't work.2. Display PHP error message in Web pageThe PHP
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.