Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

SSJCORY

I can't figure out how to set up php.

This topic is 5306 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I went to php.net and it says to get apache and all this other stuff can someone plz give me a step by step breakdown of what i need to do.
Favorite Quotes:Gandalf: You shall not pass!|Smeagol: We don''t need you!|Sloth: Hey you guys!|

Share this post


Link to post
Share on other sites
Advertisement
1) what OS are you setting this up for?

2) go to apache.org, download the relevant install of the apache web server. (their setup docs are really good so i won''t go into it. however, expect to spend a day on this if you''ve never set up an app like apache before).

3) follow the install docs for php from php.net. they are also really good and after you''ve installed apache what they are talking about will all make sense.

again, expect to spend a day or so on this b/c apache can be a bit daunting if you''ve never dealt with it before and if you''re not used to editing config files rather than having a nice happy GUI to work with.

-me

Share this post


Link to post
Share on other sites
Ok i installed easy php. Now what?



Favorite Quotes:Gandalf: You shall not pass!|Smeagol: We don''t need you!|Sloth: Hey you guys!|

Share this post


Link to post
Share on other sites
It''s installed and i can''t figure out how to make a php file. I''m such a noob



Favorite Quotes:Gandalf: You shall not pass!|Smeagol: We don''t need you!|Sloth: Hey you guys!|

Share this post


Link to post
Share on other sites
I left the apache directory as the default. But what do i do to get it to work. The first sample on php.net doesn''t do anything



Favorite Quotes:Gandalf: You shall not pass!|Smeagol: We don''t need you!|Sloth: Hey you guys!|

Share this post


Link to post
Share on other sites
Damn it it''s not working. I saved the file in the apache server directory. While running the server. I tried to open that file with IE and it did nothing but give me a blank white page. According to the tutorial it should print hello world.



Favorite Quotes:Gandalf: You shall not pass!|Smeagol: We don''t need you!|Sloth: Hey you guys!|

Share this post


Link to post
Share on other sites
Allright, calm down.

In the folder you''ve installed EasyPHP, there''s a folder called "www." Create a folder (call it whatever you want, let''s say... "Hello") in the www folder.

Inside this new folder, create a blank text document. Rename it to index.php. Open it in notepad and write the following in it...

echo ''Hello world!'';
?>

The tags mark the beginning and end of PHP code. Echo is your standard output-text function.

Save the file and start up EasyPHP. In the system tray, you should see the EasyPHP icon. Right-click on it and select "Local host" (I''m not sure what the exact name is, mine''s in french for some reason.) Your browser will open up and a page will be loaded. You should see an icon of a folder along with the name of the folder you created somewhere near the top of the screen. Click on it.

That should get you started.

Share this post


Link to post
Share on other sites
THANKS VERY VERY VERY MUCH I'm SO HAPPY I SPENT ALL DAY TRYING TO GET THAT SHIT TO WORK. AGAIN THANKS THANKS THANKS
Yeah mine is french also thats wierd. I changed the actual program to english though.


Favorite Quotes:Gandalf: You shall not pass!|Smeagol: We don't need you!|Sloth: Hey you guys!|



[edited by - ssjcory on May 6, 2004 11:00:05 PM]

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!