Original source: http://51network.blog.51cto.com/864602/1434360
Today yum Install PHP-FPM (your company made RPM package and source) error
The error message is as follows:
1 2 3 4 5
--> finished Dependency resolution php-fpm-5.3. 10-
Lnmp
LNMP One-click installation package is a Linux shell can be written for Centos/rhel/fedora/aliyun/amazon, Debian/ubuntu/raspbian/deepinserver/mint Linux LNMP (nginx/mysql/php), Lnmpa (Nginx/mysql/php/apache), LAMP (apache/mysql/php) Production
View CentOS Version:
[root@iz23d ~]# cat/etc/centos-releaseCentOS Linux release 7.2.1511 (Core)
1, delete the previous version of PHP:
[root@iz23d ~]# yum remove php* php-common Loaded plugins:langpacks Repository Base is listed more than E in the
Have nothing to do, play a Linux curl command. Very simple requirements to carry cookies to forge legitimate post requests.
First of all, copy the parameters of the Curl command:
Syntax: # curl [option] [url]
-a/--user-agent Set User
Making Mirrors
1. Download CentOS image
Docker Pull Centos:latest
CentOS version of download is 7.3
2. Start a container by CentOS mirroring
Docker Run-i-T Centos/bin/bash
3. Install the required environment in the container
Reference: Install
"2010/3/8"
1:Array_pop ($array ());//php Delete the last element of the arrayArray_shift ($array ());//Delete First element
2:java1.5 written on the program, let put on the java1.4 server running, how to do, Internet search a bit,The following
Recently used PHP to do projects with a post to submit data and there is a session to do the record, run up, but there is a small problem, is submitted after the previous page will be back when it would appear page expired, to click Refresh can open
Display_errors=on Open PHP error prompts, the line item should be set to off
error_reporting (e_all);//test page output error hint
ini_set (' display_errors ', TRUE)//Error output prompt, this page is valid, priority is higher than
Found an easter egg hidden in PHP. A Web page written in PHP, followed by a string "=phpe9568f36-d428-11d2-a769-00aa001acf42" as a parameter in the back of its URL, is presented with a photo of a puppy.
Depending on the version of PHP, the picture
I was built in the CENTOS5 environment of the Nginx server, using the PHP-FPM way to drive PHP, the following description of the use of the configuration process.
Environment:
Operating system: CentOS 5
nginx-1.0.12
php-5.3.10
1. Install php-5.3.10
$user [phonenumber]
";
>
Quotes to note ...
Call HTML phone features square brackets must be enclosed in quotation marks
The other brackets must not be enclosed in quotes
The simplest method is to find the PECL in the PHP installation directory.
Automatic installation:
#/Usr/local/PHP/bin/PECL install APC
Follow the prompts below to complete step by step
Configuration/Etc/PHP. iniAdd at the endExtension = APC.
To enable curl, open PHP. ini, find "extension = php_curl.dll", remove the comment ";", and restart Apache.
If the call to undefined function curl_init () problem still occurs, first check PHP. which directory is the extension_dir value of ini?
Preface I have been using PHP for more than two years. I have prepared and written some frequently-used design patterns based on my own practical experience. before using the design patterns, I must first understand the design patterns, therefore,
Today, we will talk about the strtr () function used to replace PHP Strings. For beginners, The strtr () function of the PHP string replacement function is still relatively simple, and we hope that the content introduced in this article will give
IntSubstr_count(String haystack, string needle [, int offset [, int length]) This method traverses the string to be tested. $ STR contains any sensitive words contained in the $ allergicword array:
$ Allergicword = Array; $ I 0) {$ info = $ content;
Use PHP's ob_start (); to control your browser cache!
The output control function allows you to freely control the output of data in the script. It is very useful, especially when you want to output the file header after the data has been output.
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service