Beginner - Question

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
hornfan11
Forum Newbie
Posts: 1
Joined: Thu Dec 04, 2003 8:02 am

Beginner - Question

Post by hornfan11 »

I am just starting the setup process. Not sure if this is the best board to ask this question on.

I have Apache 1.3, MySql, and PHP set up on Windows XP.

I setup the httpd config file

I made a little .php file.

I open my browser and go to http://localhost/phpinfo.php and it brings up the "Open - Save - Cancel" dialog.

Any thoughts on what my problem might be?
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post by infolock »

you have your settings to where when you double click on a php file, it opens up in an enviornment for you to code in ( ie notepad, frontpage, homesite, etc... ). double click on my computer, click tools and then folder options, click on file types, scroll til you find PHP, and then set it to be loaded by nothing. you could also just right click on a php file and do the same..
Chambrln
Forum Commoner
Posts: 43
Joined: Tue Dec 02, 2003 10:45 am
Location: Oregon

Post by Chambrln »

Just from the sounds of it your Apache httpd.conf file is not setup correctly. Apache doesn't know how to handle the php file so it asks you to save it rather than displaying it on the webpage. I would double check your config file and do a search on google for setting up apache with php if you're not sure what needs to be there.
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Make sure to follow these steps carefully

http://www.php.net/manual/en/install.ap ... he.windows
Post Reply