Compile and install apache2, mysql5, and php5 in the Slaris10 system. By default, the full installation of Slaris10 # uname-srvmpiSunOS5.10s10_58sun4usparcSUNW, Ultra-250 operating environment to the site to download and install gccautoconfautomakebisonncurses and other compiling environment software Slaris10 is fully installed by default.
# Uname-srvmpi
SunOS 5.10 s10_58 sun4u iSCSI SUNW, Ultra-250 // Operating Environment
Download and install gcc autoconf automake bison ncurses and other compiling environment software from the website.
# 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 command line does not need to be used. I do not quite understand its specific meaning.
#./Configure -- enable-so
// Install apache in DSO mode
# Make
# Make install
// Edit the configuration file httpd. conf. add the following changes and start httpd successfully.
# Vi/usr/local/apache2/conf/httpd. conf
Developers # uname-srvmpi SunOS 5.10 s10_58 sun4u iSCSI SUNW, Ultra-250 // download and install gcc autoconfautomake bison ncurses and other compiling environment software from the website...