{"id":1530,"date":"2013-10-16T00:33:32","date_gmt":"2013-10-16T04:33:32","guid":{"rendered":"http:\/\/www.eyoungwon.com\/journal\/?p=1530"},"modified":"2024-07-15T22:29:26","modified_gmt":"2024-07-16T02:29:26","slug":"cpanelwhm-safest-way-to-install-php-extensions","status":"publish","type":"post","link":"https:\/\/eyoungwon.com\/journal\/cpanelwhm-safest-way-to-install-php-extensions\/","title":{"rendered":"cPanel\/WHM \u2013 Safest way to install PHP extensions"},"content":{"rendered":"<p>This what worked for me while I was having issues installing Drupal on a VPS server. I needed to install PHP Extensions and I found the method that eventually worked for me.<\/p>\n<p>In cPanel servers, the safest way to install PHP modules is to use the cPanel script for Apache-PHP compilation.<br \/>\nYou can do this as using two ways, web browser or via console\/ssh!<\/p>\n<p><strong>Web Browser =&gt; WHM login &gt;&gt; Main &gt;&gt; Software &gt;&gt; Apache Update<\/strong><br \/>\n<strong>Console =&gt; From the console execute \/scripts\/easyapache<\/strong><\/p>\n<p><strong>Go through each step as follows.<\/strong><\/p>\n<p>1. Click \u201cstart customizing based on profile\u201d<br \/>\n2. Select Apache Version \u2013 Click Next to proceed with the current version.<br \/>\n3. Select PHP Major Version \u2013 Click Next to proceed with the current version.<br \/>\n4. Select PHP Minor version \u2013 Click Next to proceed with the current version.<br \/>\n5. Short option list \u2013 Click Exhaustive Options List to view full options.<br \/>\n6 Exhaustive Options List \u2013 From here you can select the PHP modules you needed<\/p>\n<p>In this case you need to select \u2018GD\u2019 and\/or \u2018CURL\u2019<br \/>\n7. Click Save &amp; Build to start apache-php compilation.<\/p>\n<p>Once the compilation over you can verify the installed modules using the following command.<\/p>\n<p>[root@servername ~]# php -m<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This what worked for me while I was having issues installing Drupal on a VPS server. I needed to install PHP Extensions and I found the method that eventually worked for me.<\/p>\n","protected":false},"author":62,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[725,728,726,752,727],"class_list":["post-1530","post","type-post","status-publish","format-standard","hentry","category-web-development","tag-cpanelwhm","tag-drupal-install-php-extensions","tag-install-php-extensions","tag-php-extensions","tag-vps-install-php-extensions"],"_links":{"self":[{"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/posts\/1530","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/users\/62"}],"replies":[{"embeddable":true,"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/comments?post=1530"}],"version-history":[{"count":2,"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/posts\/1530\/revisions"}],"predecessor-version":[{"id":1587,"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/posts\/1530\/revisions\/1587"}],"wp:attachment":[{"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/media?parent=1530"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/categories?post=1530"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/tags?post=1530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}