NYCPHP Meetup

[nycphp-talk] QUESTION ABOUT PHP INSTALLATION

pyurt pyurt at yahoo.com
Mon Jun 19 10:19:26 EDT 2006


What is your purpose? It would help to know what you want to do. 

 

To get php go to www.php.net <http://www.php.net/>   You will find an
install distribution for your platform. 

The install will place the PHP language files into a directory which
typically is c:\php on a windows machine. 

 

HTML is different. Do you want to use PHP to make HTML and show it in a
browser? If so, you need to install a HTTP server (web server) such as
Apache. Which can be found at www.apache.org <http://www.apache.org/> . The
apache install is quite straight forward. If you install the web server you
may need to tell it about (change a config file setting) to indicate the
presence of a php install. There are notes on this on the apache site and
also on the php.net site. 

 

Your source can go anywhere if you are only using php. Source goes into a
specific place if you are using a web server and you want to see it in the
browser.

 

A path the php will take care of allowing you to run the php code. PHP like
Basic or other languages has a interpretive mode, is that what you want? If
rather, you want to run the php from a browser, then you are talking about a
web application which requires a web server like Apache. 

 

 

  _____  

From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On
Behalf Of Salman Mazhar
Sent: Monday, June 19, 2006 7:03 AM
To: NYPHP Talk
Subject: [nycphp-talk] QUESTION ABOUT PHP INSTALLATION

 

Hello,

 

I am trying to install PHP 5.1.4 on my Windows Computer. Please note that it
is not a Web Server. Its just a simple computer for home use. First of all,
can I even install PHP on this or does it have to be on a web server? Then
what configuration changes do I need to make in order for the PHP files to
run successfully? Does my source code have to be in any particular directory
on my machine and in order to access those pages, what URL do I need to type
in my browser and can I also put my HTML files in the same directory? Please
can you help me? 

 

Thanks.

Sincerely Yours,

Salman Mazhar.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20060619/d646a95e/attachment.html>


More information about the talk mailing list