Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
<?php echo(setlocale(LC_ALL, "en_US")); ?>
上面的代码在cli模式下输出en_US,但在web模式下与apache2在同一台服务器下输出为false。为什么该方法在cli模式下正常工作,但在web模式下不行?