FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP Coding
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: PHP Coding [message #174588 is a reply to message #174585] Mon, 20 June 2011 18:08 Go to previous messageGo to previous message
Michael Fesser is currently offline  Michael Fesser
Messages: 215
Registered: September 2010
Karma:
Senior Member
.oO(Elicode)

> I run a personal home computer which is Windows 7 Home premium-64-bit
> processor. I am not sure if I have any server pre-installed already

Most likely not. And if there would be any, it would be IIS. But PHP on
an IIS … well, it's possible, but just doesn't feel right. ;-)

> but I want to start writing PHP codes for the first time(Learning it)
> then test them using my browsers. Do I need to do anything a part from
> installing an IDE and a text editor?

PHP needs an environment consisting of a webserver (usually Apache), the
interpreter itself and - optional - often a database (usually MySQL).
Combine that with the used operating system (usually Windows or Linux)
and you'll get the names you can search for to get all-in-one-packages
(excluding the OS, of course): WAMP or LAMP.

So if you don't want to install the required software by hand (not that
complicated, though), you could have a look at the XAMPP project for
example:

http://www.apachefriends.org/en/xampp-windows.html

Haven't used it myself, but heard good things about it.

* * *

An additional note about the PHP configuration: After you got your PHP
system up and running, check the php.ini and make sure these directives
are configured as follows:

error_reporting = E_ALL|E_STRICT
display_errors = yes

Especially the first one is important. By default PHP would hide
E_NOTICE errors (at least it did all the years, not sure if it's still
the case), but on a development system it's a must to show _all_ error
messages. And if you're about to learn PHP, it's even more important, so
you can avoid sloppy coding right from the beginning.

> Please help me with this.
> I use Microsoft's powerful WebMatrix text editor and I have Visual
> Studio IDE as well.

You can use whatever IDE you like. I prefer Eclipse/PDT, but that's
completely up to you.

Good luck and have fun.

HTH
Micha
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Stats comp.lang.php (last 7 days)
Next Topic: Compiling PHP error
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Sep 19 23:27:10 GMT 2024

Total time taken to generate the page: 0.05333 seconds