How to install yaf extension on Ubuntu
Jan 31, 2018 am 09:12 AMThis article mainly shares with you how to install the yaf extension on Ubuntu. It has a good reference value and I hope it will be helpful to everyone. Let’s follow the editor to take a look, I hope it can help everyone.
1. Download
yaf extension download address
http://pecl.php.net/package/yaf
Choose what you want Package to be downloaded
1 2 3 |
|
2. Installation
1 2 3 4 5 6 |
|
Solution:
An error may occur during the last command: compilation terminated. make: * [yaf_router.lo] Error 1
1 |
|
Execute the last command again.
If everything goes well, it should look like this:
1 |
|
There may also be errors like this: cp:cannot create regular file '/usr/lib /php5/20121212/#INST@13121#':Permission denied
This is insufficient permission. The current user is not root. You can switch to root through su and enter the root password. If you forget the password, you can reset it: sudo passwd root
Add in php.ini:
1 |
|
If you don’t know where php.ini is, you can look at phpinfo
Finally , restart the server
Related recommendations:
Detailed example of Yaf framework PHPUnit integration test method
Share the tutorial on how to install Swoole, Yar, and Yaf under PHP 7
Installation of LAMP environment and yaf extension under Ubuntu14
The above is the detailed content of How to install yaf extension on Ubuntu. For more information, please follow other related articles on the PHP Chinese website!

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

What should I do if the Ubuntu terminal cannot be opened? How to fix the problem that Ubuntu cannot open the terminal

A sneak peek of the seven highlights of Ubuntu 24.04 LTS

Ubuntu 20.04 screen recording software OBS installation and uninstallation graphic tutorial

How to remove icons in Ubuntu start menu?

How to install Angular on Ubuntu 24.04

Detailed guide to install PHP and configure MSSQL connection on Ubuntu

Android TV Box gets unofficial Ubuntu 24.04 upgrade
