Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 22nd, 2004, 1:02 AM   #21
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,473
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
There is a setup/install file in there some where... find and execute it after you unzip the file.

It will ask you for three different things... in the first two boxes type in
localhost in each one... the third box, type in your email address or the email address of the admin of that box.

By default it will create a directory similar to:

c:\program files\apache group\apache2\

'conf' subdirectory is where your configuration is, you can add / change what you need in the httpd.conf file. you will need to do that to establish PHP support...

'htdocs' subdirectory is where your index.html file and other publically viewable documents will be.

to test the apache installation, go to your browser and type:

http://localhost

Let me know if you have other questions.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Jul 22nd, 2004, 1:08 AM   #22
TerraNerd
Programmer
 
TerraNerd's Avatar
 
Join Date: Jul 2004
Location: Vermont, USA
Posts: 65
Rep Power: 5 TerraNerd is on a distinguished road
Send a message via AIM to TerraNerd
When i downloaded it the first thing i looked for was an installation file, but there is no file like that, most all of the files are all the same icon and just say 'file' instead of .jpg or .asp whatever, just says file!


There are different extensions though, some of them are like .dsp or .dps, i dunno. The only file that is named INSTALL just says 'file' not '.dsp' or '.exe' just says 'file' where is it!
__________________
[See a gallery of my Graphic art Here.][Visit my website Here]
TerraNerd is offline   Reply With Quote
Old Jul 22nd, 2004, 1:15 AM   #23
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,473
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
Sounds like you didn't download the right file... If you are running windows, grab this one:

http://apache.intissite.com/httpd/binaries...-x86-no_ssl.msi

Let me know if problems still persist.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Jul 22nd, 2004, 1:17 AM   #24
TerraNerd
Programmer
 
TerraNerd's Avatar
 
Join Date: Jul 2004
Location: Vermont, USA
Posts: 65
Rep Power: 5 TerraNerd is on a distinguished road
Send a message via AIM to TerraNerd
a virus ate my computer so im in safe mode, wont let me install it, but when i get to my moms house, im sure this will work. Thanks a whole bunch Infinite
__________________
[See a gallery of my Graphic art Here.][Visit my website Here]
TerraNerd is offline   Reply With Quote
Old Jul 22nd, 2004, 1:33 AM   #25
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,473
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
Kewl. Let me know how it goes.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Jul 26th, 2004, 12:22 AM   #26
TerraNerd
Programmer
 
TerraNerd's Avatar
 
Join Date: Jul 2004
Location: Vermont, USA
Posts: 65
Rep Power: 5 TerraNerd is on a distinguished road
Send a message via AIM to TerraNerd
ok, its downloaded and installed. when i type http://localhost the right window pops up and said i installed it correctly.



Now how do i

Create .php files, just save as .php? just like i would save it as .html if i was using html?

Get it so i can view the pages that i make?
__________________
[See a gallery of my Graphic art Here.][Visit my website Here]
TerraNerd is offline   Reply With Quote
Old Jul 26th, 2004, 9:11 AM   #27
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,473
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
Have you added PHP support to Apache? There are about three lines that you will need to add to your config/httpd.conf file to enable PHP support, those lines are defined in the installation directions.

Then you can save PHP, just like you would HTML. You need to save those files in your htdocs subdirectory.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Jul 26th, 2004, 11:13 AM   #28
TerraNerd
Programmer
 
TerraNerd's Avatar
 
Join Date: Jul 2004
Location: Vermont, USA
Posts: 65
Rep Power: 5 TerraNerd is on a distinguished road
Send a message via AIM to TerraNerd
the files that the install file says to chnage dont exist where it says they do.



you think the programmers would make this stupid thing idiot proof!

Im still lost.




Do i just go through the httpd.conf file and change things that THAT file says i should?
__________________
[See a gallery of my Graphic art Here.][Visit my website Here]
TerraNerd is offline   Reply With Quote
Old Jul 26th, 2004, 12:35 PM   #29
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,473
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
Add these lines to your httpd.conf file:
(assumimg you have PHP installed at c:\php)

ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php .phtml
Action application/x-httpd-php "/php/php.exe"

After that restart Apache and open up notepad and type the following:

<?PHP phpinfo(); ?>

Save it as some filename located in your htdocs directory. For instance info.php...

Then go to browswer and try this: http://localhost/info.php
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Jul 26th, 2004, 1:11 PM   #30
TerraNerd
Programmer
 
TerraNerd's Avatar
 
Join Date: Jul 2004
Location: Vermont, USA
Posts: 65
Rep Power: 5 TerraNerd is on a distinguished road
Send a message via AIM to TerraNerd
Quote:
(assumimg you have PHP installed at c:\php)

ut oh, what do you mean install php
__________________
[See a gallery of my Graphic art Here.][Visit my website Here]
TerraNerd is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:58 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC