{"id":40,"date":"2020-05-23T09:29:13","date_gmt":"2020-05-23T09:29:13","guid":{"rendered":"http:\/\/vpsforu.com\/?p=40"},"modified":"2020-05-23T10:14:59","modified_gmt":"2020-05-23T10:14:59","slug":"how-to-install-apache-and-php-7-on-centos-7-and-rhel-7","status":"publish","type":"post","link":"https:\/\/vpsforu.com\/?p=40","title":{"rendered":"How to Install Apache and PHP 7 on CentOS 7 and RHEL 7"},"content":{"rendered":"\n<p><span class=\"has-inline-color has-vivid-red-color\">Friends today I am going to show you how to install Apache and PHP 7 on CentOS7 and RHRL7.\u00a0So let&#8217;s start step by step Apache and PHP Installation. This tutorial will very helpful for you if you want to deploy your PHP application with Apache web server.<\/span><br><a rel=\"noreferrer noopener\" href=\"https:\/\/www.bluehost.com\/track\/tzclouds\/\" target=\"_blank\"><\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1:- Setup Yum Repository<\/h3>\n\n\n\n<p>First of all, we need to enable EPEL repositories on our CentOS 7 server. You can see epel installation in below:-<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><span class=\"has-inline-color has-very-dark-gray-color\">[root@dns ~]# rpm -Uvh http:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-7.noarch.rpm\nRetrieving <s>http<\/s>:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-7.noarch.rpm\nwarning: \/var\/tmp\/rpm-tmp.qOp7Nj: Header V3 RSA\/SHA256 Signature, key ID 352c64e5: NOKEY\nPreparing... ################################# [100%]\nUpdating \/ installing...\n1:epel-release-7-11 ################################# [100%]\n[root@dns ~]#<\/span><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2:- Install Apache Server<\/h3>\n\n\n\n<p>After successfully EPEL enable on our CentOS7 server. Then we can install Apache and PHP packages on our server. We can use below command to install latest PHP and HTTPD service in our server.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@dns ~]# yum -y install httpd\nLoaded plugins: fastestmirror, langpacks\nLoading mirror speeds from cached hostfile\n* base: del-mirrors.extreme-ix.org\n* epel: del-mirrors.extreme-ix.org\n* extras: del-mirrors.extreme-ix.org\n* updates: del-mirrors.extreme-ix.org\nResolving Dependencies\n--&gt; Running transaction check\n---&gt; Package httpd.x86_64 0:2.4.6-80.el7.centos will be installed\n--&gt; Finished Dependency Resolution\n\nDependencies Resolved\n\n========================================================================================================================================================================\nPackage Arch Version Repository Size\n========================================================================================================================================================================\nInstalling:\nhttpd x86_64 2.4.6-80.el7.centos base 2.7 M\n\nTransaction Summary\n========================================================================================================================================================================\nInstall 1 Package\n\nTotal download size: 2.7 M\nInstalled size: 9.4 M\nDownloading packages:\nNo Presto metadata available for base\nhttpd-2.4.6-80.el7.centos.x86_64.rpm | 2.7 MB 00:00:16\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\nInstalling : httpd-2.4.6-80.el7.centos.x86_64 1\/1\nVerifying : httpd-2.4.6-80.el7.centos.x86_64 1\/1\n\nInstalled:\nhttpd.x86_64 0:2.4.6-80.el7.centos\n\nComplete!\n[root@dns ~]#\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3:- PHP Installation<\/h3>\n\n\n\n<p>Now we need to install required PHP modules for our PHP application. Using below command we can install some mostly used PHP modules on our server.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">We can install PHP 7 using below these commands:-<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@dns ~]# cd ~\n[root@dns ~]# curl 'https:\/\/setup.ius.io\/' -o setup-ius.sh\n[root@dns ~]# bash setup-ius.sh\n[root@dns ~]# yum remove php-cli mod_php php-common\n[root@dns ~]# yum -y install mod_php70u php70u-cli php70u-mysqlnd php70u-devel php70u-gd php70u-mcrypt php70u-mbstring php70u-xml php70u-pear<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">You can find below output of above commands:-<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@dns ~]# cd ~\n[root@dns ~]# curl '<a href=\"https:\/\/setup.ius.io\/\">https:\/\/setup.ius.io\/<\/a>' -o setup-ius.sh\n% Total % Received % Xferd Average Speed Time Time Time Current\nDload Upload Total Spent Left Speed\n100 1914 100 1914 0 0 235 0 0:00:08 0:00:08 --:--:-- 414\n[root@dns ~]#\n[root@dns ~]# bash setup-ius.sh\ndetected CentOS 7\nEL 7 is supported\nLoaded plugins: fastestmirror, langpacks\nLoading mirror speeds from cached hostfile\n* base: del-mirrors.extreme-ix.org\n* epel: del-mirrors.extreme-ix.org\n* extras: del-mirrors.extreme-ix.org\n* updates: del-mirrors.extreme-ix.org\nPackage epel-release-7-11.noarch already installed and latest version\nNothing to do\nLoaded plugins: fastestmirror, langpacks\nius-release.rpm | 8.1 kB 00:00:00\nExamining \/var\/tmp\/yum-root-DYTTJA\/ius-release.rpm: ius-release-1.0-15.ius.centos7.noarch\nMarking \/var\/tmp\/yum-root-DYTTJA\/ius-release.rpm to be installed\nResolving Dependencies\n--&gt; Running transaction check\n---&gt; Package ius-release.noarch 0:1.0-15.ius.centos7 will be installed\n--&gt; Finished Dependency Resolution\n\nDependencies Resolved\n\n========================================================================================================================================================================\nPackage Arch Version Repository Size\n========================================================================================================================================================================\nInstalling:\nius-release noarch 1.0-15.ius.centos7 \/ius-release 8.5 k\n\nTransaction Summary\n========================================================================================================================================================================\nInstall 1 Package\n\nTotal size: 8.5 k\nInstalled size: 8.5 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\nInstalling : ius-release-1.0-15.ius.centos7.noarch 1\/1\nVerifying : ius-release-1.0-15.ius.centos7.noarch 1\/1\n\nInstalled:\nius-release.noarch 0:1.0-15.ius.centos7\n\nComplete!\n[root@dns ~]#\n[root@dns ~]# yum remove php-cli mod_php php-common\nLoaded plugins: fastestmirror, langpacks\nNo Match for argument: php-cli\nNo Match for argument: mod_php\nNo Match for argument: php-common\nNo Packages marked for removal\n[root@dns ~]#\n[root@dns ~]# yum -y install mod_php70u php70u-cli php70u-mysqlnd php70u-devel php70u-gd php70u-mcrypt php70u-mbstring php70u-xml php70u-pear\nLoaded plugins: fastestmirror, langpacks\nius | 2.3 kB 00:00:00\nius\/x86_64\/primary_db | 250 kB 00:00:04\nLoading mirror speeds from cached hostfile\n* base: del-mirrors.extreme-ix.org\n* epel: del-mirrors.extreme-ix.org\n* extras: del-mirrors.extreme-ix.org\n* ius: hkg.mirror.rackspace.com\n* updates: del-mirrors.extreme-ix.org\nResolving Dependencies\n--&gt; Running transaction check\n---&gt; Package mod_php70u.x86_64 0:7.0.30-1.ius.centos7 will be installed\n--&gt; Processing Dependency: php-common(x86-64) = 7.0.30-1.ius.centos7 for package: mod_php70u-7.0.30-1.ius.centos7.x86_64\n---&gt; Package php70u-cli.x86_64 0:7.0.30-1.ius.centos7 will be installed\n---&gt; Package php70u-devel.x86_64 0:7.0.30-1.ius.centos7 will be installed\n--&gt; Processing Dependency: autoconf for package: php70u-devel-7.0.30-1.ius.centos7.x86_64\n--&gt; Processing Dependency: automake for package: php70u-devel-7.0.30-1.ius.centos7.x86_64\n---&gt; Package php70u-gd.x86_64 0:7.0.30-1.ius.centos7 will be installed\n---&gt; Package php70u-mbstring.x86_64 0:7.0.30-1.ius.centos7 will be installed\n---&gt; Package php70u-mcrypt.x86_64 0:7.0.30-1.ius.centos7 will be installed\n---&gt; Package php70u-mysqlnd.x86_64 0:7.0.30-1.ius.centos7 will be installed\n--&gt; Processing Dependency: php-pdo(x86-64) = 7.0.30-1.ius.centos7 for package: php70u-mysqlnd-7.0.30-1.ius.centos7.x86_64\n---&gt; Package php70u-pear.noarch 1:1.10.5-1.ius.centos7 will be installed\n--&gt; Processing Dependency: php70u-posix for package: 1:php70u-pear-1.10.5-1.ius.centos7.noarch\n---&gt; Package php70u-xml.x86_64 0:7.0.30-1.ius.centos7 will be installed\n--&gt; Running transaction check\n---&gt; Package autoconf.noarch 0:2.69-11.el7 will be installed\n--&gt; Processing Dependency: m4 &gt;= 1.4.14 for package: autoconf-2.69-11.el7.noarch\n--&gt; Processing Dependency: perl(Data::Dumper) for package: autoconf-2.69-11.el7.noarch\n---&gt; Package automake.noarch 0:1.13.4-3.el7 will be installed\n--&gt; Processing Dependency: perl(Thread::Queue) for package: automake-1.13.4-3.el7.noarch\n--&gt; Processing Dependency: perl(TAP::Parser) for package: automake-1.13.4-3.el7.noarch\n---&gt; Package php70u-common.x86_64 0:7.0.30-1.ius.centos7 will be installed\n---&gt; Package php70u-pdo.x86_64 0:7.0.30-1.ius.centos7 will be installed\n---&gt; Package php70u-process.x86_64 0:7.0.30-1.ius.centos7 will be installed\n--&gt; Running transaction check\n---&gt; Package m4.x86_64 0:1.4.16-10.el7 will be installed\n---&gt; Package perl-Data-Dumper.x86_64 0:2.145-3.el7 will be installed\n---&gt; Package perl-Test-Harness.noarch 0:3.28-3.el7 will be installed\n---&gt; Package perl-Thread-Queue.noarch 0:3.02-2.el7 will be installed\n--&gt; Finished Dependency Resolution\n\nDependencies Resolved\n\n========================================================================================================================================================================\nPackage Arch Version Repository Size\n========================================================================================================================================================================\nInstalling:\nmod_php70u x86_64 7.0.30-1.ius.centos7 ius 2.9 M\nphp70u-cli x86_64 7.0.30-1.ius.centos7 ius 4.3 M\nphp70u-devel x86_64 7.0.30-1.ius.centos7 ius 1.1 M\nphp70u-gd x86_64 7.0.30-1.ius.centos7 ius 174 k\nphp70u-mbstring x86_64 7.0.30-1.ius.centos7 ius 579 k\nphp70u-mcrypt x86_64 7.0.30-1.ius.centos7 ius 64 k\nphp70u-mysqlnd x86_64 7.0.30-1.ius.centos7 ius 243 k\nphp70u-pear noarch 1:1.10.5-1.ius.centos7 ius 352 k\nphp70u-xml x86_64 7.0.30-1.ius.centos7 ius 212 k\nInstalling for dependencies:\nautoconf noarch 2.69-11.el7 base 701 k\nautomake noarch 1.13.4-3.el7 base 679 k\nm4 x86_64 1.4.16-10.el7 base 256 k\nperl-Data-Dumper x86_64 2.145-3.el7 base 47 k\nperl-Test-Harness noarch 3.28-3.el7 base 302 k\nperl-Thread-Queue noarch 3.02-2.el7 base 17 k\nphp70u-common x86_64 7.0.30-1.ius.centos7 ius 1.1 M\nphp70u-pdo x86_64 7.0.30-1.ius.centos7 ius 129 k\nphp70u-process x86_64 7.0.30-1.ius.centos7 ius 84 k\n\nTransaction Summary\n========================================================================================================================================================================\nInstall 9 Packages (+9 Dependent packages)\n\nTotal download size: 13 M\nInstalled size: 53 M\nDownloading packages:\n(1\/18): automake-1.13.4-3.el7.noarch.rpm | 679 kB 00:00:33\n(2\/18): mod_php70u-7.0.30-1.ius.centos7.x86_64.rpm | 2.9 MB 00:00:09\n(3\/18): m4-1.4.16-10.el7.x86_64.rpm | 256 kB 00:00:42\n(4\/18): perl-Data-Dumper-2.145-3.el7.x86_64.rpm | 47 kB 00:00:01\n(5\/18): autoconf-2.69-11.el7.noarch.rpm | 701 kB 00:01:22\n(6\/18): perl-Thread-Queue-3.02-2.el7.noarch.rpm | 17 kB 00:00:00\n(7\/18): php70u-gd-7.0.30-1.ius.centos7.x86_64.rpm | 174 kB 00:00:02\n(8\/18): php70u-mbstring-7.0.30-1.ius.centos7.x86_64.rpm | 579 kB 00:00:03\n(9\/18): php70u-devel-7.0.30-1.ius.centos7.x86_64.rpm | 1.1 MB 00:00:06\n(10\/18): php70u-mcrypt-7.0.30-1.ius.centos7.x86_64.rpm | 64 kB 00:00:01\n(11\/18): perl-Test-Harness-3.28-3.el7.noarch.rpm | 302 kB 00:00:11\n(12\/18): php70u-pdo-7.0.30-1.ius.centos7.x86_64.rpm | 129 kB 00:00:00\n(13\/18): php70u-process-7.0.30-1.ius.centos7.x86_64.rpm | 84 kB 00:00:00\n(14\/18): php70u-xml-7.0.30-1.ius.centos7.x86_64.rpm | 212 kB 00:00:01\n(15\/18): php70u-mysqlnd-7.0.30-1.ius.centos7.x86_64.rpm | 243 kB 00:00:04\n(16\/18): php70u-common-7.0.30-1.ius.centos7.x86_64.rpm | 1.1 MB 00:00:12\n(17\/18): php70u-pear-1.10.5-1.ius.centos7.noarch.rpm | 352 kB 00:00:07\n(18\/18): php70u-cli-7.0.30-1.ius.centos7.x86_64.rpm | 4.3 MB 00:04:30\n------------------------------------------------------------------------------------------------------------------------------------------------------------------------\nTotal 38 kB\/s | 13 MB 00:05:53\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\nInstalling : php70u-common-7.0.30-1.ius.centos7.x86_64 1\/18\nInstalling : php70u-cli-7.0.30-1.ius.centos7.x86_64 2\/18\nInstalling : php70u-process-7.0.30-1.ius.centos7.x86_64 3\/18\nInstalling : php70u-xml-7.0.30-1.ius.centos7.x86_64 4\/18\nInstalling : php70u-pdo-7.0.30-1.ius.centos7.x86_64 5\/18\nInstalling : m4-1.4.16-10.el7.x86_64 6\/18\nInstalling : perl-Data-Dumper-2.145-3.el7.x86_64 7\/18\nInstalling : autoconf-2.69-11.el7.noarch 8\/18\nInstalling : perl-Thread-Queue-3.02-2.el7.noarch 9\/18\nInstalling : perl-Test-Harness-3.28-3.el7.noarch 10\/18\nInstalling : automake-1.13.4-3.el7.noarch 11\/18\nInstalling : php70u-devel-7.0.30-1.ius.centos7.x86_64 12\/18\nInstalling : php70u-mysqlnd-7.0.30-1.ius.centos7.x86_64 13\/18\nInstalling : 1:php70u-pear-1.10.5-1.ius.centos7.noarch 14\/18\nInstalling : php70u-mcrypt-7.0.30-1.ius.centos7.x86_64 15\/18\nInstalling : mod_php70u-7.0.30-1.ius.centos7.x86_64 16\/18\nInstalling : php70u-gd-7.0.30-1.ius.centos7.x86_64 17\/18\nInstalling : php70u-mbstring-7.0.30-1.ius.centos7.x86_64 18\/18\nVerifying : php70u-mcrypt-7.0.30-1.ius.centos7.x86_64 1\/18\nVerifying : php70u-common-7.0.30-1.ius.centos7.x86_64 2\/18\nVerifying : mod_php70u-7.0.30-1.ius.centos7.x86_64 3\/18\nVerifying : php70u-process-7.0.30-1.ius.centos7.x86_64 4\/18\nVerifying : autoconf-2.69-11.el7.noarch 5\/18\nVerifying : php70u-cli-7.0.30-1.ius.centos7.x86_64 6\/18\nVerifying : perl-Test-Harness-3.28-3.el7.noarch 7\/18\nVerifying : automake-1.13.4-3.el7.noarch 8\/18\nVerifying : perl-Thread-Queue-3.02-2.el7.noarch 9\/18\nVerifying : perl-Data-Dumper-2.145-3.el7.x86_64 10\/18\nVerifying : php70u-mysqlnd-7.0.30-1.ius.centos7.x86_64 11\/18\nVerifying : php70u-gd-7.0.30-1.ius.centos7.x86_64 12\/18\nVerifying : php70u-mbstring-7.0.30-1.ius.centos7.x86_64 13\/18\nVerifying : php70u-xml-7.0.30-1.ius.centos7.x86_64 14\/18\nVerifying : 1:php70u-pear-1.10.5-1.ius.centos7.noarch 15\/18\nVerifying : m4-1.4.16-10.el7.x86_64 16\/18\nVerifying : php70u-devel-7.0.30-1.ius.centos7.x86_64 17\/18\nVerifying : php70u-pdo-7.0.30-1.ius.centos7.x86_64 18\/18\n\nInstalled:\nmod_php70u.x86_64 0:7.0.30-1.ius.centos7 php70u-cli.x86_64 0:7.0.30-1.ius.centos7 php70u-devel.x86_64 0:7.0.30-1.ius.centos7\nphp70u-gd.x86_64 0:7.0.30-1.ius.centos7 php70u-mbstring.x86_64 0:7.0.30-1.ius.centos7 php70u-mcrypt.x86_64 0:7.0.30-1.ius.centos7\nphp70u-mysqlnd.x86_64 0:7.0.30-1.ius.centos7 php70u-pear.noarch 1:1.10.5-1.ius.centos7 php70u-xml.x86_64 0:7.0.30-1.ius.centos7\n\nDependency Installed:\nautoconf.noarch 0:2.69-11.el7 automake.noarch 0:1.13.4-3.el7 m4.x86_64 0:1.4.16-10.el7\nperl-Data-Dumper.x86_64 0:2.145-3.el7 perl-Test-Harness.noarch 0:3.28-3.el7 perl-Thread-Queue.noarch 0:3.02-2.el7\nphp70u-common.x86_64 0:7.0.30-1.ius.centos7 php70u-pdo.x86_64 0:7.0.30-1.ius.centos7 php70u-process.x86_64 0:7.0.30-1.ius.centos7\n\nComplete!\n[root@dns ~]#<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">After successfully PHP installation you can check PHP version using below commands:-<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@dns ~]# php -v\nPHP 7.0.30 (cli) (built: Apr 26 2018 13:30:35) ( NTS )\nCopyright (c) 1997-2017 The PHP Group\nZend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies\n[root@dns ~]#<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4:- Manage Apache Service<\/h3>\n\n\n\n<p>After successfully run above commands we have to installed Apache web server, PHP, and PHP required modules. Now we need to start our Apache server and also enable them to auto start on server boot. We can use below commands to enable or start our Apache server like this:-<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@dns ~]# systemctl start httpd.service\n[root@dns ~]# systemctl enable httpd.service\nCreated symlink from \/etc\/systemd\/system\/multi-user.target.wants\/httpd.service to \/usr\/lib\/systemd\/system\/httpd.service.\n[root@dns ~]# systemctl status httpd.service\n\u25cf httpd.service - The Apache HTTP Server\nLoaded: loaded (\/usr\/lib\/systemd\/system\/httpd.service; enabled; vendor preset: disabled)\nActive: active (running) since Sat 2018-06-02 13:49:33 CEST; 22s ago\nDocs: man:httpd(8)\nman:apachectl(8)\nMain PID: 4479 (httpd)\nStatus: \"Total requests: 0; Current requests\/sec: 0; Current traffic: 0 B\/sec\"\nCGroup: \/system.slice\/httpd.service\n\u251c\u25004479 \/usr\/sbin\/httpd -DFOREGROUND\n\u251c\u25004480 \/usr\/sbin\/httpd -DFOREGROUND\n\u251c\u25004481 \/usr\/sbin\/httpd -DFOREGROUND\n\u251c\u25004482 \/usr\/sbin\/httpd -DFOREGROUND\n\u251c\u25004483 \/usr\/sbin\/httpd -DFOREGROUND\n\u2514\u25004484 \/usr\/sbin\/httpd -DFOREGROUND\n\nJun 02 13:49:33 dns.tzclouds.local systemd[1]: Starting The Apache HTTP Server...\nJun 02 13:49:33 dns.tzclouds.local systemd[1]: Started The Apache HTTP Server.\n[root@dns ~]#<\/pre>\n\n\n\n<p>You can see above our Apache server is successfully started. Now we need to check our PHP application with Apache server. So let\u2019s verify our PHP service are working properly or not.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 5:- Verify PHP application with Apache web server<\/h3>\n\n\n\n<p>We need to create simple \u201cphpinfo.php\u201d PHP file in this path \/var\/www\/html\/ to verify PHP enabled. This file will be providing status information on php information. That means you PHP application is working with Apache web server. So let\u2019s create phpinfo.php file like below:-<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@dns ~]# cat \/var\/www\/html\/phpinfo.php\n&lt;?php\nphpinfo();\n?&gt;\n[root@dns ~]#<\/pre>\n\n\n\n<p>After file creation we need to go browser and type your Apache server IP like below:-<br>http:\/\/apache-server-IP\/phpinfo.php<\/p>\n\n\n\n<p>Then you can find below php information. That means your PHP service are working properly with apache server.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/tzclouds.com\/wp-content\/uploads\/2018\/06\/php-login-300x203.jpg\" alt=\"\" class=\"wp-image-294\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><em>That \u2018s all, Now we have completed PHP and Apache server installation and configuration on CentOS 7.<\/em><\/h3>\n","protected":false},"excerpt":{"rendered":"<p>Friends today I am going to show you how to install Apache and PHP 7 on CentOS7 and RHRL7.\u00a0So let&#8217;s start step by step Apache and PHP Installation. This tutorial will very helpful for you if you want to deploy your PHP application with Apache web server. Step 1:- Setup Yum Repository First of all, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-40","post","type-post","status-publish","format-standard","hentry","category-uncategorized","entry"],"_links":{"self":[{"href":"https:\/\/vpsforu.com\/index.php?rest_route=\/wp\/v2\/posts\/40","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpsforu.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vpsforu.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vpsforu.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vpsforu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=40"}],"version-history":[{"count":4,"href":"https:\/\/vpsforu.com\/index.php?rest_route=\/wp\/v2\/posts\/40\/revisions"}],"predecessor-version":[{"id":58,"href":"https:\/\/vpsforu.com\/index.php?rest_route=\/wp\/v2\/posts\/40\/revisions\/58"}],"wp:attachment":[{"href":"https:\/\/vpsforu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=40"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vpsforu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=40"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vpsforu.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=40"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}