i tried installing apache 2.0.48 and php4.3.2. apache works fine but when i click the "PHP info" link from the php page after installation,
1.in Internet Explorer-
the File Download dialog box appears asking if to "save" or "open".
2.in mozilla-
the script is displayed on the browser instead of the output.

pardon my ignorance and please help me out
thanks in advance

First, make sure that phpinfo is allowed in your php.ini file. If you make any changes to the php.ini, you have to restart the apache web server for them to be picked up.

You also may need the module reference or php reference in your apache's httpd.conf file. Check that file for the word, php.

To get the settings you need, refer to the INSTALL document in the php source. It will give you the correct module entries and php entry so that apache can recognize php. Remember to restart apache after you make any changes to the httpd.conf file too.

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.