{"id":297,"date":"2009-03-14T11:47:17","date_gmt":"2009-03-14T10:47:17","guid":{"rendered":"http:\/\/flaven.fr\/?p=297"},"modified":"2013-09-28T05:38:38","modified_gmt":"2013-09-28T03:38:38","slug":"installer-facilement-php-mysql-sur-un-pc-avec-easyphp","status":"publish","type":"post","link":"https:\/\/flaven.fr\/2009\/03\/installer-facilement-php-mysql-sur-un-pc-avec-easyphp\/","title":{"rendered":"Installer facilement PHP-MySQL sur un PC avec EasyPHP"},"content":{"rendered":"<p><!-- Installer facilement PHP-MySQL sur un PC avec EasyPHP --><br \/>\nPour obtenir rapidement un environnement de d\u00e9veloppement PHP-MySQL sur PC, le plus simple est de t\u00e9l\u00e9charger le \u00ab one click installer \u00bb Easyphp. Cet ex\u00e9cutable vous permettra d\u2019installer tr\u00e8s facilement localement les principaux \u00e9l\u00e9ments pour d\u00e9couvrir ou r\u00e9aliser des d\u00e9veloppements \u00e0 l\u2019aide PHP-MySQL. Ce package comprend les 3 derni\u00e8res lettres du sacro-saint acronyme LAMP (Linux, Apache, MySQL, PHP). Son concurrent direct l\u2019a d\u2019ailleurs compris puisque il se nomme WAMP (Windows, Apache, MySQL, PHP). Il propose \u00e0 peu de choses pr\u00e9s un environnement \u00e9quivalent.<!--more--><\/p>\n<h2>Installer et d\u00e9couvrir l&#8217;application EasyPHP<\/h2>\n<p>L&#8217;installation de EasyPHP se fait comme une simple application windows, on ne s&#8217;attarde donc pas sur cette phase qui ne pose \u00e0 priori pas de probl\u00e8mes.<\/p>\n<h4>La console et l&#8217;ic\u00f4ne EasyPHP<\/h4>\n<p>Une fois l&#8217;application t\u00e9l\u00e9charg\u00e9e sur le site de EasyPHP et l&#8217;installation effectu\u00e9e sans accroches, vous devez avoir acc\u00e8s \u00e0 la console ci-dessous. Par ailleurs, l&#8217;ic\u00f4ne EasyPHP vient se loger dans la barre de taches, cela vous donne acc\u00e8s \u00e0 tous les propri\u00e9t\u00e9s de EasyPHP. <\/p>\n<p><strong>EasyPHP \u00e0 l&#8217;arr\u00eat<\/strong><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2009\/03\/easyphp_4.jpg\" alt=\"Installer facilement PHP-MySQL sur un PC avec EasyPHP\" width=\"500\" height=\"300\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2009\/03\/easyphp_0.jpg\" alt=\"Installer facilement PHP-MySQL sur un PC avec EasyPHP\" width=\"500\" height=\"300\" \/><\/p>\n<p><strong>EasyPHP demarr\u00e9<\/strong><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2009\/03\/easyphp_1.jpg\" alt=\"Installer facilement PHP-MySQL sur un PC avec EasyPHP\" width=\"500\" height=\"300\" \/><\/p>\n<h4>L&#8217;acc\u00e8s via le navigateur au serveur en local et \u00e0 l&#8217;administration EasyPHP<\/h4>\n<p>Lorsque les services suivants Apache et MySQL sont d\u00e9marr\u00e9s, vous pouvez acc\u00e9der \u00e0 un site web en local en tapant l&#8217;adresse suivante dans votre navigateur <code>http:\/\/127.0.0.1\/<\/code><\/p>\n<p><strong>L&#8217;\u00e9cran de configuration de EasyPHP lorsque vous s\u00e9lectionnez &#8220;Administration&#8221; via l&#8217;ic\u00f4ne ou via <code>http:\/\/127.0.0.1\/home\/<\/code>.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2009\/03\/easyphp_2.jpg\" alt=\"Installer facilement PHP-MySQL sur un PC avec EasyPHP\" width=\"500\" height=\"300\" \/><\/p>\n<p><strong>L&#8217;acc\u00e8s \u00e0 phpMyadmin se fait via <code>http:\/\/127.0.0.1\/home\/mysql\/<\/code>.<\/strong><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2009\/03\/easyphp_3.jpg\" alt=\"Installer facilement PHP-MySQL sur un PC avec EasyPHP\" width=\"500\" height=\"300\" \/><\/p>\n<h4>Ma premi\u00e8re page en php dans EasyPHP<\/h4>\n<p><strong>En pla\u00e7ant un fichier index.php, localement dans le r\u00e9pertoire www de EasyPHP situ\u00e9 dans notre exemple \u00e0 cette adresse  <code>C:EasyPHP_2_0b1www<\/code>.<\/strong>. Vous pouvez renommer la page.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2009\/03\/easyphp_5.jpg\" alt=\"Installer facilement PHP-MySQL sur un PC avec EasyPHP\" width=\"500\" height=\"300\" \/><\/p>\n<h4>Le code de ma premi\u00e8re page en php<\/h4>\n<pre lang=\"php\" escaped=\"true\">\r\n\t&lt;!DOCTYPE html PUBLIC &quot;-\/\/W3C\/\/DTD HTML 4.01 Transitional\/\/EN&quot;\r\n\t   &quot;http:\/\/www.w3.org\/TR\/html4\/loose.dtd&quot;&gt;\r\n\r\n\t&lt;html lang=&quot;fr&quot;&gt;\r\n\t&lt;head&gt;\r\n\t\t&lt;title&gt;ma nouvelle page index.php&lt;\/title&gt;\r\n\t&lt;\/head&gt;\r\n\r\n\t&lt;body&gt;\r\n\r\n\r\n\r\n\t&lt;?php\r\n\r\n\t\/* php code *\/\r\n\r\n\techo ('&lt;h1&gt;ma nouvelle page index.php&lt;\/h1&gt;');\r\n\r\n\t ?&gt;\r\n\r\n\r\n\t&lt;\/body&gt;\r\n\t&lt;\/html&gt;\r\n\r\n<\/pre>\n<h2>Pour aller plus loin<\/h2>\n<p>\tLe site officiel de EasyPHP<\/p>\n<ul>\n<li><a href=\"http:\/\/www.easyphp.org\/\" target=\"_blank\">EasyPHP &#8211; http:\/\/www.clicktracks.com\/<\/a><\/li>\n<\/ul>\n<p>\tLe site officiel de WAMP<\/p>\n<ul>\n<li><a href=\"http:\/\/www.wampserver.com\/\" target=\"_blank\">WAMP &#8211; http:\/\/www.wampserver.com\/<\/a><\/li>\n<\/ul>\n<p>Les principaux \u00e9l\u00e9ments que vous installez avec Easyphp<br \/>\n<\/p>\n<ul>\n<li><a href=\"http:\/\/www.php.net\/FAQ.php\" target=\"_blank\">PHP &#8211; http:\/\/www.php.net\/FAQ.php<\/a><\/li>\n<li><a href=\"http:\/\/dev.mysql.com\/tech-resources\/faq.html\" target=\"_blank\">MySQL &#8211; http:\/\/dev.mysql.com\/tech-resources\/faq.html<\/a><\/li>\n<li><a href=\"http:\/\/httpd.apache.org\/docs\/1.3\/misc\/FAQ.html\" target=\"_blank\">Apache &#8211; http:\/\/httpd.apache.org\/docs\/1.3\/misc\/FAQ.html<\/a><\/li>\n<li><a href=\"http:\/\/www.phpmyadmin.net\/documentation\/#faq\" target=\"_blank\">PhpMyAdmin &#8211; http:\/\/www.phpmyadmin.net\/documentation\/#faq<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Pour obtenir rapidement un environnement de d\u00e9veloppement PHP-MySQL sur PC, le plus simple est de t\u00e9l\u00e9charger le \u00ab one click installer \u00bb Easyphp. Cet ex\u00e9cutable&hellip; <\/p>\n<p class=\"text-center\"><a href=\"https:\/\/flaven.fr\/2009\/03\/installer-facilement-php-mysql-sur-un-pc-avec-easyphp\/\" class=\"more-link\">Continue reading &rarr; <span class=\"screen-reader-text\">Installer facilement PHP-MySQL sur un PC avec EasyPHP<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":9592,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"bf_ai_meta_description":"EasyPHP simplifie l'installation de PHP-MySQL sur PC. T\u00e9l\u00e9chargez l'outil pour un environnement de d\u00e9veloppement local rapide.","bf_ai_og_title":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[3444,3449],"tags":[2211,20],"class_list":["post-297","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming-databases","category-tutorials-how-to","tag-mysql","tag-php"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3Vuhl-4N","jetpack_featured_media_url":"https:\/\/flaven.fr\/wp-content\/uploads\/2009\/03\/install_easyphp_pc_b_g_bf.jpg","_links":{"self":[{"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/posts\/297","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/comments?post=297"}],"version-history":[{"count":1,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/posts\/297\/revisions"}],"predecessor-version":[{"id":9593,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/posts\/297\/revisions\/9593"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/media\/9592"}],"wp:attachment":[{"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/media?parent=297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/categories?post=297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/tags?post=297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}