You are here: Re: New Girl Needs Help Installing « PHP SQL « IT news, forums, messages
Re: New Girl Needs Help Installing

Posted by Daemon on 01/01/06 22:20

S.Williams wrote:
> Also I don't quite understand what PHP is?
>
> Stephanie
>
>
> "S.Williams" <s.williams2005@gmail.com> wrote in message
> news:%PStf.27829$Ou3.22181@dukeread09...
>
>>Hey guys,
>>
>>I was asked to learn SQL for my employer. The book I'm starting in said
>>that I would need; a web server(Apache), so that it can access the PHP
>>language. In addition, I would need MySQL installed and PHP has to be able
>>to recognize MySQL.
>>
>>So..
>>I downloaded :
>> apache_2.0.55-win32-x86-no_ssl (windows apache installer package)
>> mysql-essential-5.0.18-win32 (mySQL installer package)
>> php-5.1.1-installer (PHP installer package)
>>
>>
>>I installed apache i followed the directions exactly as on the site and
>>then tested it by typing http://localhost/ in to my browser and a page
>>came up that said it was installed.
>>
>>Then, I installed MySQL. Then it said to test that MySQL was working
>>properly I would then open MySQL Command Line Client, simply enter the
>>password, and if the client allows access with no errors, that MySQL would
>>be working properly. .. There were no errors.
>>
>>Lastly I installed the PHP. The instructions said that after installing
>>PHP that we would need to configure a few options to make PHP work. It
>>then said to edit the httpd.conf file. So i added these lines after the
>>last line of the config file:
>>
>>ScriptAlias /php/ "c:/server/php/"
>>AddType application/x-httpd-php .php
>>Action application/x-httpd-php "/php/php.exe"
>>
>>Next it said to create a file in htdocs folder called phpinfo.php.Then to
>>open the file and place the following code within it:
>>
>><?PHP phpinfo(); ?>
>>
>>Next to save and close the file then open IE and type
>>http://localhost/phpinfo.php in the bar. If i saw a certain page come up
>>that it worked. It didn't work but I followed all the instructions exactly
>>as stated. Any idea why?
>>
>>Please Help,
>>Stephanie
>>
>
>
>

Did you save your changes to the configuration file... and restart Apache?

PHP is a server side language. If you can imagine so, take Javscript,
and you have math functions, setting varibles, and define your own
functions based on collected information about the client and the
computer the script is executing. Well, PHP is all of that, and more,
but it only uses the HTTP protocol to obtain system information. But
it's not limited to that! You can use PHP to gather large quantities of
information from many differnt sources including your MySQL database.

The simplest function used is pretty much the most basic.

PHP is secure, depending on the security used to ensure its entagrity
from the programmer.

The next thing you might want to try is

<?php

echo 'hello world';

?>

 

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

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