{"id":655,"date":"2020-01-11T17:48:49","date_gmt":"2020-01-11T16:48:49","guid":{"rendered":"https:\/\/ekiwi.de\/?p=655"},"modified":"2020-01-11T17:48:49","modified_gmt":"2020-01-11T16:48:49","slug":"ezphp-einfacher-entwicklungswebserver-mit-php","status":"publish","type":"post","link":"https:\/\/ekiwi.de\/index.php\/655\/ezphp-einfacher-entwicklungswebserver-mit-php\/","title":{"rendered":"ezPHP &#8211; einfacher Entwicklungswebserver mit PHP"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Inhalt<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/ekiwi.de\/index.php\/655\/ezphp-einfacher-entwicklungswebserver-mit-php\/#Debugging_mit_XDebug\" >Debugging mit XDebug<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/ekiwi.de\/index.php\/655\/ezphp-einfacher-entwicklungswebserver-mit-php\/#Fazit\" >Fazit<\/a><\/li><\/ul><\/nav><\/div>\n<p>Wer eine PHP-Entwicklungs- und Testumgebung unter Windows einrichtet, nimmt meist Xampp. Eine schnelle Alternative ist die OpenSource-Software ezPHP.<\/p>\n<p><!--more--><\/p>\n<p>Die Software besteht nur aus einer .exe Datei. Wird diese gestartet, startet diese einen Webserver mit PHP-Unterst\u00fctzung. Die HTML und PHP-Dateien liegen in einem Unterordner &#8222;public_html&#8220;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/01\/ezphp_1.png\" alt=\"\" width=\"439\" height=\"152\" class=\"aligncenter size-full wp-image-657\" srcset=\"\/wp-content\/uploads\/2020\/01\/ezphp_1.png 439w, \/wp-content\/uploads\/2020\/01\/ezphp_1-300x104.png 300w\" sizes=\"auto, (max-width: 439px) 100vw, 439px\" \/><\/p>\n<p>Nach dem Start wird ein Konsolenfenster ge\u00f6ffnet, in welchem auch Meldungen von Scripten, Fehlermeldungen und andere Informationen ausgegeben werden:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/01\/ezphp_2.png\" alt=\"\" width=\"979\" height=\"512\" class=\"aligncenter size-full wp-image-658\" srcset=\"\/wp-content\/uploads\/2020\/01\/ezphp_2.png 979w, \/wp-content\/uploads\/2020\/01\/ezphp_2-300x157.png 300w, \/wp-content\/uploads\/2020\/01\/ezphp_2-768x402.png 768w\" sizes=\"auto, (max-width: 979px) 100vw, 979px\" \/><\/p>\n<p>Standardm\u00e4\u00dfig l\u00e4uft der Webserver unter Port 8080. Andere Ports lassen sich beim Start \u00fcber Parameter einstellen.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Debugging_mit_XDebug\"><\/span>Debugging mit XDebug<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Eine weitere coole Funktion ist der integrierte XDebug-Debugger. Mit einem Programm wie <a href=\"https:\/\/ekiwi.de\/index.php\/198\/php-debugging-in-xampp-und-uestudio-einrichten\/\" target=\"_blank\" rel=\"noopener noreferrer\">VisualStudio Coder oder UEStudio<\/a> k\u00f6nnen Scripte so mit Breakpoints gestoppt und debuggt werden.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/01\/ezphp_debugging.jpg\" alt=\"\" width=\"779\" height=\"295\" class=\"aligncenter size-full wp-image-659\" srcset=\"\/wp-content\/uploads\/2020\/01\/ezphp_debugging.jpg 779w, \/wp-content\/uploads\/2020\/01\/ezphp_debugging-300x114.jpg 300w, \/wp-content\/uploads\/2020\/01\/ezphp_debugging-768x291.jpg 768w\" sizes=\"auto, (max-width: 779px) 100vw, 779px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Fazit\"><\/span>Fazit<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Auf meinem Arbeitsrechner werde ich weiterhin Xampp verwenden. Aber mit ezPHP kann schnell eine Entwicklungsumgebung auf einem Rechner gestartet werden. Der Server kann portabel genutzt werden. Auf einem USB-Stick habe ich so immer meine PHP-Entwicklungsumgebung dabei. Gleiches gilt f\u00fcr Rechner mit wenig Speicher, wie Netbooks.<\/p>\n<p><a href=\"https:\/\/github.com\/marcomilon\/ezphp\" target=\"_blank\" rel=\"noopener noreferrer\">Homepage und Download von ezPHP<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Wer eine PHP-Entwicklungs- und Testumgebung unter Windows einrichtet, nimmt meist Xampp. Eine schnelle Alternative ist die OpenSource-Software ezPHP.<\/p>\n","protected":false},"author":1,"featured_media":656,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[14],"tags":[125,31,69],"class_list":["post-655","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php","tag-entwicklung","tag-php","tag-webserver"],"_links":{"self":[{"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/posts\/655","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/comments?post=655"}],"version-history":[{"count":0,"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/posts\/655\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/media\/656"}],"wp:attachment":[{"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/media?parent=655"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/categories?post=655"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ekiwi.de\/index.php\/wp-json\/wp\/v2\/tags?post=655"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}