Публикации с тегом "Windows"

????????? Apache + PHP + MySQL ? Windows

??? ??????? ?????????? ? ???? ??? ????????? ?? ????????????? ? ???? ?? ?????????? ?????????? ???-???????:

?????????? ???????????? ?????????? ??? ???????????????? ????? ???????????????? ???-??????????, ????? ???, ????????, Joomla ? Drupal. ??? ???????????? ????? ???????????? ??? ???????????? ????????, ????????????? ? ?????????? ?????.

???? 7: ????????? ? ????????? MySQL

???????? ???????? ????? ???-??????? ???????? ?????? Apache + PHP + MySQL. ???? ?????? ????????? ??????????? ??????????? ??????? ??????? ? CMS, ????? ??? Joomla, Wordpress, Drupal ? ??? ?????. ?????? ???? ??????? ??? ?????????? ?????? ??? ?????? MySQL ? ????????? PHP ??? ?????? ? ???. ????, ? ???????????, ??? ? ??? ??? ??????? ? ??????? ??????????? ??????????????? ??????? Apache ? ????????????? PHP, ????????? ? ???. ???? ??? ?? ???, ?? ? ????:

???? ?? ???????? http://www.mysql.com/downloads/mysql/ ? ????????? ??????????????? ?????? ???????????? MySQL ? ???? MSI ????????????. ? ???? ?????? ???? ????????? mysql-5.5.15-win32.msi. ????? ?????????? ?????? ??? ???????????? ? ?????? ?? ????? ???? ??????????????????, ?? ??? ?????? ????? ???????? ?????? "No thanks, just take me to the downloads!", ???? ??.

???? 6: ????????? ? ????????? ?????????????? PHP

?????????? PHP ?? ??????, ? ????? ??????. ????????????? PHP ????? ??? ?????????? ?????? ? ???-???????? Apache, ????????? ???????? ??????? ? ???? ?????.

??? ?????? ?????????? ??????? ????????? ?????????? ?????? PHP. ??? ????? ???? ?? ??????????? ???????? ???????? http://windows.php.net/download/ ? ????????? ???????? "VC9 x86 Thread Safe" ? ???? ZIP-??????. ? ???? ?????? ???? ????????? php-5.3.4-Win32-VC9-x86.zip. ?????? ?????? ?????????????? ?? ??????? ?????????, ?? ???? ????? ??????????? ? ???????????? ?????. ?????????? ????? ? ?????? ????? C, ??????????? ????? (? ???? ??? ?????????? php-5.3.4-Win32-VC9-x86) ???????????? ? php. ? ????? PHP ? ??? ????? ?????????? ? C:\php.

??? ?????? ?????? ?????? PHP ????????? ????? "Microsoft Visual C++ 2008 Redistributable" (?? ?????? ??????, ? Windows XP SP3 ????????????, ???? ? ??? ????? ?????? ?????? Windows, ?????????? ??????? ?????? ????? ?? ?????????????), ??? ??????? ?? ??????????? ????? ???????????, ???????????????? ??????? ?? ????? ??????. ???? ?????????? vcredist_x86.exe.

? ????? C:\php ???? ??? ?????: php.ini-development ? php.ini-production. ??? ????? ??????? ???????????????? ?????? PHP. ???????? ????? ????? php.ini-production ??? ?????? php.ini ??? ????? ????? ???????? ???????????????? ??????.

???? 1: ????????? ? ????????? ???-??????? Apache

?? ??? ?, ?? ?????????? ?????????? ? ???-???????, ?????? ????? ??? ??? ?????????? ? ?????????? ? ????. ?????????? ???????????????? ???????? ???????? ???????????????? ???-????????, ??? ?????? ?? ???????? ??????????? ?????????? ??????, ??? ??????? ?? ???????????????. ????????? ??? ????? ?? ?????????? ???-??????? Apache. ?????? ??? ????????? ??? ?????? ?????????? ? ???????? ??????. ???????, ????? ????? ?????? ????? ?????????? ??????? ??????? Denwer, ??? ??? ?????? ??????????? ????????, ?? ? ????? ?????? ?????? ?????????? ????? ????? ? ????????????? ??????. ? ????? ???????????? ????? ??? ????? ????????? ?????????? :)

???? ?? ???????? ???????? ??????? http://httpd.apache.org/download.cgi ? ?????? ????????? ?????????? ?????? ??? Windows ? ???? MSI ???????????? (? ???? ?????? ??? ??? apache_2.2.14-win32-x86-no_ssl.msi). ?????? ?????????. ?????? ??????, ??????? ????? ?????? ??? ? ??????????? ??? ?????? ????? ?????????? ? ???????:

??????????????? ??? ?????? ?? ????? ????? ?????????, ? ?????? ??????? ?? ????? ????? ???????? ? ?????? ? ???? "Network Domain" ? "Server Name" localhost, ? ? ???? "Administrator's Email Address" ??? ????? ??????????? ????? (? ???, ??? ????? localhost, ???? ?????? ?????). ?????? ????????????? ?? ???????. ???? "Next", ??????????? ? ???????? ??????????, ??? ??? "Next". ??????????? ????????? ??????? ??????????, ? ??????? ????? ?????????? ???-??????: