Why is the phpinfo () Output environment variable path value different from my native settings???

Source: Internet
Author: User
I set the machine: C:\Program files\dbank\clickup;d:\myenv\apache2\bin;d:\myenv\php5;

Phpinfo () Output environment variable path value:





Why is that? How can it be solved?? Thank you!


Reply to discussion (solution)

Your two white is mysql5, with your local what path which has relation?

Your two white is mysql5, with your local what path which has relation?
Yes, these are both MYSQL5 installation paths. My environment variable path is not set to MySQL paths Ah ~

Reference to the 1 floor of the reply:

Your two white is mysql5, with your local what path which has relation?

Yes, these are both MYSQL5 installation paths. My environment variable path is not set to MySQL paths Ah ~
This is a system variable, after installing MySQL should be automatically added to the system variables, the normal situation does not need to go to manual intervention.

Well, you go through the whole search and see how many Mysql.exe

Two moderators misunderstood my meaning, I mean, $_server[' path ' and $_env[' path '] take out the value, not should be my native (server) Set environment variable PATH value? Then why is it not the same as the path value of my native machine??

The values of two arrays are taken in different ways
In theory, it should be taken from the CGI environment variable, but Apache under window can take a value from the registry.

Your most likely scenario is that a MySQL service has started and a conflict occurs when you start one

is indeed the PATH environment variable for window. How different?

is indeed the PATH environment variable for window. How different?
The path of my native environment variable is set to: C:\Program files\dbank\clickup;d:\myenv\apache2\bin;d:\myenv\php5;

But the native path printed with phpinfo () is not this ()

In fact, I just want to know, phpinfo () output such as "_server[' path '" is not the PATH value of the environment variable on the server.

Encountering the same problem

Did you solve it?

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.