How to check apache version

Hi

How can I check apache & php version using interWORX API’s.

Hi kiran

Welcome to Iw forums

I do not think you need to check Apache by cli - it runs the same version of Apache, so you could hard code eg centos 6 apache 2.3 centos 7 Apache 2.4

Php version, I think there is a php.info page, or you could easily create the page, and add it

Please remember nodeworx uses its own php version but siteworx uses a different version, which you can upgrade, and it is on the road map for multi php versions or look up justec thread for multi php versions

I hope that helps and hopefully another user may know if cli lookup could show your information but a quick man look at cli commands should show, and the cli commands are also shown on interworx.com website

Many thanks

John

Thanks for the information John:)