This article is mainly about the use of packaged C extension under Linux. So file and under different, detailed code and configuration scenarios please join another blog: http://blog.csdn.net/maverick1990/article/details/46519045
Steps:
1. Install
This article describes how to install the APC module in windows and linux.
APC, short for Alternative PHP Cache, is officially translated as "optional PHP Cache". It provides us with a framework for caching and optimizing PHP intermediate code. APC
This article we mainly share with you how Linux installs PHP, this article in the form of graphics and pictures to share, I hope to help everyone.
1. Download the appropriate version from the PHP website
Because the PHP download page only a few
This article is mainly to share with you the Linux installation of the Redis extension of the method, I hope to help everyone.
1. Download PhpredisDownload Address: https://github.com/nicolasff/phpredis/archive/2.2.4.tar.gz2. Installing RedisUpload
: This article mainly introduces xcache to accelerate php. For more information about PHP tutorials, see.
1. Installation
# Tar xf xcache-3.2.0.tar.bz2
# Cd xcache-3.2.0
#/Usr/local/php/bin/phpize
This article mainly introduces the PHP-FPM service startup script method, very good, with reference value, the need for friends can refer to the following
This is my own use, no problem, there are three paths need to modify their own
: This article describes how to write the first PHP extension to calculate the number of arrays. For more information about PHP tutorials, see. Requirement: write the first PHP extension, which contains a function called maxwelldu. maxwelldu can
: This article mainly introduces how to use C extension PHP (packaged as so) in Linux. For more information about PHP tutorials, see. This article mainly talks about packaging C extension program. so file in Linux and Windows different, detailed
This article mainly introduces the PHP implementation of the HTML into the image of the method, interested in the reference of friends, I hope to be helpful to everyone.
The server-side parsing transforms the compiled HTML into a picture.
Because
If the file upload is too large to produce errors, this article mainly introduces PHP ReadFile () modified file upload size settings, interested to know
Using PHP ziparchive generated compression package, small compressed package can be downloaded,
: This article describes how to configure the yaf framework in Mac (19th). If you are interested in the PHP Tutorial, refer to it. Machine: mac
Server: nginx
Yaf version: 2.3.5
If you do not know how to add yaf to mac nginx, it is also described on
: This article describes how to connect Nginx to PHP in MacosX. For more information about PHP tutorials, see. Install Nginx
Use brew package management tool to install Nginx
Http://brew.sh/
The official website is clear and easy to use.
After the
Phppdooracle Chinese garbled-Zhou dashao at/etc/profile. d/resume oracle. sh
The content is as follows: Set the encoding in NLS_LANG
1 ORACLE_HOME=/usr/lib/oracle/12.1/client642 C_INCLUDE_PATH=/usr/include/oracle/12.1/client643
The PHP script monitors Nginx502 errors and automatically restarts php-fpm and nginxphp-fpm. The PHP script monitors Nginx502 errors and automatically restarts php-fpm. nginxphp-fpm recently occurs on the server Nginx502BadGateway from time to time.
Several machines using nginx + php-fpm can occasionally see such content in the php-fpm.log reference Oct2823: 13: 53.849419 [NOTICE] fpm_got_signal (), line73: receivedSIGCHLDOct2823: 13: 53.849490 [WARNING] fpm_children_bury (several machines
If the file upload is too large to produce errors, this article mainly introduces PHP ReadFile () modified file upload size settings, interested to know
Using PHP ziparchive generated compression package, small compressed package can be downloaded,
Objective
This is a long time to write a memo, writing PHP extension 100 degrees are articles, but a lot of articles are very old. Some of the examples are not running through. A little awkward.This article is used to record your own notes as a memo.
Phpmyadmin cannot be logged on because I modified the password of my mysql server. Baidu later found the cause, after changing the mysql password, we also need to modify the config in The phpmyadmin directory. inc .... phpmyadmin cannot be logged on
After the LNMP environment is set up, an AccessDenied error occurs. now, the File permission problem has been ruled out and the Nginx problem has been ruled out, but PHP cannot be resolved. I found that many of the online bulls used Nginx logs to
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.