How Do I Know Where My Php Is Installed Linux?

How Do I Know Where My Php Is Installed Linux?
Contents

Where is PHP installed on Linux?

will print out lots of paths containing php – the “php folder” itself should be the /usr/lib/php5 folder. Show activity on this post. If you want to know your php installation path then hit command which php it will show you bin directory.

How do I know where PHP is installed?

How to Check if php is installed on the Web Server and how to Detect the php Version using phpinfo()

  1. Create a text file, e.g. using notepad or any other text editor: …
  2. Save the file as “version.php”. …
  3. Upload the file to the root of your web.
  4. Open the file in your web browser, e.g.
Sarah Jenkins
Author

Sarah Jenkins

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.