Re: getting started - need pointers

Elizabeth M Smith <[email protected]>
Newsgroups gmane.comp.php.windows
Message-ID <[email protected]>
Mike Kay wrote:
> Greetings. I am trying to get PHP installed and working on a Windows
> server - Windows Standard 2007. I've downloaded and installed PHP 5.2.9.
> Problem is I don't know how to use this at all. My web server is Apache
> 2.2 - my database is Mysql.
> 
> I selected the Apache module 2.2 during the install, and added support for
> Mysql in extensions.
> 
> How can make windows start PHP on boot?
> When I click on a .php file, the file opens rather than runs. Obviously
> I've missed something. There is a command phpinfo - to view the parameters
> of the PHP installed - I don't remember how to run this on the command
> line.
> 
> Any help MOST appreciated.
> Also, I'm seeking pointers to beginners documentation for Windows users.
> 
> Thanks a lot.
> 
> 

Lets go back to the very beginning - to use a webserver, you have to
view your PHP file in a webserver, not by double clicking on .php file

Installing the server may have been successful, but to view it you need
to open up a web browser and head to http://localhost

I repeat - double clicking on a .php file does nothing - you need to use
a browser to visit the webpages from your newly installed server.

There is also a PHP command line interface if you so desire.  To use
this, you need to go to start->run and type cmd.exe

Then you need to figure out exactly where PHP is installed - c:\program
files\php or wherever you put it.  cd to this location and then type

>php -v

to see what version you are running

>php -i

will give you the phpinfo() information

Thanks,
Elizabeth Smith

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.