Why is the PATH value of the environment variable output by phpinfo () different from that set on my local machine ??? My local settings: C: \ Program Files \ DBank \ ClickUp; D: \ MyEnv \ Apache2 \ bin; D: \ MyEnv \ php5;
PATH value of the environment variable output by phpinfo:
Why? How can this problem be solved ?? Thank you!
Reply to discussion (solution)
Your two white ones are mysql5, which has something to do with your local path?
Your two white ones are mysql5, which has something to do with your local path?
Yes, both of them are mysql5 installation paths. I have not set the mysql PATH in the environment variable PATH ~
Reference the reply on the first floor:
Your two white ones are mysql5, which has something to do with your local path?
Yes, both of them are mysql5 installation paths. I have not set the mysql PATH in the environment variable PATH ~
This is a system variable. After mysql is installed, it should be automatically added to the system variable. in normal cases, manual intervention is not required.
Search for a full list to see how many mysql.exe
The two moderators misunderstood what I meant. I mean, the values obtained from $ _ SERVER ['path'] and $ _ ENV ['path, shouldn't it be the PATH value of the environment variable set by my local machine (server? Why is the obtained PATH value different from that of my local machine ??
The values of the two arrays are taken in different ways.
In theory, it should be taken from CGI environment variables, but apache in the window can be taken from the registry.
It is very likely that a mysql service has been started and a conflict occurs when another mysql service is started.
It is indeed the path environment variable of window. Why?
It is indeed the path environment variable of window. Why?
My local environment variable PATH 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 whether "_ SERVER ['path']" in the output of phpinfo () is the PATH value of the environment variable on the SERVER.
Same problem encountered
Have you solved this problem?