09-28-2020 08:24 AM - edited 09-28-2020 08:44 AM
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
09-28-2020 05:51 PM
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.