PHP was chosen by Yahoo! in 2002 as their web scripting language due to its high performance, large community support, and code-in-HTML paradigm. Today, Yahoo! uses a server architecture with PHP scripts behind Apache load balancers, follows a file layout separating HTML templates and business logic, and focuses on security, performance, and globalization through techniques like opcode caching, C++ extensions, and PHP's ICU integration.