Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What to do if php failed to join the environment variable?

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

Today, I will talk to you about how to deal with the failure of adding environmental variables to php. Many people may not know much about it. In order to make you understand better, the editor summed up the following content for you. I hope you can get something according to this article.

Php failed to join the solution to the environment variable: 1, find the environment variable, select "Path- > Edit"; 2, add the environment variable; 3, modify the php.ini configuration; 4, turn off all the cmd and restart and open it.

This article operating environment: Windows10 system, PHP7.3 version, DELL G3 computer

What if php fails to add environment variables?

Invalid problem resolution for adding php environment variable to windows10 cmd command line

Integrated environment: phpStudy

You can also download php: https://windows.php.net/downloads/releases/archives/ separately

Step 1: configure the environment variables:

Right click on my computer-> Properties-> Advanced system Settings-> Environment variables-> Select Path- > Edit

Step 2: add environment variables

Step 3: modify the php.ini configuration, delete the (;) semicolon in the following two lines and save it

On windows:

Extension_dir = "ext"

Part IV: shut down and restart the cmd and try again.

What are the characteristics of php 1, the execution speed is fast. 2. It has good openness and expansibility. 3. PHP supports a variety of mainstream and non-mainstream databases. Object-oriented programming: PHP provides classes and objects. 5. The update speed of the version is fast. 6. It has rich functions. 7. Scalability. 8. Comprehensive functions, including graphics processing, encoding and decoding, compressed file processing, xml analysis and so on.

After reading the above, do you have any further understanding of how to deal with the failure of php to add environment variables? If you want to know more knowledge or related content, please follow 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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report