Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
248 views
in Technique[技术] by (71.8m points)

Apache virtual host - multiple PHP versions

I tried to setup multiple PHP versions in my XAMPP, and I have used Apache virtual hosts.

But I found in phpinfo(), the $_SERVER['SCRIPT_FILENAME'] is shown like this C:xampphtdocsaaabb (the slash)

How can I set back to C:/xampp/htdocs/aaa/bbb

This happens in virtual hosts only. The main one is normal - showing like this -> C:/xampp/htdocs/aaa/bbb

Thank you.

question from:https://stackoverflow.com/questions/65887436/apache-virtual-host-multiple-php-versions

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...