Home  >  Article  >  Backend Development  >  Compile and install apache2, mysql5 and php5 under Slaris10 system_PHP tutorial

Compile and install apache2, mysql5 and php5 under Slaris10 system_PHP tutorial

WBOY
WBOYOriginal
2016-07-15 13:23:31803browse

Slaris10 is fully installed by default
# uname -srvmpi
SunOS 5.10 s10_58 sun4u sparc SUNW,Ultra-250 //Operating environment
Go to the website to download and install gcc autoconf automake bison ncurses Wait for the compilation environment software.
#PATH=/usr/sbin:/usr/bin:/usr/local/bin/:/usr/ccs/bin
Compile and install HTTPD2
# tar xvf httpd-2.1.3-beta.tar
# cd httpd-2.1.3-beta
# CC=gcc CFLAGS="-O6" CXX=gcc CXXFLAGS="-O6 - felide-constructors -fno-exceptions -fno-rtti"

//The previous line of command can be omitted, and I don’t quite understand its specific meaning.
# ./configure --enable-so
//DSO mode installation apache
# make
# make install

//Edit Configuration file httpd.conf, add the following changes, start httpd successfully
# vi /usr/local/apache2/conf/httpd.conf

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/446854.htmlTechArticleSlaris10 is fully installed by default # uname -srvmpi SunOS 5.10 s10_58 sun4u sparc SUNW,Ultra-250 //Operating environment to website Download and install gcc autoconfautomake bison ncurses and other compilation environment software...
Statement:
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