{"id":2032,"date":"2024-02-01T21:23:09","date_gmt":"2024-02-01T20:23:09","guid":{"rendered":"https:\/\/hoganhost.com.ng\/blog\/?p=2032"},"modified":"2024-08-12T13:22:20","modified_gmt":"2024-08-12T12:22:20","slug":"how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm","status":"publish","type":"post","link":"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/","title":{"rendered":"How to enable PDO PHP extension for all PHP versions in cPanel\/WHM?"},"content":{"rendered":"<p>Today, in this tutorial we will illustrate the procedure\u00a0<strong>to enable PDO PHP extension for all PHP versions in cPanel\/WHM<\/strong>. In this tutorial, we will learn the following:<\/p>\n<h3 id=\"how-to-enable-pdo-php-extension-in-whm\">#1. How to Enable PDO PHP Extension in WHM?<\/h3>\n<p>To enable PHP extension in WHM, follow the below mentioned steps.<\/p>\n<ul>\n<li>Login to WHM as root.<\/li>\n<li>Navigate to\u00a0<strong>Software<\/strong>\u00a0section and then select\u00a0<strong>EasyApache4<\/strong>\u00a0from the list.\u00a0<em>You can search\u00a0<code><strong>easy<\/strong><\/code><strong><code><\/code><\/strong>\u00a0in search bar and directly directed to same.<\/em><img fetchpriority=\"high\" decoding=\"async\" class=\"alignleft  wp-image-2033\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/easa-300x167.jpeg\" alt=\"\" width=\"446\" height=\"248\" srcset=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/easa-300x167.jpeg 300w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/easa.jpeg 650w\" sizes=\"(max-width: 446px) 100vw, 446px\" \/><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li>On the next page, go to\u00a0<strong>Currently Installed Packages<\/strong>\u00a0and click over\u00a0<strong>Customize<\/strong>.<img decoding=\"async\" class=\"alignleft  wp-image-2034\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/cip-300x155.jpeg\" alt=\"\" width=\"499\" height=\"258\" srcset=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/cip-300x155.jpeg 300w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/cip-768x397.jpeg 768w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/cip.jpeg 941w\" sizes=\"(max-width: 499px) 100vw, 499px\" \/><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li>List of multiple options will appear on the next page. Scroll down to PHP Extensions and type\u00a0<code><strong>PDO<\/strong><\/code>\u00a0in the search bar.\u00a0<em>Refer to the below given imagec<\/em><br \/>\n<img decoding=\"async\" class=\"alignleft  wp-image-2035\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/pdope-768x511-1-300x200.jpeg\" alt=\"\" width=\"473\" height=\"315\" srcset=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/pdope-768x511-1-300x200.jpeg 300w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/pdope-768x511-1.jpeg 768w\" sizes=\"(max-width: 473px) 100vw, 473px\" \/><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li>List of all\u00a0<code><strong>PDO<\/strong><\/code>\u00a0extension will appear. Scroll the button given next to PHP version which you want to enable. Click over\u00a0<strong>Next<\/strong>. <img loading=\"lazy\" decoding=\"async\" class=\"alignleft  wp-image-2036\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/epdo1-300x160.jpeg\" alt=\"\" width=\"501\" height=\"267\" srcset=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/epdo1-300x160.jpeg 300w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/epdo1-768x410.jpeg 768w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/epdo1.jpeg 1009w\" sizes=\"(max-width: 501px) 100vw, 501px\" \/><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li>You will be directed to next step and see a message:\u00a0<code><strong>Preparing selected packages for review<\/strong>....<\/code><\/li>\n<li><code><\/code>Review all the changes and then click over\u00a0<strong style=\"font-size: 16px;\">Provision<\/strong><span style=\"font-size: 16px;\"> and proceed.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft  wp-image-2037\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/prv-768x612-1-300x239.jpeg\" alt=\"\" width=\"441\" height=\"351\" srcset=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/prv-768x612-1-300x239.jpeg 300w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/prv-768x612-1.jpeg 768w\" sizes=\"(max-width: 441px) 100vw, 441px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li>A message appears :\u00a0<code><strong>Provision process started<\/strong><\/code>, which will take few minutes to complete.<\/li>\n<li>As the procedure completes, a message appears: <code style=\"font-style: inherit; font-weight: inherit;\"><strong>Provision process is complete<\/strong><\/code><span style=\"font-size: 16px;\">.<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft  wp-image-2038\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/Curl-PHP-Extension-Installed-Successfully-768x484-1-300x189.jpeg\" alt=\"\" width=\"463\" height=\"292\" srcset=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/Curl-PHP-Extension-Installed-Successfully-768x484-1-300x189.jpeg 300w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/Curl-PHP-Extension-Installed-Successfully-768x484-1.jpeg 768w\" sizes=\"(max-width: 463px) 100vw, 463px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Thus, the steps mentioned above will help you to enable PDO extension for all PHP versions.<\/p>\n<h3 id=\"how-to-enable-pdo-php-extension-from-ssh\">#2. How to Install PDO Extension from SSH?<\/h3>\n<p>You can install PDO extension from command line by using the commands mentioned below.<\/p>\n<ul>\n<li>For\u00a0<em><strong>Ubuntu Linux server<\/strong><\/em>, run the following command.<\/li>\n<\/ul>\n<pre><strong><code>apt-get install php7.0-mysql<\/code><\/strong><\/pre>\n<ul>\n<li>For\u00a0<em><strong>CentOS Linux server<\/strong><\/em>, execute the below given command.<\/li>\n<\/ul>\n<pre class=\"lang-php s-code-block\"><strong>yum -y install php-pdo<\/strong><\/pre>\n<p><em><strong>*<\/strong>If your server already have PDO extension installed, then you will see the message, that says\u00a0<strong><code>Error:Nothing to do<\/code><\/strong>.<\/em><\/p>\n<h2><em><strong>That\u2019s It !<\/strong><\/em><\/h2>\n<p>Hope the article better describes the procedure\u00a0<strong>to enable PDO PHP extension for all PHP versions in cPanel\/WHM\u201d<\/strong>. Do share it with your colleagues if you find it working. Also share your suggestions and drop your queries to start the discussion on the related topic.<\/p>\n<p>check out our cheap and reliable <a href=\"https:\/\/hoganhost.com.ng\">web hosting<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today, in this tutorial we will illustrate the procedure\u00a0to enable PDO PHP extension for all PHP versions in cPanel\/WHM. In [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2033,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[55,4,45,59,5],"tags":[],"class_list":["post-2032","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-cpanel","category-easyapache-4","category-ubuntu","category-whm"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to enable PDO PHP extension for all PHP versions in cPanel\/WHM?<\/title>\n<meta name=\"description\" content=\"Today, in this tutorial we will illustrate the procedure\u00a0to enable PDO PHP extension for all PHP versions in cPanel\/WHM. In this tutorial\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to enable PDO PHP extension for all PHP versions in cPanel\/WHM?\" \/>\n<meta property=\"og:description\" content=\"Today, in this tutorial we will illustrate the procedure\u00a0to enable PDO PHP extension for all PHP versions in cPanel\/WHM. In this tutorial\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/\" \/>\n<meta property=\"og:site_name\" content=\"HoganHost blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/HoganHost\" \/>\n<meta property=\"article:published_time\" content=\"2024-02-01T20:23:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-12T12:22:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/easa.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"650\" \/>\n\t<meta property=\"og:image:height\" content=\"361\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Abigal okon\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hoganhostng\" \/>\n<meta name=\"twitter:site\" content=\"@hoganhostng\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Abigal okon\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/\"},\"author\":{\"name\":\"Abigal okon\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/af16a18c6cc966b92a6cb13b500f3f0a\"},\"headline\":\"How to enable PDO PHP extension for all PHP versions in cPanel\/WHM?\",\"datePublished\":\"2024-02-01T20:23:09+00:00\",\"dateModified\":\"2024-08-12T12:22:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/\"},\"wordCount\":357,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/easa.jpeg\",\"articleSection\":[\"CentOS\",\"Cpanel\",\"EasyApache 4\",\"Ubuntu\",\"whm\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/\",\"name\":\"How to enable PDO PHP extension for all PHP versions in cPanel\/WHM?\",\"isPartOf\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/easa.jpeg\",\"datePublished\":\"2024-02-01T20:23:09+00:00\",\"dateModified\":\"2024-08-12T12:22:20+00:00\",\"description\":\"Today, in this tutorial we will illustrate the procedure\u00a0to enable PDO PHP extension for all PHP versions in cPanel\/WHM. In this tutorial\",\"breadcrumb\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/#primaryimage\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/easa.jpeg\",\"contentUrl\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/easa.jpeg\",\"width\":650,\"height\":361},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/hoganhost.com.ng\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to enable PDO PHP extension for all PHP versions in cPanel\/WHM?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#website\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/\",\"name\":\"HoganHost blog\",\"description\":\"Keeping you connected to everything from HoganHost\",\"publisher\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hoganhost.com.ng\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#organization\",\"name\":\"HoganHost\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2022\/09\/hogan-host.png\",\"contentUrl\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2022\/09\/hogan-host.png\",\"width\":466,\"height\":387,\"caption\":\"HoganHost\"},\"image\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/facebook.com\/HoganHost\",\"https:\/\/x.com\/hoganhostng\",\"https:\/\/instagram.com\/officialhoganhost\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/af16a18c6cc966b92a6cb13b500f3f0a\",\"name\":\"Abigal okon\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ef2272070d016c06ee69b30adce7c4e4b4faaa5c899c4b9224a5b1a43b1fb8d0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ef2272070d016c06ee69b30adce7c4e4b4faaa5c899c4b9224a5b1a43b1fb8d0?s=96&d=mm&r=g\",\"caption\":\"Abigal okon\"},\"sameAs\":[\"https:\/\/hoganhost.com.ng\/blog\"],\"url\":\"https:\/\/hoganhost.com.ng\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to enable PDO PHP extension for all PHP versions in cPanel\/WHM?","description":"Today, in this tutorial we will illustrate the procedure\u00a0to enable PDO PHP extension for all PHP versions in cPanel\/WHM. In this tutorial","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:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/","og_locale":"en_US","og_type":"article","og_title":"How to enable PDO PHP extension for all PHP versions in cPanel\/WHM?","og_description":"Today, in this tutorial we will illustrate the procedure\u00a0to enable PDO PHP extension for all PHP versions in cPanel\/WHM. In this tutorial","og_url":"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/","og_site_name":"HoganHost blog","article_publisher":"https:\/\/facebook.com\/HoganHost","article_published_time":"2024-02-01T20:23:09+00:00","article_modified_time":"2024-08-12T12:22:20+00:00","og_image":[{"width":650,"height":361,"url":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/easa.jpeg","type":"image\/jpeg"}],"author":"Abigal okon","twitter_card":"summary_large_image","twitter_creator":"@hoganhostng","twitter_site":"@hoganhostng","twitter_misc":{"Written by":"Abigal okon","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/#article","isPartOf":{"@id":"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/"},"author":{"name":"Abigal okon","@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/af16a18c6cc966b92a6cb13b500f3f0a"},"headline":"How to enable PDO PHP extension for all PHP versions in cPanel\/WHM?","datePublished":"2024-02-01T20:23:09+00:00","dateModified":"2024-08-12T12:22:20+00:00","mainEntityOfPage":{"@id":"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/"},"wordCount":357,"commentCount":0,"publisher":{"@id":"https:\/\/hoganhost.com.ng\/blog\/#organization"},"image":{"@id":"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/#primaryimage"},"thumbnailUrl":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/easa.jpeg","articleSection":["CentOS","Cpanel","EasyApache 4","Ubuntu","whm"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/","url":"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/","name":"How to enable PDO PHP extension for all PHP versions in cPanel\/WHM?","isPartOf":{"@id":"https:\/\/hoganhost.com.ng\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/#primaryimage"},"image":{"@id":"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/#primaryimage"},"thumbnailUrl":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/easa.jpeg","datePublished":"2024-02-01T20:23:09+00:00","dateModified":"2024-08-12T12:22:20+00:00","description":"Today, in this tutorial we will illustrate the procedure\u00a0to enable PDO PHP extension for all PHP versions in cPanel\/WHM. In this tutorial","breadcrumb":{"@id":"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/#primaryimage","url":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/easa.jpeg","contentUrl":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2024\/02\/easa.jpeg","width":650,"height":361},{"@type":"BreadcrumbList","@id":"https:\/\/hoganhost.com.ng\/blog\/cpanel\/how-to-enable-pdo-php-extension-for-all-php-versions-in-cpanel-whm\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hoganhost.com.ng\/blog\/"},{"@type":"ListItem","position":2,"name":"How to enable PDO PHP extension for all PHP versions in cPanel\/WHM?"}]},{"@type":"WebSite","@id":"https:\/\/hoganhost.com.ng\/blog\/#website","url":"https:\/\/hoganhost.com.ng\/blog\/","name":"HoganHost blog","description":"Keeping you connected to everything from HoganHost","publisher":{"@id":"https:\/\/hoganhost.com.ng\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hoganhost.com.ng\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hoganhost.com.ng\/blog\/#organization","name":"HoganHost","url":"https:\/\/hoganhost.com.ng\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2022\/09\/hogan-host.png","contentUrl":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2022\/09\/hogan-host.png","width":466,"height":387,"caption":"HoganHost"},"image":{"@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/facebook.com\/HoganHost","https:\/\/x.com\/hoganhostng","https:\/\/instagram.com\/officialhoganhost"]},{"@type":"Person","@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/af16a18c6cc966b92a6cb13b500f3f0a","name":"Abigal okon","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ef2272070d016c06ee69b30adce7c4e4b4faaa5c899c4b9224a5b1a43b1fb8d0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ef2272070d016c06ee69b30adce7c4e4b4faaa5c899c4b9224a5b1a43b1fb8d0?s=96&d=mm&r=g","caption":"Abigal okon"},"sameAs":["https:\/\/hoganhost.com.ng\/blog"],"url":"https:\/\/hoganhost.com.ng\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/posts\/2032","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/comments?post=2032"}],"version-history":[{"count":1,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/posts\/2032\/revisions"}],"predecessor-version":[{"id":2039,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/posts\/2032\/revisions\/2039"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/media\/2033"}],"wp:attachment":[{"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/media?parent=2032"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/categories?post=2032"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/tags?post=2032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}