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!