In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "how to install php package in liunx". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn how to install php package in liunx.
Liunx install php package method: 1, download php installation source package; 2, use tar to extract; 3, execute the command "cd php-5.5.11"; 4, configure the installation environment; 5, in the decompressed directory to execute the compilation command; 6, execute the installation command.
The operating environment of this paper: linux5.9.8 system, PHP5.5.11, Dell G3.
How does liunx install the PHP package?
[download php source code]: download the installation source code package of php from php's official website.
[extract installation package]: the downloaded installation package is in a compressed gz format. You can extract it in linux using the built-in tool tar, and execute the command in the directory where the installation package is located: tar-zxvf php-5.5.11.tar.gz
[configure installation variable]: open the extracted directory-execute command: cd php-5.5.11; configure installation environment-execute command:. / configure-- prefix=/usr/local/servers/php, "/ usr/local/servers/php" is the installation path, you can change it to your favorite installation path.
[compile source code]: execute the compilation command in the decompressed directory: make
[install php]: switch to root user-execute command: sudo su root; installation-execute command: make install
Create a soft chain: execute the command: ln-s / usr/local/servers/php/bin/php / usr/local/bin/php
Thank you for your reading, the above is the content of "liunx how to install php package". After the study of this article, I believe you have a deeper understanding of how to install php package on PHP, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.