{"id":656,"date":"2018-09-06T08:54:05","date_gmt":"2018-09-06T08:54:05","guid":{"rendered":"https:\/\/www.hostnic.id\/blog\/?p=656"},"modified":"2018-10-10T14:32:53","modified_gmt":"2018-10-10T14:32:53","slug":"install-apache-and-php-on-centos-6","status":"publish","type":"post","link":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/install-apache-and-php-on-centos-6\/","title":{"rendered":"Install Apache and PHP on CentOS 6"},"content":{"rendered":"<p>This article demonstrates how to install Apache and PHP on CentOS 6. CentOS 6 comes with Apache 2.2.3 and PHP 5.1.6, and you can install them by using the default CentOS Package Manager,\u00a0<code>yum<\/code>. The advantages of using\u00a0<code>yum<\/code>\u00a0(as opposed to installing by using source code) are that you get any security updates (when they are distributed) and dependencies are automatically handled.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_75 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Daftar Isi<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69e1f84d7ef2d\" class=\"ez-toc-cssicon-toggle-label\"><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><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69e1f84d7ef2d\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/install-apache-and-php-on-centos-6\/#Install_Apache\" >Install Apache<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/install-apache-and-php-on-centos-6\/#Open_the_port_to_run_Apache\" >Open the port to run Apache<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/install-apache-and-php-on-centos-6\/#Test_the_Apache_installation\" >Test the Apache installation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/install-apache-and-php-on-centos-6\/#Configure_Apache_to_run_automatically\" >Configure Apache to run automatically<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/install-apache-and-php-on-centos-6\/#Install_PHP\" >Install PHP<\/a><\/li><\/ul><\/nav><\/div>\n<h3 id=\"install-apache\"><span class=\"ez-toc-section\" id=\"Install_Apache\"><\/span>Install Apache<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol>\n<li>Run the following command:\n<pre><code> sudo yum install httpd mod_ssl\r\n<\/code><\/pre>\n<\/li>\n<li>Because the server does not start automatically when you install Apache, you must start it manually.\n<pre><code> sudo \/usr\/sbin\/apachectl start\r\n<\/code><\/pre>\n<p>The following message is displayed:<\/p>\n<pre><code> Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName\r\n<\/code><\/pre>\n<p>The IP address (shown in this example as 127.0.0.1) is used as the server name by default. In the following steps, set the server name for the next time the server is started.<\/li>\n<li>Open the main Apache configuration file.\n<pre><code> sudo nano \/etc\/httpd\/conf\/httpd.conf\r\n<\/code><\/pre>\n<\/li>\n<li>Toward the end of the file, locate the section that starts with\u00a0<code>ServerName<\/code>\u00a0and gives an example.\n<pre><code> #ServerName www.example.com:80\r\n<\/code><\/pre>\n<\/li>\n<li>Enter your cloud server host name or a fully qualified domain name. In the following example, the host name is\u00a0<code>demo<\/code>.\n<pre><code> ServerName demo\r\n<\/code><\/pre>\n<\/li>\n<li>Reload Apache.\n<pre><code> sudo \/usr\/sbin\/apachectl restart\r\n<\/code><\/pre>\n<\/li>\n<\/ol>\n<h3 id=\"open-the-port-to-run-apache\"><span class=\"ez-toc-section\" id=\"Open_the_port_to_run_Apache\"><\/span>Open the port to run Apache<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Apache runs on port 80. In some versions of CentOS, a firewall, which is installed by default, blocks access to port 80. Perform the following steps to open the port.<\/p>\n<ol>\n<li>Run the following command:\n<pre><code> sudo iptables -I INPUT -p tcp --dport 80 -j ACCEPT\r\n<\/code><\/pre>\n<\/li>\n<li>After adding that instruction, save your firewall rules so that your web server is accessible the next time you reboot.\n<pre><code> sudo service iptables save\r\n<\/code><\/pre>\n<\/li>\n<\/ol>\n<h3 id=\"test-the-apache-installation\"><span class=\"ez-toc-section\" id=\"Test_the_Apache_installation\"><\/span>Test the Apache installation<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Navigate to your Cloud Server IP address (for example,\u00a0<code>http:\/\/123.45.67.89<\/code>).<\/p>\n<p>If the default CentOS Apache \u201cwelcome\u201d screen is displayed, the installation was successful. Contact Hostnic support if you have any problems.<\/p>\n<h3 id=\"configure-apache-to-run-automatically\"><span class=\"ez-toc-section\" id=\"Configure_Apache_to_run_automatically\"><\/span>Configure Apache to run automatically<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Now that Apache is installed and working, set to start automatically when the server is rebooted.<\/p>\n<ol>\n<li>Run the following command:\n<pre><code> sudo \/sbin\/chkconfig httpd on\r\n<\/code><\/pre>\n<\/li>\n<li>Test to confirm that the setting works.\n<pre><code> sudo \/sbin\/chkconfig --list httpd\r\n httpd           0:off        1:off  2:on    3:on    4:on    5:on    6:off\r\n<\/code><\/pre>\n<\/li>\n<\/ol>\n<h3 id=\"install-php\"><span class=\"ez-toc-section\" id=\"Install_PHP\"><\/span>Install PHP<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol>\n<li>Run the following command:\n<pre><code> sudo yum install php php-mysql php-devel php-gd php-pecl-memcache php-pspell php-snmp php-xmlrpc php-xml\r\n<\/code><\/pre>\n<p>The preceding command does not install all the modules available, just a few common ones.<\/li>\n<li>Reload Apache.\n<pre class=\"\"><code> sudo \/usr\/sbin\/apachectl restart\r\n<\/code><\/pre>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>This article demonstrates how to install Apache and PHP on CentOS 6. CentOS 6 comes with Apache 2.2.3 and PHP 5.1.6, and you can install them by using the default CentOS Package Manager,\u00a0yum. The advantages of using\u00a0yum\u00a0(as opposed to installing by using source code) are that you get any security updates (when they are distributed) [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[91],"tags":[131,133,130,132],"class_list":["post-656","post","type-post","status-publish","format-standard","hentry","category-linux","tag-apache","tag-centos-6","tag-install","tag-php"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Install Apache and PHP on CentOS 6 - Hostnic.id<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/install-apache-and-php-on-centos-6\/\" \/>\n<meta property=\"og:locale\" content=\"id_ID\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install Apache and PHP on CentOS 6 - Hostnic.id\" \/>\n<meta property=\"og:description\" content=\"This article demonstrates how to install Apache and PHP on CentOS 6. CentOS 6 comes with Apache 2.2.3 and PHP 5.1.6, and you can install them by using the default CentOS Package Manager,\u00a0yum. The advantages of using\u00a0yum\u00a0(as opposed to installing by using source code) are that you get any security updates (when they are distributed) [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/install-apache-and-php-on-centos-6\/\" \/>\n<meta property=\"og:site_name\" content=\"Hostnic.id\" \/>\n<meta property=\"article:published_time\" content=\"2018-09-06T08:54:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-10-10T14:32:53+00:00\" \/>\n<meta name=\"author\" content=\"Ari Sigit\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Ditulis oleh\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ari Sigit\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimasi waktu membaca\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 menit\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/tutorial\\\/linux\\\/install-apache-and-php-on-centos-6\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/tutorial\\\/linux\\\/install-apache-and-php-on-centos-6\\\/\"},\"author\":{\"name\":\"Ari Sigit\",\"@id\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/#\\\/schema\\\/person\\\/a782d1235d484e7630007157996e5a49\"},\"headline\":\"Install Apache and PHP on CentOS 6\",\"datePublished\":\"2018-09-06T08:54:05+00:00\",\"dateModified\":\"2018-10-10T14:32:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/tutorial\\\/linux\\\/install-apache-and-php-on-centos-6\\\/\"},\"wordCount\":313,\"commentCount\":0,\"keywords\":[\"Apache\",\"CentOS 6\",\"Install\",\"PHP\"],\"articleSection\":[\"Linux\"],\"inLanguage\":\"id\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/tutorial\\\/linux\\\/install-apache-and-php-on-centos-6\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/tutorial\\\/linux\\\/install-apache-and-php-on-centos-6\\\/\",\"url\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/tutorial\\\/linux\\\/install-apache-and-php-on-centos-6\\\/\",\"name\":\"Install Apache and PHP on CentOS 6 - Hostnic.id\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/#website\"},\"datePublished\":\"2018-09-06T08:54:05+00:00\",\"dateModified\":\"2018-10-10T14:32:53+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/#\\\/schema\\\/person\\\/a782d1235d484e7630007157996e5a49\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/tutorial\\\/linux\\\/install-apache-and-php-on-centos-6\\\/#breadcrumb\"},\"inLanguage\":\"id\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/tutorial\\\/linux\\\/install-apache-and-php-on-centos-6\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/tutorial\\\/linux\\\/install-apache-and-php-on-centos-6\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install Apache and PHP on CentOS 6\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/\",\"name\":\"hostnic.id\",\"description\":\"Info, Tips dan Tutorial Seputar Layanan Hostnic\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"id\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/#\\\/schema\\\/person\\\/a782d1235d484e7630007157996e5a49\",\"name\":\"Ari Sigit\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"id\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/140001cab6874fc4d4cecb4b3519ceca05b4fa2543ed46c5dae3704831ed3a2d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/140001cab6874fc4d4cecb4b3519ceca05b4fa2543ed46c5dae3704831ed3a2d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/140001cab6874fc4d4cecb4b3519ceca05b4fa2543ed46c5dae3704831ed3a2d?s=96&d=mm&r=g\",\"caption\":\"Ari Sigit\"},\"description\":\"Application Developer &amp; Support Specialist\",\"url\":\"https:\\\/\\\/www.hostnic.id\\\/blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Install Apache and PHP on CentOS 6 - Hostnic.id","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/install-apache-and-php-on-centos-6\/","og_locale":"id_ID","og_type":"article","og_title":"Install Apache and PHP on CentOS 6 - Hostnic.id","og_description":"This article demonstrates how to install Apache and PHP on CentOS 6. CentOS 6 comes with Apache 2.2.3 and PHP 5.1.6, and you can install them by using the default CentOS Package Manager,\u00a0yum. The advantages of using\u00a0yum\u00a0(as opposed to installing by using source code) are that you get any security updates (when they are distributed) [&hellip;]","og_url":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/install-apache-and-php-on-centos-6\/","og_site_name":"Hostnic.id","article_published_time":"2018-09-06T08:54:05+00:00","article_modified_time":"2018-10-10T14:32:53+00:00","author":"Ari Sigit","twitter_card":"summary_large_image","twitter_misc":{"Ditulis oleh":"Ari Sigit","Estimasi waktu membaca":"2 menit"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/install-apache-and-php-on-centos-6\/#article","isPartOf":{"@id":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/install-apache-and-php-on-centos-6\/"},"author":{"name":"Ari Sigit","@id":"https:\/\/www.hostnic.id\/blog\/#\/schema\/person\/a782d1235d484e7630007157996e5a49"},"headline":"Install Apache and PHP on CentOS 6","datePublished":"2018-09-06T08:54:05+00:00","dateModified":"2018-10-10T14:32:53+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/install-apache-and-php-on-centos-6\/"},"wordCount":313,"commentCount":0,"keywords":["Apache","CentOS 6","Install","PHP"],"articleSection":["Linux"],"inLanguage":"id","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/install-apache-and-php-on-centos-6\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/install-apache-and-php-on-centos-6\/","url":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/install-apache-and-php-on-centos-6\/","name":"Install Apache and PHP on CentOS 6 - Hostnic.id","isPartOf":{"@id":"https:\/\/www.hostnic.id\/blog\/#website"},"datePublished":"2018-09-06T08:54:05+00:00","dateModified":"2018-10-10T14:32:53+00:00","author":{"@id":"https:\/\/www.hostnic.id\/blog\/#\/schema\/person\/a782d1235d484e7630007157996e5a49"},"breadcrumb":{"@id":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/install-apache-and-php-on-centos-6\/#breadcrumb"},"inLanguage":"id","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/install-apache-and-php-on-centos-6\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/install-apache-and-php-on-centos-6\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hostnic.id\/blog\/"},{"@type":"ListItem","position":2,"name":"Install Apache and PHP on CentOS 6"}]},{"@type":"WebSite","@id":"https:\/\/www.hostnic.id\/blog\/#website","url":"https:\/\/www.hostnic.id\/blog\/","name":"hostnic.id","description":"Info, Tips dan Tutorial Seputar Layanan Hostnic","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hostnic.id\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"id"},{"@type":"Person","@id":"https:\/\/www.hostnic.id\/blog\/#\/schema\/person\/a782d1235d484e7630007157996e5a49","name":"Ari Sigit","image":{"@type":"ImageObject","inLanguage":"id","@id":"https:\/\/secure.gravatar.com\/avatar\/140001cab6874fc4d4cecb4b3519ceca05b4fa2543ed46c5dae3704831ed3a2d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/140001cab6874fc4d4cecb4b3519ceca05b4fa2543ed46c5dae3704831ed3a2d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/140001cab6874fc4d4cecb4b3519ceca05b4fa2543ed46c5dae3704831ed3a2d?s=96&d=mm&r=g","caption":"Ari Sigit"},"description":"Application Developer &amp; Support Specialist","url":"https:\/\/www.hostnic.id\/blog\/author\/admin\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8D2mv-aA","jetpack-related-posts":[{"id":1837,"url":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-redis-dan-php-redis-di-centos-web-panel-cwp\/","url_meta":{"origin":656,"position":0},"title":"Cara Install Redis dan PHP Redis di Centos Web Panel CWP","author":"Ari Sigit","date":"2018-12-05","format":false,"excerpt":"Cara Install Redis dan PHP Redis di Centos Web Panel CWP. Redis adalah singkatan dari Remote DIctionary Server dan itu adalah basis data NoSQL nilai-kunci. Hampir semua bahasa program termasuk PHP memiliki Redis bindings. Dalam panduan ini, kami akan menunjukkan cara menginstal server Redis dan Redis ekstensi PHP pada server\u2026","rel":"","context":"dalam &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.hostnic.id\/blog\/.\/tutorial\/linux\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1900,"url":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-invoiceplane-dengan-nginx-di-centos-7\/","url_meta":{"origin":656,"position":1},"title":"Cara Install InvoicePlane dengan Nginx di CentOS 7","author":"Ari Sigit","date":"2018-12-13","format":false,"excerpt":"InvoicePlane adalah aplikasi faktur sumber terbuka dan gratis. Kode sumbernya dapat ditemukan di Github. Tutorial kali ini akan menunjukkan cara menginstal InvoicePlane pada sistem CentOS 7 yang baru. Requirements WebServer (Apache, NGINX).\u00a0This tutorial will use Nginx. MySQL\u00a0version 5.5 or greater or the equivalent version of MariaDB. PHP version 7.0 or\u2026","rel":"","context":"dalam &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.hostnic.id\/blog\/.\/tutorial\/linux\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/Screenshot_2018-12-09_at_21.39_.03_.png?fit=550%2C316&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/Screenshot_2018-12-09_at_21.39_.03_.png?fit=550%2C316&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/Screenshot_2018-12-09_at_21.39_.03_.png?fit=550%2C316&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":1909,"url":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-lighttpd-dengan-php-php-fpm-dan-mariadb-pada-centos-7\/","url_meta":{"origin":656,"position":2},"title":"Cara Install Lighttpd dengan PHP, PHP-FPM dan MariaDB pada CentOS 7","author":"Ari Sigit","date":"2018-12-17","format":false,"excerpt":"Lighttpd adalah server web open source, aman, cepat, fleksibel, dan lebih optimal yang dirancang untuk lingkungan yang sangat kritis dengan penggunaan memori yang lebih sedikit dibandingkan dengan server web lainnya.\u00a0Dapat menangani hingga 10.000 koneksi dalam satu server dengan manajemen beban cpu yang efektif dan dilengkapi dengan fitur canggih seperti FastCGI,\u2026","rel":"","context":"dalam &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.hostnic.id\/blog\/.\/tutorial\/linux\/"},"img":{"alt_text":"Cara Install Lighttpd dengan PHP, PHP-FPM dan MariaDB pada CentOS 7","src":"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/Check-Lighttpd-Page.png?fit=874%2C595&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/Check-Lighttpd-Page.png?fit=874%2C595&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/Check-Lighttpd-Page.png?fit=874%2C595&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/12\/Check-Lighttpd-Page.png?fit=874%2C595&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":3752,"url":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/cara-install-apache-web-server-di-centos-8\/","url_meta":{"origin":656,"position":3},"title":"Cara install Apache Web Server di CentOS 8","author":"Monic","date":"2020-07-28","format":false,"excerpt":"Apache merupakan salah satu webserver yang banyak digunakan oleh banyak orang dan sifatnya open-source (gratis). Untul instalasi sama seperti di CentOS 7, hanya saja disini saya akan menggunakan command\u00a0dnf\u00a0yang dimana biasanya kita selalu menggunakan command\u00a0yum\u00a0untuk akses root. Tapi jangan khawatir, untuk yang terbiasa menggunakan\u00a0yum masih bisa kok. Cara installnya seperti\u2026","rel":"","context":"dalam &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.hostnic.id\/blog\/.\/tutorial\/linux\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2020\/07\/apache-web-server-1024x423-1.png?fit=1024%2C423&ssl=1%3Fv%3D1595934007&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2020\/07\/apache-web-server-1024x423-1.png?fit=1024%2C423&ssl=1%3Fv%3D1595934007&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2020\/07\/apache-web-server-1024x423-1.png?fit=1024%2C423&ssl=1%3Fv%3D1595934007&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2020\/07\/apache-web-server-1024x423-1.png?fit=1024%2C423&ssl=1%3Fv%3D1595934007&resize=700%2C400 2x"},"classes":[]},{"id":1835,"url":"https:\/\/www.hostnic.id\/blog\/tutorial\/cpanel\/cara-install-redis-dan-php-redis-di-cpanel\/","url_meta":{"origin":656,"position":4},"title":"Cara Install Redis dan PHP Redis di cPanel","author":"Ari Sigit","date":"2018-12-05","format":false,"excerpt":"Redis adalah singkatan dari Remote DIctionary Server dan itu adalah basis data NoSQL nilai-kunci. Hampir semua bahasa program termasuk PHP memiliki Redis bindings. Dalam panduan ini, kami akan menunjukkan cara menginstal server Redis dan Redis ekstensi PHP pada server berbasis cPanel sehingga Anda dapat menggunakan Redis sebagai backend cache untuk\u2026","rel":"","context":"dalam &quot;cPanel&quot;","block_context":{"text":"cPanel","link":"https:\/\/www.hostnic.id\/blog\/.\/tutorial\/cpanel\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1333,"url":"https:\/\/www.hostnic.id\/blog\/tutorial\/linux\/membangun-web-server-centos-lamp\/","url_meta":{"origin":656,"position":5},"title":"Membangun Web Server Centos 6 (LAMP)","author":"Ari Sigit","date":"2018-10-31","format":false,"excerpt":"LAMP adalah singkatan Linux, \u00a0Apache, MySQL, PHP. Tutorial ini menunjukkan bagaimana Anda dapat memasang webserver Apache2 di server Centos dengan dukungan PHP5 (mod_php) dan dukungan MySQL. \u00a0 1 Instalasi MySQL 5.0 Pertama kita menginstal MySQL 5.0 seperti ini: yum install mysql mysql-server Lalu kami membuat link startup sistem untuk MySQL\u2026","rel":"","context":"dalam &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.hostnic.id\/blog\/.\/tutorial\/linux\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/10\/install-lamp-di-centos-7.png?fit=563%2C295&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/10\/install-lamp-di-centos-7.png?fit=563%2C295&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.hostnic.id\/blog\/wp-content\/uploads\/2018\/10\/install-lamp-di-centos-7.png?fit=563%2C295&ssl=1&resize=525%2C300 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.hostnic.id\/blog\/wp-json\/wp\/v2\/posts\/656","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostnic.id\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostnic.id\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostnic.id\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostnic.id\/blog\/wp-json\/wp\/v2\/comments?post=656"}],"version-history":[{"count":2,"href":"https:\/\/www.hostnic.id\/blog\/wp-json\/wp\/v2\/posts\/656\/revisions"}],"predecessor-version":[{"id":658,"href":"https:\/\/www.hostnic.id\/blog\/wp-json\/wp\/v2\/posts\/656\/revisions\/658"}],"wp:attachment":[{"href":"https:\/\/www.hostnic.id\/blog\/wp-json\/wp\/v2\/media?parent=656"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostnic.id\/blog\/wp-json\/wp\/v2\/categories?post=656"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostnic.id\/blog\/wp-json\/wp\/v2\/tags?post=656"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}