pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: bruce <bedouglas@earthlink.net>
To: 'Rinku' <rinku_pgsql@yahoo.com>
To: pgsql-php@postgresql.org
Subject: Re: How to run PHP on WinXP ?
Date: Sat, 19 Jun 2004 02:51:48 -0700
Message-ID: <002e01c455e3$0a53ae90$0301a8c0@Mesa.com> (raw)
In-Reply-To: <20040619092023.26903.qmail@web54110.mail.yahoo.com>

hi....

to begin, you should check out the php/apache web sites... located at
apache.org and php.net, each site provides a great deal of information on
how to setup/configure and run the apache server, and allow php apps to run
on the server...

to setup php...
you simply need to install php, and make any mods to the php.ini file. you
should read through the php.ini file to get a feel for what the attributes
are, what they do, and how they are used... initially, you can pretty much
leave it in the default state...

this will get php installed on your system. you can read through the php/net
site to see how to write/run quick test apps that can be executed from the
command liine if you want to test php as a standalone environment...

apache...
assuming that you already have apache up/running, to make it accept/serve
php pages requires that the httpd.conf config file be modified. essentially
this requires allowing the apache server to know that certain pages are to
be served up using the php interpreter.

here again, check out the apache/php sites to see exactly what the changes
are that have to be made to the config file. as i recall, it's a few lines
of modes, and they're well documented on the sites, or you can also search
google...

to check out that everything works once youve made your changes, you'll need
to restart the apache server. create a short php app and have it reside in a
directory/folder that you've created as an apache site (in the httpd.conf
file) run the app and see if it's correctly interpreting the php commands,
or is it still serving the commands as text...

test php file
<?php
phpinfo();
?php>

this should display information regarding your server/setup.. if you see the
information, you've got php running on apache...

-bruce



-----Original Message-----
From: pgsql-php-owner@postgresql.org
[mailto:pgsql-php-owner@postgresql.org]On Behalf Of Rinku
Sent: Saturday, June 19, 2004 2:20 AM
To: pgsql-php@postgresql.org
Subject: [PHP] How to run PHP on WinXP ?


Dear All,

Wd you pls guide me on how to run PHP on Apache server ?
I am using WindowsXP as OS, PHP4.3.3 and Apache 2.0.47.

Regards,
Rinku


Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!




view thread (2+ messages)

Message-ID: <002e01c455e3$0a53ae90$0301a8c0@Mesa.com>
Permalink:  ../002e01c455e3$0a53ae90$0301a8c0@Mesa.com/
Also on:    postgresql.org/message-id/002e01c455e3$0a53ae90$0301a8c0@Mesa.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: bedouglas@earthlink.net, rinku_pgsql@yahoo.com
  Subject: Re: How to run PHP on WinXP ?
  In-Reply-To: <002e01c455e3$0a53ae90$0301a8c0@Mesa.com>
  References: <20040619092023.26903.qmail@web54110.mail.yahoo.com> <002e01c455e3$0a53ae90$0301a8c0@Mesa.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox