In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "Introduction to Ubuntu12 Compilation and Installation of PHP5.3". The explanation content in this article is simple and clear, easy to learn and understand. Please follow the ideas of Xiaobian slowly and deeply to study and learn "Introduction to Ubuntu12 Compilation and Installation of PHP5.3" together.
Install Apache 2.2
The code is as follows:
sudo apt-get install apache2 -y
Then install MySQL 5.5
The code is as follows:
sudo apt-get install mysql-server-5.5 -y
Next is compiling dependency environments:
The code is as follows:
sudo apt-get install gcc g++ autoconf build-essential -y
Related lib support libraries:
The code is as follows:
sudo apt-get install libxml2 libxml2-dev libevent-1.4-2 libevent-dev bzip2 libbz2-dev libcurl3-gnutls libcurl4-gnutls-dev libpng12-0 libpng12-dev libjpeg62 libjpeg62-dev libfreetype6 libfreetype6-dev libmcrypt4 libmcrypt-dev zlib1g-dev libtidy-dev libmysqlclient-dev -y
Installation:
The code is as follows:
./ configure --prefix=/usr/local/php --with-mcrypt --with-gettext --with-mysql --with-gd --with-jpeg-dir --with-png-dir --with-curl --with-freetype-dir --enable-gd-native-ttf --enable-mbstring --enable-sockets --with-pdo-mysql --enable-fpm --with-zlib --enable-zip --with-bz2 --enable-bcmath --with-tidy --with-fpm-user=daemon --with-fpm-group=daemon
sudo make
sudo make install
Then install cli and dev:
The code is as follows:
sudo apt-get install php5-cli php5-dev
Apache2 support:
The code is as follows:
sudo apt-get install libapache2-mod-php5
Thank you for reading, the above is the "Ubuntu12 compilation and installation of PHP5.3 introduction" content, after the study of this article, I believe that we have a deeper understanding of the Ubuntu12 compilation and installation of PHP5.3 introduction, the specific use of the situation also needs to be verified. Here is, Xiaobian will push more articles related to knowledge points for everyone, welcome to pay attention!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.