Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9872 Discussions

Install php on Yocto, Intel Galileo

ACons4
Novice
1,422 Views

Hi, and merry christmas everyone ... In this beautiful day I have tried to install PHP on my Yocto distro which is runned by an Intel Galileo board, but no success... Can you give me some hints ? Can I install something like LAMP on this distribution ? thx

3 Replies
Pedro_M_Intel
Employee
186 Views

Hello @L3X,

Merry Christmas to you too @L3X; if you are using the uClibc image you can find PHP on AlexT's repo. If you haven't already, you will find instructions on how to set it up in http://alextgalileo.altervista.org/package-repo-configuration-instructions.html Galileo Package Repo Configuration Instructions. In case you are using the eglibc image, then you will have to build the PHP package from source. You will find the source in http://php.net/downloads.php PHP: Downloads, once you download it, decompress it and you will find the installation instructions in the INSTALL file.

Peter.

ACons4
Novice
186 Views

I've tried to install AlexT's repo and everything's installed properly. Now i've tried to access my test.php file from browser like localhost/test.php -->> I've got an 403 - Forbidden. I mention that my test.php has 777 permission. Any ideas ?

Pedro_M_Intel
Employee
186 Views

I'm not familiar with PHP, so my best suggestion is to post your question in http://php.net/contact.php PHP: Contact, they may be able to provide you a better answer than I.

Peter.

Reply