| January 2012 | ||||||
| S | M | T | W | T | F | S |
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | 31 | ||||
APACHE,PHP,MYSQL CONNECTIONS INSTRUCTION
---------------Apache installdah--------------------------- 1. install apache localhost localhost your email address 2. apache dotorh httpd.conf file-g neegeed LoadModule gsen bichleguudiin togsgold daraah moriig nemne: --- LoadModule php5_module C:/php/php5apache2_2.dll 3. httpd.conf file dotorh AddType application/x-gzip .tgz gsen moriig olood door ni daraah moriig nemne: AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps AddType application/x-httpd-php .asp (eswel daraah moriig nemj bolno) ScriptAlias /php/ "c:/php/" AddType application/x-httpd-php .php AddType application/x-httpd-php .php3 AddType application/x-httpd-php .php4 AddType application/x-httpd-php .htm AddType application/x-httpd-php .asp AddType application/x-httpd-php .html AddType application/x-httpd-php .phtml Action application/x-httpd-php "C:/php/php.exe" (deerh bichleg ni apache ni yamar orgotgoltei file-g unshihiig zaana.) 4. web.ee huudas bairlaj bga folder-oo portable(zoowriin) bolgoh DocumentRoot "C:/Program files/Apache Group/htdocs", Directory "C:/Program files/Apache Group/htdocs" gsen moruudiig daraah helbertei bolgo: DocumentRoot "C:/www" Directory "C:/www" 5. deerh uildluudiig hiisnii daraa apache-aa restart hii. --------------------php installdah------------------------------ 1. ziplesen php file-aa C:\ disken deeree zadal (C:\php) 2. php hawtsan dotorh php.ini-dist gsen file-g php.ini bolgoj oorchil (rename) 3. doc_root gsen moriig olood doc_root = "D:\www" bolgoj oorchil , (ene uildel ni zailshgui uildel bish tiimees oorchlolt hiihgui ch bj bolno) 4. extension_dir gsen moriig olood extension_dir = "C:\php\ext" bolgoj oorchil. 5. C:\php dotorh libmysql.dll file-g (C:\windows or C:\windows\system32 ) -luu huul. 6. php hawtsan dotorh (php.ini, php5ts.dll) file-g C:/windows dotor huulj tawina. 7. apache-g restart hii. --------------------Mysql installdah---------------------------- 1. install mysql * Typical Setup * Skip Sign-Up * make sure "Configure the MySQL Server now" is checked * "Detailed Configuration" * "Developer Machine" * "Multifunctional Database" * "InnoDB Tablespace Settings" - leave everything default * "Decision Support (DSS)/OLAP" * make sure "Enable TCP/IP Networking" is checked and leave the port number at 3306 (at this point, if you have a firewall, it will usually try to access itself on the localhost) * "Standard Character Set" * check "Install As Windows Service" * enter your root password and I would recommend leaving "Enable root access from remote machines" unchecked * then hit "execute" and it'll install and set it up. 2. php suusan hawtsan dotroos (C:\php\libmysql.dll) libmysql.dll file-g C:\WINDOWS\SYSTEM32 ( or C:\windows) dotroo huulj tawi. 3. php.ini file-g neegeed (;extension=php_mysql.dll) gsen moriig olood omnoh (;) tseg taslaliig ni arilga.tegeed apache-g restart hii. 4. mysql-ee shalgah "; ?> ---------------- Virutal domain uusgeh-------------------------- 1. C:\WINDOWS\system32\drivers\etc dotroh hosts gsen file-g neegeed 127.0.0.1 localhost gedeg moriig olood daraah helbertei bolgo --- 127.0.0.1 example (example -n orond neree og) 2. C:\Program Files\Apache Group\conf\extra dotroh httpd-vhosts gsen file-g neegeed daraah moruudiig oorchil