Unable to run .php files with nginx

We installed nginx and php-fpm using opkg because we could not locate the conf/local.conf file as shown in the toradex tutorial for webservers.

Displaying static HTML files works fine however we are unable to get .php files to execute even with similar nginx.conf files to that of other small servers on Ubuntu 16.04 that we are trying to replicate.

Do you think this is an issue with the opkg package manager not installing everything needed or the toradex module not supporting this kind of activity for some reason, or something else?

hi @Birtrum and Welcome to the Toradex Community!

Could you provide the version of the Hardware and Software of your module?

We installed nginx and php-fpm using opkg because we could not locate the conf/local.conf file as shown in the toradex tutorial for webservers.

Did you also install PHP?
The conf/local.conf is located the oe-core build folder as described here. This file is used for customizing the image you wan to build.

Do you think this is an issue with the opkg package manager not installing everything needed or the toradex module not supporting this kind of activity for some reason, or something else?

You should check if all the necessary packages for the PHP are installed.

Best regards,
Jaski