{"id":254,"date":"2025-08-24T17:39:15","date_gmt":"2025-08-24T15:39:15","guid":{"rendered":"https:\/\/dkarchive.sv-dsy.de\/?post_type=docs&#038;p=254"},"modified":"2025-08-24T17:39:15","modified_gmt":"2025-08-24T15:39:15","password":"","slug":"13-1-php-installieren","status":"publish","type":"docs","link":"https:\/\/dkarchive.sv-dsy.de\/index.php\/docs\/13-1-php-installieren\/","title":{"rendered":"13.1 PHP Installieren"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Hinzuf\u00fcgen zur Paketquelle:<\/h2>\n\n\n\n<p>Zuerst Installieren wir Alle Wichtigen &amp; Ben\u00f6tigten Tools:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt install -y apt-transport-https lsb-release ca-certificates curl<\/pre>\n\n\n\n<p>Dann holen wir uns Quelle mit:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">curl -fsSL https:\/\/packages.sury.org\/php\/apt.gpg | sudo tee \/etc\/apt\/trusted.gpg.d\/php.gpg >\/dev\/null<\/pre>\n\n\n\n<p>Danach f\u00fcgen wir die Quelle in die Paketliste hinzu:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">echo \"deb https:\/\/packages.sury.org\/php\/ $(lsb_release -sc) main\" | sudo tee \/etc\/apt\/sources.list.d\/php.list<\/pre>\n\n\n\n<p>Danach Updatet wir einmal die Paket Quelle:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt update<\/pre>\n\n\n\n<p>Jetz k\u00f6nnen wir PHP Installieren:<\/p>\n\n\n\n<p>sudo apt install php(version)-modul<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Kurzfassung:<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt install -y apt-transport-https lsb-release ca-certificates curl<br>curl -fsSL https:\/\/packages.sury.org\/php\/apt.gpg | sudo tee \/etc\/apt\/trusted.gpg.d\/php.gpg &gt;\/dev\/null<br>echo \"deb https:\/\/packages.sury.org\/php\/ $(lsb_release -sc) main\" | sudo tee \/etc\/apt\/sources.list.d\/php.list<br>sudo apt update<\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hinzuf\u00fcgen zur Paketquelle: Zuerst Installieren wir Alle Wichtigen &amp; Ben\u00f6tigten Tools: sudo apt install -y apt-transport-https lsb-release ca-certificates curl Dann holen wir uns Quelle mit: curl -fsSL https:\/\/packages.sury.org\/php\/apt.gpg | sudo tee \/etc\/apt\/trusted.gpg.d\/php.gpg >\/dev\/null Danach f\u00fcgen wir die Quelle in die Paketliste hinzu: echo &#8222;deb https:\/\/packages.sury.org\/php\/ $(lsb_release -sc) main&#8220; | sudo tee \/etc\/apt\/sources.list.d\/php.list Danach Updatet wir [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[23],"doc_tag":[],"class_list":["post-254","docs","type-docs","status-publish","hentry","doc_category-13-0-php"],"year_month":"2026-04","word_count":149,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"author_nicename":"admin-willi","author_url":"https:\/\/dkarchive.sv-dsy.de\/index.php\/author\/admin-willi\/"},"doc_category_info":[{"term_name":"13.0 PHP","term_url":"https:\/\/dkarchive.sv-dsy.de\/index.php\/docs-category\/13-0-php\/"}],"doc_tag_info":[],"author_list":[{"ID":"1","user_login":"admin-willi","display_name":"admin-willi","id":"1"},{"ID":"2","user_login":"willi","display_name":"Willi Eichhorst","id":"2"}],"_links":{"self":[{"href":"https:\/\/dkarchive.sv-dsy.de\/index.php\/wp-json\/wp\/v2\/docs\/254","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dkarchive.sv-dsy.de\/index.php\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/dkarchive.sv-dsy.de\/index.php\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/dkarchive.sv-dsy.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dkarchive.sv-dsy.de\/index.php\/wp-json\/wp\/v2\/comments?post=254"}],"version-history":[{"count":1,"href":"https:\/\/dkarchive.sv-dsy.de\/index.php\/wp-json\/wp\/v2\/docs\/254\/revisions"}],"predecessor-version":[{"id":255,"href":"https:\/\/dkarchive.sv-dsy.de\/index.php\/wp-json\/wp\/v2\/docs\/254\/revisions\/255"}],"wp:attachment":[{"href":"https:\/\/dkarchive.sv-dsy.de\/index.php\/wp-json\/wp\/v2\/media?parent=254"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/dkarchive.sv-dsy.de\/index.php\/wp-json\/wp\/v2\/doc_category?post=254"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/dkarchive.sv-dsy.de\/index.php\/wp-json\/wp\/v2\/doc_tag?post=254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}