1 Reply Latest reply on Dec 15, 2016 12:14 PM by Intel Corporation

    Apache2 / PHP Configuration Request


      Thank you for making OPKG available and supporting it on Edison.  I have installed the Apache2 with PHP and mySQL configured.  It is working well.  For a particular project I would like to use semaphores and share memory within PHP on the Apache server.  I understand from the documentation that for PHP these features are not be default turned on and require a rebuild of PHP. Is it possible to turn these features on? If not, are there alternatives?


      Thank you,


        • 1. Re: Apache2 / PHP Configuration Request
          Intel Corporation
          This message was posted on behalf of Intel Corporation

          Hello David,

          Thanks for reaching out!

          In this case, since you would like to enable features that are not included in the standard build of PHP, the only option left is to build PHP from source. There are several guides on how to do this on OSs like Ubuntu, they use apt-get to install dependencies of PHP. As you know apt-get is not available on Yocto, therefore you will have to either install those dependencies using opkg or build them from source. I suggest you to follow the guide below (taking in consideration what was mentioned above), it explains how to build PHP and how to configure it according to your needs:


          I hope this helps.