From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

install php

Hi all

my measurements are stored in a DB hosted on cRio controller and i need to create an API to access them. That is where PHP comes in 

As far as i know i cannot use the NI webservices since PHP is not available so i installed apache using a different port than 80.  

The problem is i cannot make PHP work .... Without it the server works fine

i install  php and  php-fpm , restart apache and then the php files are not parsed and appear as plain text

Does anyone have an idea ?? 

Thanks

0 Kudos
Message 1 of 2
(794 Views)

It sounds like you did not configure Apache to link php files to the fastCGI process manager (php-fpm).  Since this is Linux Web Server 101 stuff, it has been done countless times before, just google 'php fpm apache' and you will get numerous how-to guides to updating the apache .conf files.

0 Kudos
Message 2 of 2
(727 Views)