This article describes how to build a mediawiki site in Gentoo Linux. mediawiki is a wiki encyclopedia website similar to wikipedia.org.
Each step is a real operation record. In theory, Gentoo Linux can be installed by following this step. If it
Tomcat runs php tomcat and runs php Xml code. conf/web under the tomcat installation directory. xml removes the following code comment from cgi org. apache. catalina. servlets. CGIServlet debug 0 cgiPathPrefix WEB-INF/cgi passShellEnvironment true
Tomcat runs PHP XML code in the Tomcat installation directory conf/web.xml The following code comment out of CGI org.apache.catalina.servlets.CGIServlet debug 0 Cgipathprefix web-inf/cgi passshellenvironment True executable E:\Program
1. Package fpm into PHP source code
GZIP-CD php-5.2.8-fpm-0.5.10.diff.gz | Patch-d PHP-5.2.8-P1
2. Compile and install PHP remember to bring
enable-cgi? enable-fpm two parameters Oh.
The following issue was encountered: Issue 1, when compiling
some of the Configure parameters when compiling PHP./Configure–prefix=/usr/local/php PHP installation directory –with-apxs2=/usr/local/apache/bin/Apxs–with-config-file-PATH=/USR/LOCAL/PHP/ETC specifies PHP.INI location
php-cgi, why not? What does the PHP-FPM child process do?PHP-CGI is the original PHP comes with the FASTCGI process Manager, there are some shortcomings, such as not smooth restart, process management poor.PHP-FPM can be seen as an upgraded version
Problem:LNMP servers running on the wire, the Curl modules installed for historical reasons only support HTTP and do not support HTTPS.A similar request or post interface (applet) is not working properly.First, the solution:Compile and install curl,
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
On detailed options, you can add additional options at compile time, in addition to the installation brief described above.
Apache Module
Syntax:--with-apache=dir
Description: Use this option to let PHP use Apache module, DIR's string can
Java Programmer-Common Linux basic Operations collectionInstallation settings for JDK under Linux1, to www.sun.com download J2sdkfor Linux2, install Jdk1.4.2for Linux, the following is the example under RedHat9.0:Log in as Root(1) Open a terminal(2)
This script has been used on the production server for more than a year, this script advocates simple aesthetics, only need a script to be able to automatically configure LNMP on any server with network.This script will be used in the script
A few words of nagging:Nginx Cache features are: Proxy_cache/fastcgi_cacheThe role of Proxy_cache is to cache the contents of the backend server, which may be anything, including static and dynamic.The role of Fastcgi_cache is to cache fastcgi
This article mainly introduces the PHP commonly used compiler parameter Chinese explanation, this article uses the detailed Chinese annotation the PHP compilation parameter function, needs the friend to be possible to refer to under
NGXIN;PHP-FPM after installation, HTML static page is no problem, but Phpinfo page returns 200, but always blank page
There is no error, consider should be nginx PHP page has been transferred to the PHP processing, so the problem should be in the
For LNMP installations, each operational dimension may have been hundreds of times. Here's what I think is the simplest and most efficient installation scenario.
1. Upgrade Yum to the latest version:
The code is as follows
Copy
Recently, a lot of friends asked me about the installation process of PHP under Windows XP, just recently I successfully installed the PHP4.23 in a modular manner on my own machine. Since so many friends need it, I'll take the most common IIS and
A SystemSystem version centos5.0Software source code package storage location/USR/LOCAL/SRCSource Package compilation installation location (prefix)/usr/local/software_nameScripts and where the maintenance program resides/usr/local/sbinMySQL
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.