One, install the YAF extension (Windows installation)
1. Check your computer's installed development environment (PHPINFO () for information), look for "Zend Extension Build" and "PHP Extension Build", YAF version to the operating system number of bits, PHP version corresponds, otherwise YAF installation is unsuccessful,
Where TS means thread-safe, as for thread-safe and non-thread-safe is not explained, you can search online;
2. Download the corresponding YAF extension, download the URL: http://pecl.php.net/package-stats.php (this is the official PHP website download extension package address, directly select YAF)
2.1 Download the corresponding YAF extension according to "PHP version ", " operating system (x64/x86)", etc.
2.2 Download unzip and copy the Php_yaf.dll file to the bottom of php/ext and add the Extension=php_yaf.dll in the php.ini file.
2.3 Restart the environment, re-enter the Phpinfo () information will appear as follows (indicating that the installation was successful):
3. One of the reasons for installing the YAF extension fails is that the PHP version and the number of operations are inconsistent with your current development environment
Ii. installation of the YAF framework
PHP installation YAF extensions and YAF framework