In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article will explain in detail how to use suse to install php, the content of the article is of high quality, so the editor will share it with you for reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.
Suse install php method: 1, install Libxml;2 through "make install", install "php-5.5.14.tar.gz"; 3, copy configuration file; 4, modify Apache2 and configure httpd.conf to support PHP;5, restart Apache.
This article operating environment: linux5.9.8 system, PHP5.5.14 version, DELL G3 computer
How does suse install php in detail?
Install php under suse linux and make apache support php
1. Install Libxml libxml2-2.7.6.zip
# unzip libxml2-2.7.6.zip#. / configure-- prefix=/usr/local/services/libxml2-- with-zlib=/usr/local/services/zlib/ # make # make install
two。 Install php-5.5.14.tar.gz
# tar-zxvf php-5.5.14.tar.gz #. / configure-prefix=/usr/local/services/php/-with-mysql-with-apxs2=/usr/local/services/apache2/bin/apxs-with-libxml-dir=/usr/local/services/libxml2
Note:-- there are no parameters after with-mysql, because mysql is installed using the rpm package
3. Copy configuration fil
# cp php.ini-production / usr/local/services/php/lib/php.ini
And modify short_open_tag = On
4. Modify Apache2 configuration httpd.conf to support PHP
Insert the following in AddType application/x-gzip .gz .tgz
AddType application/x-httpd-php .phpAddType application/x-httpd-php-source .phps
5. Create a test file with the extension PHP
6. Restart Apache
# / usr/local/services/apache2/bin/apachectl restart on how to install php using suse to share here, I hope the above content can be helpful to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
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: 268
*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.