参考
http://yaf.laruence.com/manual/yaf.install.html
首先要找到php的安装目录,执行info.php,查看php路径
Configuration File (php.ini) Path /etc/php5/apache2
whereis phpize
/usr/bin/phpize
Cannot find config.m4. Make sure that you run /usr/local/bin/phpize in the top level source directory of the module
./configure --with-php-c/bin/php-config
pcre.h: No such file or directory
sudo apt-get install libpcre3-dev
make
sudo make install
vi /ext/php5/apache2/php.ini
service apache2 restart
sudo /etc/init.d/apache2 restart
yaf support Yaf logo enabled Version 2.3.3 Supports http://pecl.php.net/package/yaf
以上就介绍了ubuntu下安装yaf框架,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号