In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Today I will introduce to you what is the method of running PHP in Linux system. The content of the article is good. Now I would like to share it with you. Friends who feel in need can understand it. I hope it will be helpful to you. Let's read it along with the editor's ideas.
How to run php script in Linux system?
When executing php scripts under Linux, you can usually use the following command:
# / usr/local/php/bin/php test.php
To simplify input, you can copy this php executor to the system command directory:
# cp / usr/local/php/bin/php / usr/sbin/
Verification: enter the following command. If you get the php version correctly, the operation is successful.
# php-v
In this way, you can directly use the following input methods when you execute the PHP script later.
# php a.php
What is Linux system Linux is a free-to-use and free-spread UNIX-like operating system, is a POSIX-based multi-user, multi-task, multi-threaded and multi-CPU operating system, using Linux can run major Unix tools, applications and network protocols.
The above is the whole content of what the method of running PHP in Linux system is, and more content related to the method of running PHP in Linux system can search the previous article or browse the following article to learn! I believe the editor will add more knowledge to you. I hope you can support it!
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.