I have the latest version of Apache and PHP, and run both on Microsoft Windows XP Home Edition. I have installed PHP and edited the Apache configuration file to recognize PHP, but when I load a page (on my server) in PHP, it comes up the same as if I had opened it in a text editor.

http://img28.echo.cx/img28/8052/php9fq.jpg

Above is a link to a screenshot of my browser. Apache doesn't seem to work with PHP the way I set it up (exactly as said on the PHP website). Any suggestions?

Thanks for your help.

--Alex (alexmcavoy@gmail.com)

From the looks of the screenshot either the AddType and AddHandler for php was not added to the httpd.conf file, or apache wasn't restarted after they were added. You may just want to verify the following lines exsist:

AddType application/x-httpd-php .php .php4 .php3
AddType application/x-httpd-php-source .phps

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.