Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: [PHP-WIN] getting started - need pointers

1 view
Skip to first unread message

Joseph LeBlanc

unread,
May 28, 2009, 5:32:43 PM5/28/09
to mik...@channelk.ca, php-w...@lists.php.net
You might need to uninstall the Apache server that you installed
before WAMP. If you still have that old one running, http://localhost
will be pointing to the old server rather than the WAMP one.

-Joe

On May 28, 2009, at 4:16 PM, Mike Kay wrote:

> WAMP installed. PHP still not working.....sigh
>
>> have you looked at WAMP ? theres Xammp too but never really liked it
>> myself
>> much ...other swear by it though
>>
>> Look at WAMP :
>>
>> http://www.wampserver.com/en/, it can start as a service and all that
>>
>>
>>
>>
>>
>>
>>
>>
>> 2009/5/28 Mike Kay <mik...@channelk.ca>
>>
>> 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.
>>>
>>>
>>>
>>> --
>>> PHP Windows Mailing List (http://www.php.net/)
>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>
>>>
>>
>
>
> The highest achievement possible is compassion.
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

Mike Kay

unread,
May 28, 2009, 2:11:26 PM5/28/09
to php-w...@lists.php.net

Mike Kay

unread,
May 28, 2009, 4:16:43 PM5/28/09
to php-w...@lists.php.net
WAMP installed. PHP still not working.....sigh

> have you looked at WAMP ? theres Xammp too but never really liked it
> myself
> much ...other swear by it though
>
> Look at WAMP :
>
> http://www.wampserver.com/en/, it can start as a service and all that
>
>
>
>
>
>
>
>
> 2009/5/28 Mike Kay <mik...@channelk.ca>
>

Anton Heuschen

unread,
May 28, 2009, 2:27:44 PM5/28/09
to php-w...@lists.php.net
have you looked at WAMP ? theres Xammp too but never really liked it myself
much ...other swear by it though

Look at WAMP :

http://www.wampserver.com/en/, it can start as a service and all that


2009/5/28 Mike Kay <mik...@channelk.ca>

Greetings. I am trying to get PHP installed and working on a Windows

Andi Gutmans

unread,
May 28, 2009, 4:44:09 PM5/28/09
to mik...@channelk.ca, php-w...@lists.php.net
Try Zend Server CE - http://www.zend.com/community/zend-server-ce
It's also got some value-add like best performance, Java connectivity,
etc...
Works with both Apache on Windows and supports IIS natively.

Let me know if you have any issues.

Andi

Mike Kay

unread,
May 28, 2009, 2:36:54 PM5/28/09
to php-w...@lists.php.net
Thanks for the post. Downloading now. Should I uninstall PHP, Mysql and
Apache before installing WAMP?

Anton Heuschen

unread,
May 28, 2009, 5:43:34 PM5/28/09
to mik...@channelk.ca, php-w...@lists.php.net
Thanks Joe, my, same thoughts too .... or Mike is using short tags or not
correct like <? ?> and not <php ?> etc ... but I think its more like Joe is
saying ...its not calling the wamp stuff but still he's orignal installs.

Lets see what happens ... Oh and mike ...make sure WAMP is started ...should
see a little icon in system tray (looks like speedometer, if its all white
everything started fine ... if its 2/3 yellow something failed to start...
if its 1/3 red ... then there is issues with starting the services .... hint
left click on icon to get pop-up menu ... with options for php and apache.

Hope Joe gives you some pointers too...

2009/5/28 Joseph LeBlanc <con...@jlleblanc.com>

Elizabeth M Smith

unread,
May 28, 2009, 7:29:45 PM5/28/09
to php-w...@lists.php.net

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

0 new messages