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 :)
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)
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
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
------------------------------------------------------------ ---
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
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
>----------------------------------------------------------- ----
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.
Re: testing php on my home computer
Post removed (X-No-Archive: yes)
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.
Re: testing php on my home computer
Thank you all for responding. I will take all your suggestions to mind.
Thad
PHP » alt.php » testing php on my home computer