testing php on my home computer

alright, you've probably heard this question a million times, I just gotta
ask it again.

Running xp professional. Need to run the pages on my computer for testing
my php. What is the best way for a dodo like me who thinks he knows how to
operate a computer?

Thad :)
thad [ Di, 27 Februar 2007 04:52 ] [ ID #1641832 ]

Re: testing php on my home computer

Thad wrote:

> alright, you've probably heard this question a million times, I just
> gotta ask it again.
>
> Running xp professional. Need to run the pages on my computer for
> testing my php. What is the best way for a dodo like me who thinks
> he knows how to operate a computer?

You might want to look into installing a WAMP-type solution on your
computer, such as XAMPP:
http://www.apachefriends.org/en/xampp-windows.html

Since you're only going to test things locally, you'll only need the
XAMPP Lite edition (which only is consists of Apache, PHP and MySQL).

--
Kim André Akerĝ
- kimandre [at] NOSPAMbetadome.com
(remove NOSPAM to contact me directly)
kimandre [ Di, 27 Februar 2007 05:07 ] [ ID #1641834 ]

Re: testing php on my home computer

Thad wrote:
> alright, you've probably heard this question a million times, I just gotta
> ask it again.
>
> Running xp professional. Need to run the pages on my computer for testing
> my php. What is the best way for a dodo like me who thinks he knows how to
> operate a computer?

Install GNU/Linux :)

--

//Aho
Shion [ Di, 27 Februar 2007 08:18 ] [ ID #1641835 ]

Re: testing php on my home computer

On Mon, 26 Feb 2007 20:52:03 -0700, in alt.php "Thad"
<tsobota [at] cox.net>
<DVNEh.32760$AU.20356 [at] newsfe07.phx> wrote:

>| alright, you've probably heard this question a million times, I just gotta
>| ask it again.
>|
>| Running xp professional. Need to run the pages on my computer for testing
>| my php. What is the best way for a dodo like me who thinks he knows how to
>| operate a computer?
>|
>| Thad :)
>|

Ensure you have IIS installed and running, by default IIS is not
installed. You'll need you installation cd for this.

Download the non-self installer file (this creates more headaches than
it solves).
Extract the files to the root of the drive i.e. C\php
Read the installation instructions very carefully. All the information
is there but it is a bit all over the place.
Also ensure that you have your environment variables set correctly.

In IIS create your virtual web folder. This can be on any drive and
any folder you like i.e. d:\webfiles. Under IIS I could call this
widgets (just to confuse everyone including myself)

When you think you have it running, create a test page in your web
folder (filename- test1.php):
<?php
echo phpinfo();
?>

and run it by:
http://localhost/widgets/test1.php

HTH
------------------------------------------------------------ ---
jnorthau [at] yourpantsyahoo.com.au : Remove your pants to reply
------------------------------------------------------------ ---
Jeff North [ Di, 27 Februar 2007 12:39 ] [ ID #1641836 ]

Re: testing php on my home computer

Jeff North wrote:
> On Mon, 26 Feb 2007 20:52:03 -0700, in alt.php "Thad"
> <tsobota [at] cox.net>
> <DVNEh.32760$AU.20356 [at] newsfe07.phx> wrote:
>
>> | alright, you've probably heard this question a million times, I just gotta
>> | ask it again.
>> |
>> | Running xp professional. Need to run the pages on my computer for testing
>> | my php. What is the best way for a dodo like me who thinks he knows how to
>> | operate a computer?
>> |
>> | Thad :)
>> |
>
> Ensure you have IIS installed and running, by default IIS is not
> installed. You'll need you installation cd for this.

Note that IIS differs from Apache in several points, and this also makes
PHP behave differently. If your site will eventually run on a Windows
server with IIS, then this is no problem (though personally, I wouldn't
recommend it).

But since it sounds like you are only testing your site locally before
uploading it to an Apache server, you should probably avoid IIS and use
XAMPP as suggested previously.

--cb
Christoph Burschka [ Di, 27 Februar 2007 13:25 ] [ ID #1641837 ]

Re: testing php on my home computer

I agree.

But I use the self installed files and if something doesn't work, I
fix that.

Windows and Internet Explorer has a 85% market share.







On Tue, 27 Feb 2007 11:39:23 GMT, Jeff North <jnorthau [at] yahoo.com.au>
wrote:

>On Mon, 26 Feb 2007 20:52:03 -0700, in alt.php "Thad"
><tsobota [at] cox.net>
><DVNEh.32760$AU.20356 [at] newsfe07.phx> wrote:
>
>>| alright, you've probably heard this question a million times, I just gotta
>>| ask it again.
>>|
>>| Running xp professional. Need to run the pages on my computer for testing
>>| my php. What is the best way for a dodo like me who thinks he knows how to
>>| operate a computer?
>>|
>>| Thad :)
>>|
>
>Ensure you have IIS installed and running, by default IIS is not
>installed. You'll need you installation cd for this.
>
>Download the non-self installer file (this creates more headaches than
>it solves).
>Extract the files to the root of the drive i.e. C\php
>Read the installation instructions very carefully. All the information
>is there but it is a bit all over the place.
>Also ensure that you have your environment variables set correctly.
>
>In IIS create your virtual web folder. This can be on any drive and
>any folder you like i.e. d:\webfiles. Under IIS I could call this
>widgets (just to confuse everyone including myself)
>
>When you think you have it running, create a test page in your web
>folder (filename- test1.php):
><?php
>echo phpinfo();
>?>
>
>and run it by:
>http://localhost/widgets/test1.php
>
>HTH
>----------------------------------------------------------- ----
>jnorthau [at] yourpantsyahoo.com.au : Remove your pants to reply
>----------------------------------------------------------- ----
Hans-Peter Sauer [ Di, 27 Februar 2007 14:01 ] [ ID #1641838 ]

Re: testing php on my home computer

Deke wrote:

>
> Windows and Internet Explorer has a 85% market share.
>

So what, Just how does that help him setup php.

--
MicroSoft's NEW Motto: "Good enough." When you're on top, that's the
only standard that matters.
david [ Di, 27 Februar 2007 19:29 ] [ ID #1641857 ]

Re: testing php on my home computer

Post removed (X-No-Archive: yes)
Notifier Deamon [ Di, 27 Februar 2007 20:08 ] [ ID #1641861 ]

Re: testing php on my home computer

Personally, I prefer Uniform Server (http://www.uniformserver.com) to
XAMPP, but they're both exelent WAMP servers you can install very
easily.
dimo414 [ Mi, 28 Februar 2007 00:10 ] [ ID #1641866 ]

Re: testing php on my home computer

Thank you all for responding. I will take all your suggestions to mind.

Thad
thad [ Mi, 28 Februar 2007 00:35 ] [ ID #1641867 ]
PHP » alt.php » testing php on my home computer

Vorheriges Thema: Passing mysql table names to php functions?
Nächstes Thema: Sessions in different versions of PHP