Don't see PHP version in status bar of Apache Service Monitor

Hi Everyone,

This is my first post and I’m trying to learn something new. I installed PHP, Apache and MySQL on my computer. I followed all the steps given in the book to have everything communicate together and my problem is that I don’t see the PHP version in the status bar of the Apache Service Monitor.

I can’t figure out what I did wrong, but there were a couple areas I was concerned about.

I used the thread safe ZIP version of PHP. I downloaded it and then extracted it to C:\PHP. After that I couldn’t find the recommended file php.ini-dist, but after researching realized it was eliminated with the most recent version of PHP. The file I used instead was php.ini-development and renamed it php.ini.

I followed all the code in the book, even putting AddType application/x-httpd-php .php (with the space).

Are there any common problems someone would make that would cause them to not see the PHP version in the status bar of the Apache Service Monitor?

Any help is appreciated!

Thanks!

Thank you for your help, it is now showing my version of PHP in the status bar. After attempting my first PHP Script I happened to look at the Apache Service Monitor and it was there.

Now I just need to figure out why my script isn’t working as it should, instead of Sunday as the day of the week, it is giving me 1 as the day of the week. =)

Thank you again for your help.

I have never known the Apache service monitor to show the PHP version because its not designed to, does it tell you in the book you should see the version as i have personally never heard or seen of this. The way to see your PHP information is by using a function called phpinfo() and creating a file in your www directory with the following…

<?php

phpinfo();

?>

Thank you for the response.

In the book Build Your Own Database Driven Web Site using PHP and MySQL they say the way to test your PHP/Apache set up is to restart your Apache Service Monitor and when it starts back up the status bar should say something along the lines of “Apache/2.2.11 (Win32) PHP/5.2.9-1”

You also said I could see my "PHP information is by using a function called phpinfo() and creating a file in your www directory with the following…

PHP Code:
<?phpphpinfo();?>"

At this point, what you told me I could do makes no sense at all because of my lack of experience.

Thank again and thank you in advance for further replies!