Community
cancel
Showing results for 
Search instead for 
Did you mean: 
DDavi52
New Contributor I
952 Views

Apache2 / PHP Configuration Request

Jump to solution

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,

David

0 Kudos
1 Solution
idata
Community Manager
81 Views

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:

 

 

https://docs.moodle.org/31/en/Compiling_PHP_from_source

 

 

I hope this helps.

 

-Peter.

View solution in original post

1 Reply
idata
Community Manager
82 Views

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:

 

 

https://docs.moodle.org/31/en/Compiling_PHP_from_source

 

 

I hope this helps.

 

-Peter.

View solution in original post

Reply