In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail how to verify the installation of yum after installing php. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
How do I verify that yum installed php successfully?
Method 1: check the current php version through the php-v command at the terminal. If php is not installed, you will generally be prompted that there is no php command.
Method 2: query whether there is php in the installed package in the terminal. Take redhat as an example, you can execute the following command:
Rpm-qa | grep php
As shown in the following figure, php is installed.
Method 3: you can use the list parameter of the pear command to view the installed php support. Pear is an acronym for PHP extension and application library ("PHP Extension and Application Repository"). Note that it is not a pear, although it sounds the same as the fruit. After php is installed, some libraries of pear are automatically installed by default, so whether or not to install php can be determined with the pear command, execute the following command:
Pear list
As shown in the following figure, php is installed.
Done!
On the yum installation of php after how to verify the installation is shared here, I hope the above content can be of some help 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: 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.