c:\\usr> mkdir c:\\usr\\pear\r\nc:\\usr> cd c:\\usr\\pear\r\nc:\\usr\\pear> wget -qN --show-progress https:\/\/pear.php.net\/go-pear.phar\r\nc:\\usr\\pear> php go-pear.phar<\/pre>\r\nLo primero que nos preguntar\u00e1 es si la instalaci\u00f3n es de \"sitema\" (com\u00fan) o \"local\", le decimos que es \"local\" y confirmamos:\r\nAre you installing a system-wide PEAR or a local copy?\r\n(system|local) [system] : local\r\nPlease confirm local copy by typing 'yes' : yes<\/pre>\r\nEntonces nos muestra las rutas de instalaci\u00f3n:\r\nBelow is a suggested file layout for your new PEAR installation. To\r\nchange individual locations, type the number in front of the\r\ndirectory. Type 'all' to change all of them or simply press Enter to\r\naccept these locations.\r\n\r\n 1. Installation base ($prefix) : C:\\usr\\pear\r\n 2. Temporary directory for processing : C:\\usr\\pear\\tmp\r\n 3. Temporary directory for downloads : C:\\usr\\pear\\tmp\r\n 4. Binaries directory : C:\\usr\\pear\r\n 5. PHP code directory ($php_dir) : C:\\usr\\pear\\pear\r\n 6. Documentation directory : C:\\usr\\pear\\docs\r\n 7. Data directory : C:\\usr\\pear\\data\r\n 8. User-modifiable configuration files directory : C:\\usr\\pear\\cfg\r\n 9. Public Web Files directory : C:\\usr\\pear\\www\r\n10. System manual pages directory : C:\\usr\\pear\\man\r\n11. Tests directory : C:\\usr\\pear\\tests\r\n12. Name of configuration file : C:\\usr\\pear\\pear.ini\r\n13. Path to CLI php.exe : c:\\usr\\php\r\n\r\n1-13, 'all' or Enter to continue:<\/pre>\r\nSi no nos hemos perdido con los pasos y los hemos seguido bien ver\u00e1s\u00a0que las rutas ya son correctas y s\u00f3lo hay que pulsar intro<\/em> para seguir:\r\nBeginning install...\r\nConfiguration written to C:\\usr\\pear\\pear.ini...\r\nInitialized registry...\r\nPreparing to install...\r\ninstalling phar:\/\/C:\/usr\/pear\/go-pear.phar\/PEAR\/go-pear-tarballs\/Archive_Tar-1.4.0.tar...\r\ninstalling phar:\/\/C:\/usr\/pear\/go-pear.phar\/PEAR\/go-pear-tarballs\/Console_Getopt-1.4.1.tar...\r\ninstalling phar:\/\/C:\/usr\/pear\/go-pear.phar\/PEAR\/go-pear-tarballs\/PEAR-1.10.1.tar...\r\ninstalling phar:\/\/C:\/usr\/pear\/go-pear.phar\/PEAR\/go-pear-tarballs\/Structures_Graph-1.1.1.tar...\r\ninstalling phar:\/\/C:\/usr\/pear\/go-pear.phar\/PEAR\/go-pear-tarballs\/XML_Util-1.3.0.tar...\r\ninstall ok: channel:\/\/pear.php.net\/Archive_Tar-1.4.0\r\ninstall ok: channel:\/\/pear.php.net\/Console_Getopt-1.4.1\r\ninstall ok: channel:\/\/pear.php.net\/Structures_Graph-1.1.1\r\ninstall ok: channel:\/\/pear.php.net\/XML_Util-1.3.0\r\ninstall ok: channel:\/\/pear.php.net\/PEAR-1.10.1\r\nPEAR: Optional feature webinstaller available (PEAR's web-based installer)\r\nPEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installer)\r\nPEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based installer)\r\nPEAR: To install optional features use \"pear install pear\/PEAR#featurename\"\r\n\r\n** WARNING! Old version found at C:\\usr\\pear, please remove it or be sure to use the new c:\\usr\\pear\\pear.bat command\r\n\r\nThe 'pear' command is now at your service at c:\\usr\\pear\\pear.bat<\/pre>\r\nY ya est\u00e1, listo para la primera prueba:\r\nc:\\usr\\pear> cd c:\\usr\r\nc:\\usr> pear clear-cache\r\nreading directory c:\\Users\\username\\AppData\\Local\\Temp\\pear\\cache\r\n0 cache entries cleared\r\n\r\nc:\\usr> pear update-channels\r\nUpdating channel \"doc.php.net\"\r\nUpdate of Channel \"doc.php.net\" succeeded\r\nUpdating channel \"pear.php.net\"\r\nUpdate of Channel \"pear.php.net\" succeeded\r\nUpdating channel \"pecl.php.net\"\r\nUpdate of Channel \"pecl.php.net\" succeeded\r\n\r\nc:\\usr> pear upgrade\r\ndownloading Archive_Tar-1.4.2.tgz ...\r\nStarting to download Archive_Tar-1.4.2.tgz (20,624 bytes)\r\n........done: 20,624 bytes\r\nupgrade ok: channel:\/\/pear.php.net\/Archive_Tar-1.4.2<\/pre>\r\nYa s\u00f3lo nos faltar\u00eda instalar composer<\/em>:\r\nC:\\usr> wget -qN --show-progress https:\/\/getcomposer.org\/composer.phar -P c:\\usr\\bin\\\r\ncomposer.phar 100%[======================>] 1.74M 4.47MB\/s in 0.4s<\/pre>\r\nPara actualizar composer<\/em>:\r\nC:\\usr> composer selfupdate\r\nUpdating to version 1.3.1 (stable channel).\r\n Downloading: 100%\r\nUse composer self-update --rollback to return to version 285ff274accb24f45ffb070c2b9cfc0722c31af4<\/pre>\r\nAhora ya estamos listos para crear y ejecutar nuestros scripts PHP en l\u00ednea de comandos.\r\n\r\nEn la pr\u00f3xima entrega instalaremos XAMPP y reemplazaremos el PHP incorporado por el que acabos de instalar.","_es_post_name":"how-to-instalar-php","_es_post_excerpt":"","_es_post_title":"How-To: Instalar PHP","_en_post_content":"","_en_post_name":"","_en_post_excerpt":"","_en_post_title":"","edit_language":"en","footnotes":""},"categories":[41,5],"tags":[42,6],"class_list":["post-243","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to","category-php","tag-how-to","tag-php"],"ninja_gutenberg_blocks_featured_media_urls":{"thumbnail":["https:\/\/lab.fawno.com\/wp-content\/uploads\/2016\/06\/header-logo-win.jpg",148,76,false],"ninja_gutenberg_blocks_landscape_large":["https:\/\/lab.fawno.com\/wp-content\/uploads\/2016\/06\/header-logo-win.jpg",148,76,false],"ninja_gutenberg_blocks_portrait_large":["https:\/\/lab.fawno.com\/wp-content\/uploads\/2016\/06\/header-logo-win.jpg",148,76,false],"ninja_gutenberg_blocks_square_large":["https:\/\/lab.fawno.com\/wp-content\/uploads\/2016\/06\/header-logo-win.jpg",148,76,false],"ninja_gutenberg_blocks_landscape":["https:\/\/lab.fawno.com\/wp-content\/uploads\/2016\/06\/header-logo-win.jpg",148,76,false],"ninja_gutenberg_blocks_portrait":["https:\/\/lab.fawno.com\/wp-content\/uploads\/2016\/06\/header-logo-win.jpg",148,76,false],"ninja_gutenberg_blocks_square":["https:\/\/lab.fawno.com\/wp-content\/uploads\/2016\/06\/header-logo-win.jpg",148,76,false],"full":["https:\/\/lab.fawno.com\/wp-content\/uploads\/2016\/06\/header-logo-win.jpg",148,76,false]},"_links":{"self":[{"href":"https:\/\/lab.fawno.com\/en\/wp-json\/wp\/v2\/posts\/243","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab.fawno.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab.fawno.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab.fawno.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab.fawno.com\/en\/wp-json\/wp\/v2\/comments?post=243"}],"version-history":[{"count":13,"href":"https:\/\/lab.fawno.com\/en\/wp-json\/wp\/v2\/posts\/243\/revisions"}],"predecessor-version":[{"id":302,"href":"https:\/\/lab.fawno.com\/en\/wp-json\/wp\/v2\/posts\/243\/revisions\/302"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab.fawno.com\/en\/wp-json\/wp\/v2\/media\/249"}],"wp:attachment":[{"href":"https:\/\/lab.fawno.com\/en\/wp-json\/wp\/v2\/media?parent=243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab.fawno.com\/en\/wp-json\/wp\/v2\/categories?post=243"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab.fawno.com\/en\/wp-json\/wp\/v2\/tags?post=243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}