| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
- Pages:
- 1
- 2
| making my computer a personal server | |
|---|---|
| Tweet Topic Started: Apr 2 2005, 02:56 PM (609 Views) | |
| kingy | Apr 2 2005, 02:56 PM Post #1 |
|
1 in 10 people understands binary, the other 1 doesn't
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
hi is it possible for me to get PHP to run on my computer, by making it a personal web server. i don't want to open my computer up as a web server as such. for example, i want my computer to be able to parse php and run it on my machine. i don't want to host anything from my pc if anybody understands what i am on about please let me know Thanks |
![]() |
|
| Jory | Apr 2 2005, 03:06 PM Post #2 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
You could do that. But if its not for making it a webserver, phpdev would do the trick. |
![]() |
|
| kingy | Apr 2 2005, 03:11 PM Post #3 |
|
1 in 10 people understands binary, the other 1 doesn't
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
so what exactly does this phpdev do to my machine? (problem is its a shared pc for the family, i can;t really screw anything up) |
![]() |
|
| Dennis | Apr 2 2005, 03:16 PM Post #4 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Sure. Download Apache HTTP Server 2.0, install it, get everything running nice and pretty, then go to PHP.Net. Download the Windows files. Not the installer, but the source. The installer doesn't work correctly. Unzip the contents of the download to C:\php, copy the php4apache2.dll (Or similar, change the 4 to 5 if running PHP 5.) from the php\sapi folder to the php root folder. Open install.txt, and search for the header 'INSTALLING PHP AS AN APACHE MODULE". Once you have found that, go to the Apache Root Folder, open the conf folder, and then the httpd.conf file. Scroll to the bottom, then add the configuration lines found in the PHP install file. After saving the httpd.conf file, restart Apache. If Apache fails on the restart, check the paths to all files, and if it still doesn't work, ask here Create a new file in notepad entitled php.php. Add this code to it:
Save that in the Apache\htdocs folder. Open your browser, and point it to http://localhost. Choose php.php from the list of files. If PHP is correctly configured, then you should receive a long list of PHP's configuration settings. Otherwise, you will see the page source. Hope this helps.
|
![]() |
|
| kingy | Apr 2 2005, 03:18 PM Post #5 |
|
1 in 10 people understands binary, the other 1 doesn't
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
thansk for all the help blarog...can i just clarify that this doesn't open my system up to the internet at all and also will it affect system startup? |
![]() |
|
| Dennis | Apr 2 2005, 03:19 PM Post #6 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
It will not affect the startup other than to start the Apache Service, and no, it will not be on the web. |
![]() |
|
| kingy | Apr 2 2005, 03:20 PM Post #7 |
|
1 in 10 people understands binary, the other 1 doesn't
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
so this apache service will just run in the background? sorry for all the questions, i just need to be sure |
![]() |
|
| Dennis | Apr 2 2005, 03:22 PM Post #8 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Yes. You'll only see it on the browser when you open Localhost. Apache 2 also adds an icon the the System Tools bar on the start bar next to the clock. Just minor stuff.
|
![]() |
|
| kingy | Apr 2 2005, 03:22 PM Post #9 |
|
1 in 10 people understands binary, the other 1 doesn't
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
ok thankyou very much |
![]() |
|
| Dennis | Apr 2 2005, 03:24 PM Post #10 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I'd advise getting Apache 2 and PHP 4.3. Once you get all that set up, add this to the Conf file:
And underneath....
http://us4.php.net/manual/en/install.windows.php |
![]() |
|
| kingy | Apr 2 2005, 03:28 PM Post #11 |
|
1 in 10 people understands binary, the other 1 doesn't
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
i got a problem installing apache...it wants my server settings...what do i put? it also wants an email address, do i put my own? (the default is at my isp) |
![]() |
|
| Dennis | Apr 2 2005, 03:30 PM Post #12 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Umm, Localhost, and any E-Mail. I use Admin@localhost. |
![]() |
|
| kingy | Apr 2 2005, 03:35 PM Post #13 |
|
1 in 10 people understands binary, the other 1 doesn't
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
thanks a lot |
![]() |
|
| kingy | Apr 2 2005, 03:52 PM Post #14 |
|
1 in 10 people understands binary, the other 1 doesn't
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
i am running windows 98, should i use apache 1.3? Edit:whoops sorry for double post |
![]() |
|
| Dennis | Apr 2 2005, 03:54 PM Post #15 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I don't think it matters, really. Does Apache run alright so far? |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| Go to Next Page | |
| « Previous Topic · Technology Chat · Next Topic » |
- Pages:
- 1
- 2
| Track Topic · E-mail Topic |
8:47 PM Jul 10
|



![]](http://b1.ifrm.com/0/1/0/p601690/pipright.png)



8:47 PM Jul 10