![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#21 |
|
Programming Guru
![]() ![]() ![]() |
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." |
|
|
|
|
|
#22 |
|
Programmer
|
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! |
|
|
|
|
|
#23 |
|
Programming Guru
![]() ![]() ![]() |
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." |
|
|
|
|
|
#24 |
|
Programmer
|
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
|
|
|
|
|
|
#25 |
|
Programming Guru
![]() ![]() ![]() |
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." |
|
|
|
|
|
#26 |
|
Programmer
|
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? |
|
|
|
|
|
#27 |
|
Programming Guru
![]() ![]() ![]() |
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." |
|
|
|
|
|
#28 |
|
Programmer
|
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? |
|
|
|
|
|
#29 |
|
Programming Guru
![]() ![]() ![]() |
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." |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|