In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
How to check php version of virtual host? Many novices are not very clear about this. In order to help you solve this problem, the following small series will explain it in detail for everyone. Those who have this need can come to learn. I hope you can gain something.
Virtual host PHP version information, in the control panel system center can quickly view, or use PHP command, can also view. PHP version, the default is php5.2, we can modify the PHP version according to the website system needs.
Control Panel Center View Web Hosting PHP Version
In the control panel center of the virtual host, the "PHP version" function is configured for the webmaster. We click on it to see the PHP version information used by the current virtual host. At the same time, in the PHP version interface, we can also switch the desired PHP version.
PHP versions configured are:
php5.2, php5.3, php5.4, php5.5, php5.6, php7.0, php7.1, php7.2, etc.;
Php-fpm mode, php5.6, php7.0, php7.1, php7.2, etc.
PHP Command View
If the vendor doesn't provide "PHP version" functionality in the center of the control panel, we can also use command mode.
Use phpinfo, PHP_VERSION, phpversion and other function commands to view the current version information.
Among them, PHPinfo, will show PHP complete information;
PHP_VERSION, phpversion, then get the current version information, no other information will be displayed. Specific use method:
Did reading the above help you? If you still want to have further understanding of related knowledge or read more related articles, please pay attention to the industry information channel, thank you for your support.
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.