viki Posted January 13, 2011 Share Posted January 13, 2011 Hi Guys, I am sorry for asking this question this is very basic stuff from PHP. I've just started learning PHP and I have no prior knowledge in web programming. I have installed Apache 2.2 and have installed PHP version 5.3.5 Win 32 VC9. (Using Vista ) The Apache server is configured and correctly and working. I created the following php file and saved it in document root. (using notepad) <?php phpinfo(); ?> The above code is everything I got in my test.php file. When I try to view it with my browser it does not run the code but it is showing me a "open", "save" message box. It seems the code is not interpreted. Can someone please tell me why it doesnt work? and what I can do about it? Where can the problem be? Thank you. Kind Regards, Viki Link to comment https://forums.phpfreaks.com/topic/224267-basic-php-installationcode-problem/ Share on other sites More sharing options...
Pikachu2000 Posted January 13, 2011 Share Posted January 13, 2011 Make sure notebad didn't append a .txt file extension after the .php extension. Then, find a different editor anyhow. People seem to like Notepad++ a lot, or download one of the fre IDEs like NetBeans or Eclipse. Link to comment https://forums.phpfreaks.com/topic/224267-basic-php-installationcode-problem/#findComment-1158699 Share on other sites More sharing options...
viki Posted January 14, 2011 Author Share Posted January 14, 2011 Make sure notebad didn't append a .txt file extension after the .php extension. Then, find a different editor anyhow. People seem to like Notepad++ a lot, or download one of the fre IDEs like NetBeans or Eclipse. Thank you, I will try it and get back. Link to comment https://forums.phpfreaks.com/topic/224267-basic-php-installationcode-problem/#findComment-1159166 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.