PHP on AXC F 2152

Hello, I want to edit some parameter for my project of PLCnext engineer on web page. So I use php on nginx. Can I use php on AXC F 2152’s web server?

Hi. i am working on the same and did start today with this. My plan is:

                                             1. get root - done
                                             2. install ipkg package manager - done
                                             3. install php+apache - will try this week but should be possible as its available in the repo:

root@axcf1152:~# ipkg list | grep php
eaccelerator - 0.9.6-rev445-5.6.33-3 - Yet another php cache / accelerator
mediawiki - 1.4.0-2 - A fast, full-featured, wiki based on php.
php - 5.6.33-2 - The php scripting language
php-apache - 5.6.33-1 - The php scripting language, built as an apache module
php-curl - 5.6.33-2 - libcurl extension for php
php-dev - 5.6.33-2 - php native development environment
php-embed - 5.6.33-2 - php embedded library - the embed SAPI
php-fcgi - 5.6.33-2 - The php scripting language, built as an fcgi module
php-gd - 5.6.33-2 - libgd extension for php
php-geoip - 1.1.1-1 - PHP geoip extension based on libGeoIP library.
php-gmp - 5.6.33-2 - libgmp extension for php
php-iconv - 5.6.33-2 - libiconv extension for php
php-imagick - 3.4.3-2 - PHP extension to create and modify images using the ImageMagick API.
php-imap - 5.6.33-2 - imap extension for php
php-intl - 5.6.33-2 - intl extension for php
php-ldap - 5.6.33-2 - ldap extension for php
php-mbstring - 5.6.33-2 - mbstring extension for php
php-mcrypt - 5.6.33-2 - mcrypt extension for php
php-memcached - 2.2.0+git20160613-3 - PHP memcached extension based on libmemcached library.
php-mssql - 5.6.33-2 - mssql extension for php
php-mysql - 5.6.33-2 - mysqli and pdo_mysql extensions for php
php-odbc - 5.6.33-2 - odbc extension for php
php-opcache - 5.6.33-1 - opcache zend extension for php
php-pear - 5.6.33-2 - PHP Extension and Application Repository
php-pgsql - 5.6.33-2 - pgsql extension for php
php-snmp - 5.6.33-2 - snmp extension for php
php-thttpd - 2.21b-5.6.33-5 - php-thttpd is thttpd webserver with php support
php-xmlrpc - 5.6.33-2 - xmlrpc extension for php
php-zip - 5.6.33-2 - zip extension for php
phpmyadmin - 2.6.2-2 - Web-based administration interface for mysql Not sure if its possible with preinstalled nginx.

Hello,

are you intending to run the PHP code server-side for CGI or something similar? Then you will need to extend Nginx with php-fpm i think. Nginx does support cgi have a look at the /etc/nginx/nginx.conf and the WBM section for reference…

But you can still do php client side and use the REST API for the EHMI to read/Write variables ect. … kind regards,
Oliver

Hello, I solved this question. Thank you, andithebest and Oliver. My way follows: 1. Install package manager “ipkg” while refering to https://www.plcnext-community.net/en/makersblog-off/295-making-automation-001-where-s-the-package-manager.htm 2. Install Apache > ipkg install apahce Thank you