Page 1 of 1

why php page is not opened?

Posted: Wed Aug 22, 2007 2:50 am
by sweetmaster
feyd | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]


hi to all
i am using windows xp with iis 5.1 i check it by http://localhost/localstart.asp, iis is running. 
i installed php 5.2.3 and made following changes in php.ini file
=>extension_dir= "c:/php/ext"

then i write a simple program (hello.php) that is:

=====================

Code: Select all

<html>
<body>


<?php
echo "Hello World";
phpinfo();

?>

</body>
</html>


=====================
when i want to check the output http://localhost/hello.php
it gives

HTTP 500 - Internal server error
Internet Explorer

i didnot understand what is wrong with iis server
kindly help me
i will be very thank ful to all of you'
Regards
--------------------
maani janjua


feyd | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]

Posted: Wed Aug 22, 2007 3:16 am
by Rovas
Read these instructions:
http://www.php.net/manual/en/install.windows.php or a more detailed tutorial http://www.peterguy.com/php/install_IIS6.html.
Search this forum for more posts on this subject.
If you to do it the 'lazy way' just download the php win32 installer .
EDIT: It appears you have problems with the php extensions. Disable them (put ; in front them in the php.ini file) and try again.

hi

Posted: Wed Aug 22, 2007 5:44 am
by sweetmaster
you say "If you to do it the 'lazy way' just download the php win32 installer . "

if i get win32 installer then during installation what sort of setting should i use?
regards
------------------
maani janjua