UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor dfantoni
Visitor
310 Views
Registered: ‎01-07-2019

Add PHP interpreter to Petalinux 2018.3 installation

Hi everybody!

I'm trying to add PHP interpreter to Petalinux 2018.3 on Zynq-7000 in order to work with busybox httpd (if possible)

Since I cannot find the php package in rootfs configuration how can I add it to my installation?

Thanks in advance!

0 Kudos
3 Replies
Moderator
Moderator
284 Views
Registered: ‎12-04-2016

Re: Add PHP interpreter to Petalinux 2018.3 installation

Hi

Try adding this to project-spec/meta-user/recipes-core/images/petalinux-image-full.bbappend

IMAGE_INSTALL_append = " php"

and enable in php in petalinux-config -c rootfs -> User packages ->

 

Best Regards

Shabbir

0 Kudos
Visitor dfantoni
Visitor
274 Views
Registered: ‎01-07-2019

Re: Add PHP interpreter to Petalinux 2018.3 installation

Thanks for the help but now in the final image i find only phpdbg executable and therefore i can not use the interpreter with httpd.

Do I have to install some other packages?

Best

Daniele

0 Kudos
Moderator
Moderator
272 Views
Registered: ‎12-04-2016

Re: Add PHP interpreter to Petalinux 2018.3 installation

Try adding php-cli also and see if that helps. 

Note: Adding packages to petalinux is as good as adding packages in yocto

 

Best Regards
Shabbir

 

0 Kudos