search

Home  >  Q&A  >  body text

How to view php using xampp command line under linux

centos7 I have installed xampp, but when I check php -v on the command line, it shows bash: command not found. How do I set the php under xampp to a non-linux environment variable? I installed the latest version of xampp on linux! Rookie begging

孙帅帅孙帅帅2288 days ago1428

reply all(2)I'll reply

  • 秋香姐家的小书童

    秋香姐家的小书童2018-10-08 12:41:53

    Use PS command to find PHP service

    reply
    0
  • 孙帅帅

    php -v is the ps command. It displays bash: command not found. It is completely normal when I run localhost, but how can I check the php information on the command line?

    孙帅帅 · 2018-10-08 12:48:22
  • Cancelreply