Home > Backend Development > PHP Tutorial > php compilation (apache) apache tutorial apache foundation apachebench

php compilation (apache) apache tutorial apache foundation apachebench

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-29 08:48:54
Original
907 people have browsed it

'./configure' '--with-mysqli=/usr/local/mysql/bin/mysql_config' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-gd' '--with-jpeg-dir=/usr/local/lib' '--with-pdo-mysql' '--enable-mbstring' '--with-freetype-dir=/usr/local/lib'

./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs  --with-openssl --with-curl --enable-fpm --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-gd --enable-mbstring --with-jpeg-dir=/usr/lib64 --with-freetype-dir=/usr/lib64

./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs  --with-openssl --with-curl --enable-fpm --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-gd --enable-mbstring 

修改apache配置文件支持php
修改DirectoryIndex index.html 为DirectoryIndex index.html index.php
并添加AddType application/x-httpd-php .php

以上就介绍了php编译(apache),包括了Apache方面的内容,希望对PHP教程有兴趣的朋友有所帮助。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Apache automatically stops
From 1970-01-01 08:00:00
0
0
0
apache restart failed
From 1970-01-01 08:00:00
0
0
0
apache error
From 1970-01-01 08:00:00
0
0
0
How apache logs
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template