Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

check php running on windows

Tags:

php

I have installed XAMPP 1.7 on my windows 7. As expected, PHP is already included in this installer package. I look at XAMPP installed folder on my hard drive (C:\xampp) and it does have one folder named php.

Now, when I open XAMPP and take a look at Windows Task Manager, I see both apache and mysql appear on process tab and service tab but php does not appear on any of those tabs.

I just want to check whether php is runninng or not? Could you tell me why the above checking failed Or PHP is really not running at that time (please note that I have already activated XAMM at this time).

like image 426
Lebarn Avatar asked Jul 12 '26 03:07

Lebarn


1 Answers

PHP does not have a running process when being invoked through apache. Instead, the PHP interpreter is executed for each apache request. To test if it is running, put

<?php phpinfo();

in a file named index.php and hit it in your browser.

If PHP is working, as it should with a default install of XAMPP, then you should see some information about your PHP installation on that page.

like image 161
sberry Avatar answered Jul 14 '26 16:07

sberry