PHP Add pcntl Extension

Source: Internet
Author: User
Install some PHP extensions, refer to the PHP manual, and then add the sections that need to be explained to install PHP extension Pcntl as an example.

#查看当前php版本123456deMacBook-pro:~ admin$ php-vphp 5.5.14 (CLI) (built:sep  9 19:09:25) Copyright (c) 1997-2014 the PHP groupzend Engine v2.5.0, Copyright (c) 1998-2014 Zend technologies# to php.net download the corresponding PHP package # After downloading, switch directories, follow the steps below sh-3.2# TAR-ZXVF php-5.5.14.tar.gzsh-3.2# CD php-5.5.14/ext/pcntl/sh-3.2# mac may fail, separate operation, add sudo below each command to sh-3.2# sudo phpizesh-3.2# sudo/configuresh-3.2# sudo make testsh-3.2# sudo make installsh-3.2# #也可以直接操作 phpize &&./configur e && make install sh-3.2# echo "extension=pcntl.so" >>/etc/php.inish-3.2# apachectl restartchecking if ever Ything is ok.sh-3.2# php-m | grep pcntlpcntl
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.