You are here: Re: Absolute Beginner (Setup Questions) « PHP Programming Language « IT news, forums, messages
Re: Absolute Beginner (Setup Questions)

Posted by denis on 02/13/07 18:16

<See_Red_Run@Yahoo.com> wrote in message
news:1171389693.101738.274590@m58g2000cwm.googlegroups.com...
> On Feb 13, 9:39 am, "denis" <d...@cced.ba> wrote:
>> <See_Red_...@Yahoo.com> wrote in message
>>
>> news:1171387620.825504.323580@q2g2000cwa.googlegroups.com...
>>
>>
>>
>>
>>
>> > Hi,
>> > I am trying to figure out how to get started with PHP/MySQL.
>> > Everything I've read so far says to start with PHP first. I was
>> > expecting something like Visual Basic Express or some other type of
>> > free IDE. So I discovered that I needed to download a virtual server,
>> > so I downloaded OmniSecure and followed the set up instructions as far
>> > as I could figure them out.
>>
>> > So here is where I'm stuck.
>> > 1) While trying to set up and configure everything it tells me to move/
>> > rename a certain .ini file. I can't find this file.
>>
>> > 2) Even if I did get set up correctly I'm not sure what program/IDE to
>> > use to begin entering code?
>>
>> > I am obviously a beginner, but have made several Access databases and
>> > basic applications using Visual Basic Express and SQL Server Express
>> > but all of those programs have had various set up wizards that made
>> > everything idiot proof.
>>
>> > Any help would be appreciated.
>> > Thank you.
>>
>> As far as the setup itself is concerned, if you want an operational
>> Apache/PHP/MySQL stack I would recommend downloading and installing
>> xampp.
>> It installs and configures everything by itself and all you have to do is
>> click Next alot. :)
>>
>> This is really a good way for a beginner to get everything operational.
>> Possible limitation - I don't know if there's a version for Linux, but
>> Windows version works great for me.
>>
>> If you insist on setting up everything individually, be prepared for some
>> manual work. I would suggest going towww.php.netas they have alot of info
>> on how to do that. If you'd like I could send you a small powerpoint file
>> with instructions on how to get IIS/Apache+PHP+MySQL up and running on
>> Windows.
>>
>> As far as coding is concerned, you can start with Notepad if you don't
>> have
>> anything else. There are some editors and IDEs that could help you out. I
>> remember liking Bluefish on Linux, and as far as Win32 is concerned, I
>> usually go with Notepad (pure lazyness) but it shouldn't be a problem to
>> find some tools. I'm told that these days Macromedia Dreamweaver supports
>> PHP developement including code-completion, so if you already have a
>> license
>> for that, you might like using the same tool for web design and PHP
>> coding.
>>
>> Denis Gerina- Hide quoted text -
>>
>> - Show quoted text -
>
> Ok, thanks for the info. I like the idea of clicking next a lot lol.
> I'm still use to Microsoft holding my hand for everything. To be
> honest though I have no idea what Apache is, but I like the idea of it
> being packaged together.
>
> I'm ok with using notepad, but do I need to save with a special
> extension like .html or similiar?
>
> I wouldn't mind a copy of that powerpoint lesson if you would e-mail
> it to me that would be great.
> See_Red_Run (At) Yahoo (dot) com . I don't normally check that
> address since it's for trash collection mostly but if you send it
> there I'll be looking for it.
>

Apache is a web-server which you can install freely on your machine.
Web-apps usually work on a request-response model, where the client (using a
web-browser like IE or Mozilla) sends a request for a particular web page (a
file stored on a web-server) and the web-server responds by returning the
requested content. This is in basic terms how the web works and how you make
your static web pages accessible to others. With dynamic web-pages, or in
your case PHP scripts, your web-server receives a request for a PHP script
from the client, then it basically forwards this to a PHP engine (kinda like
a black box :) ) with the input received from the client, the PHP engine
processes it (executes the script) and returns some output (HTML) which then
the web-server send to the client. I recommend finding a book on PHP
development before you start so you could get a basic understand on how
web-apps work, what goes where and how to deploy and test your scripts.

PHP scripts are usually saved with a .php extension (this can be changed).
You do however have to save it into a folder accesible to the web server.
With Apache, that is by default the htdocs folder and it's subfolders (if
you install via xampp, it should be C:\Program Files\xampp\htdocs by
default). Once saved, you can test the script using a web browser and
entering the url. For example, entering

http://127.0.0.1/myfolder/test1.php

would execute a script called test1.php saved in C:\Program
Files\xampp\htdocs\myfolder, if you use the default installation of xampp.



I'll send the ppt as soon as possible, just let me translate it from Bosnian
into English. :)


Denis Gerina

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация