First, the deployment lamp environment, installation sequence
Second, compile, install PHP
Third, install XCache, for php (opcode) acceleration
Iv. Other
First, the deployment lamp environment, installation sequence
Compiling and
One, the benefits of Phpize
When are we going to use phpize? When we install PHP:
'./configure '--prefix=/usr/local/php '--with-mysql=/usr/local/mysql '--with-zlib-dir '--with-freetype-dir=/ usr '--with-jpeg-dir=/usr '--with-png-dir=/usr
"Help" apache2.2.21 PHP 5.2.17 configuration Issues
Apache and PHP are installed, the service has been started, as well as the book configuration, and also modified the system environment variables, the httpd.conf file at the end of the following
apache2.4+php5.6 Cannot load Php5apache2_4.dll
Httpd.exe:Syntax error on line 530 of C:/workspace/work/apache24/conf/httpd.con
F:cannot load C:/workspace/work/php564/php5apache2_4.dll into server: \xd5\xd2\
Xb2\xbb\xb5\xbd\xd6\xb8\xb6\xa8\xb5\xc4\xb3
1. Get the Installation File: http://www.php.net/downloads.php php-5.3.8.tar.gz
Get the support files required to install PHP: http://download.csdn.net/download/netlong339/1351852 libxml2-2.6.32.tar.gz
2. Install libxml2
1 tar zxvf
Englisth DOC: http://httpd.apache.org/docs/2.0/platform/windows.htmlBecause of the time, the article has not been fully translated. It should be enough for convenient configuration. It will be completed in another day. :) I. OS requirements mainly
This article is a detailed analysis of the PHP operating mode introduced, the need for a friend referencePHP operating mode has 4 minutes:1) CGI Universal Gateway Interface (Common Gateway Interface))2) fast-cgi resident (long-live) type CGI3) CLI
I tried it today. Add extensions in PHP, see a lot of information, the details are inconsistent, the others are roughly the same.Let's develop a function called ccvita_string, whose main function is to return a character, and the corresponding PHP
PHP Environment Configuration
Configure ApacheConfiguration file Syntax Description: httpd.conf// annotation method is "#"
LoadModule, loading the PHP moduleLoadModule php5_module C:/wamp/php/php5apache2_2.dll
AddType, check to see if you can
Accelerator to participate in the test: XCACHE,OPCACHE,HHVMXCache IntroductionThe principles and functions of the PHP accelerator (see PHP-FPM server for Lamp architecture ) are described earlier, and XCache, as one of the most widely used PHP
Download the following files to/usr/local/src/
Apache (the most popular Web server platform for UNIX platforms) 2.tar.gz
MySQL (best combination with PHP) -5.0.22.tar.gz
PHP (as the current mainstream development language)
The new version of the old edition is still a little different. Now explain the steps.
Installation steps:
1.mysql
Download the MySQL for Linux RPM package on the following page
http://www.mysql.com/downloads/
Save to/home/tmp Directory
List
When I first started to learn PHP, configure the Apache virtual directory is really broken scalp, did not understand the principle, so it is difficult.
1. Open the "conf/httpd.conf" file under the Apache installation directory, find "Include conf/
Installation environment is UBUNTU13.10 version i386, has installed Nginx server and MySQL server, now the task is to install PHP and memcache. Direct dry goods, needless to say.1, PHP installation and error troubleshootingBecause many library files
PHP official update is very diligent. A few days to see, and updated. So upgrade the VPS PHP chant. The compiler ran running with the following error:cc:internal error:killed (program CC1)obviously this is a compilation process that was killed by
Use local ISO file as Yum sourceStep # 1:mount an ISO file# yum Install Createrepo# Mkdir-p/mnt/iso/{1,2,3}# Mount-o LOOP/PATH/TO/CENTOS1.ISO/MNT/ISO/1Step # 2:create a repository# Cd/mnt/iso# Createrepo.Clean repo, enter:# Yum Clean AllStep #
1. Install PHP, configure PHPUnzip the PHP5 to the specified directory and place it directly on the C drive, i.e.: C:\phpModify the PHP directory under Php.ini-development to php.ini, open php.ini Modify the following content:Extension_dir = "./"
Installation Preparation WorkYum Install-y apr-gcc-libpcre-pcre-openssl-*Manual download of the installation is required because the version of Curl in the system package is not supportedwget https://curl.haxx.se/download/curl-7.59.0.tar.gzTAR-XF
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.