/opt/rh/httpd24/root/usr/sbin/httpd -v command is working on my server but httpd -v is not working. it says command not found.How can i fix this so that httpd -v show me the apache version.
Asked
Active
Viewed 356 times
0
-
Add `httpd` to *PATH*? – mx0 Nov 07 '18 at 10:25
-
While I am adding path its working in a temporary basis,while I am restarting the server its not working – prince_faisal Nov 08 '18 at 06:26
-
Try this: https://stackoverflow.com/questions/14637979/how-to-permanently-set-path-on-linux-unix. – mx0 Nov 08 '18 at 08:09