install swoole on mac

WBOY
Release: 2016-07-29 08:55:40
Original
1669 people have browsed it

1: Source code installation swoole

<code>git clone https://github.com/swoole/swoole-src.git
cd swoole-src
phpize
./configure
make && make install</code>
Copy after login

2: Add in php.ini:

extension= swoole.so

Note: A common problem encountered when installing here is that php.ini cannot be found s position. I think mine was transplanted to /etc before, and then when I used brew to install something (I forgot exactly what was installed), the effective location of php.ini changed. The php.ini file in /etc is invalid.

Later I found a very direct method: just look at the phpinfo information directly, which will contain some locations of php.ini.


install swoole on mac

  • install swoole on mac
  • Size: 222.9 KB
  • View image attachment

The above introduces how to install swoole on Mac, including the relevant aspects. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!