This article provides information on how to find the PHP version of the Junos OS device.
How to find the current PHP version of the Junos device.
There are two ways you can obtain the PHP version of the Junos device.
Set the debug level on web-management traceoptions using the following command:
root@#set system services web-management limits debug-level 9
Now you will be able to see the PHP version in httpd.log after a new J-Web access session:
httpd.log
root@> show log httpd.log| match Powered X-Powered-By: PHP/5.2.3
This output shows that PHP version 5.2.3 is running on the Junos device.This method of obtaining the PHP version number was tested in Junos OS Release 11.2R1. It will also work for subsequent versions of Junos OS.
root@210-1% curl -i -s http://172.27.201.10/login | grep -i -E "^server|PHP"Server: Embedthis-Appweb/3.2.3x-powered-by: PHP/5.3.2
where:172.27.201.10 is the interface IP used for J-Web management.http://172.27.201.10/login is the URL to access the J-Web.
172.27.201.10
http://172.27.201.10/login