Is there a way to check if PHP is installed on an Apache or IIS server within the PHP environment itself?
If so, how?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
create a file (say info.php) with the following content on an accessible path and try to browse it:
@Alfabravo is correct: don’t forget to delete the file from the server after using it!