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()
- Create a text file, e.g. using notepad or any other text editor: …
- Save the file as “version.php”. …
- Upload the file to the root of your web.
- Open the file in your web browser, e.g.