{"id":613,"date":"2013-03-06T18:57:03","date_gmt":"2013-03-06T23:57:03","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2013\/03\/06\/find-php-version-and-options-of-your-server\/"},"modified":"2026-10-27T12:09:43","modified_gmt":"2026-10-27T16:09:43","slug":"find-php-version-and-options-of-your-server","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/website\/find-php-version-and-options-of-your-server\/","title":{"rendered":"Find PHP Version and Options of Your Server"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/find-php-version-1024x538.jpg\" alt=\"Find PHP version and options of your server\" class=\"wp-image-100507\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/find-php-version-1024x538.jpg 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/find-php-version-300x158.jpg 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/find-php-version-768x403.jpg 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/find-php-version.jpg 1200w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This article shows you how to find the PHP version your website runs by creating a PHP info page. The same page lists the options PHP is using and every active PHP extension. If you manage a VPS (Virtual Private Server) or Dedicated server, the last section lists the PHP versions EasyApache 4 can install on AlmaLinux 8 and AlmaLinux 9.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why Does PHP Version Matter?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Each new PHP version brings better security practices and new features. Most PHP software, including WordPress and other content management systems, requires a minimum or specific PHP version. It may also need certain extensions enabled or certain values set in the PHP options. Knowing your PHP version is the first step in confirming your site meets those requirements.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Creating a PHP Info Page<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The steps below create a PHP info page that shows your PHP version and all the PHP options currently in use on your <a href=\"https:\/\/www.inmotionhosting.com\/php-hosting\">PHP hosting<\/a> account.<\/p>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li><a href=\"\/support\/edu\/cpanel\/how-to-log-into-cpanel\/\">Log in to cPanel<\/a>.<\/li>\n\n\n\n<li>Under the <strong>Files<\/strong> section, click <strong>File Manager<\/strong>. It opens in your home directory, so click <strong>public_html<\/strong> in the folder tree on the left.<\/li>\n\n\n\n<li>At the top left, click <strong>+ File<\/strong>. In the <strong>New File Name<\/strong> field, enter <strong>info.php<\/strong> and click <strong>Create New File<\/strong>.<\/li>\n\n\n\n<li>Select <strong>info.php<\/strong>, click <strong>Edit<\/strong> in the toolbar, and click <strong>Edit<\/strong> again in the encoding dialog to <a href=\"\/support\/edu\/cpanel\/file-manager-code-editor\/\">open the file in the cPanel editor<\/a>. Enter the following code:<\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #F97583\">&lt;?<\/span><span style=\"color: #79B8FF\">php<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">phpinfo<\/span><span style=\"color: #E1E4E8\">(); <\/span><span style=\"color: #F97583\">?&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<ol start=\"5\" class=\"wp-block-list article_list\">\n<li>Click <strong>Save Changes<\/strong> at the top right of the editor.<\/li>\n\n\n\n<li>Visit the page in your browser, for example <strong>https:\/\/example.com\/info.php<\/strong>. The PHP version appears in the header at the top of the page, and the <strong>Loaded Configuration File<\/strong> row shows which php.ini file your settings come from.<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2026\/10\/find-php-version-phpinfo-page.png\" alt=\"phpinfo page showing the PHP Version 8.1.34 header and the Loaded Configuration File row\"><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Scroll further down the PHP info page to see the individual PHP options and the extensions that are loaded. Delete the <strong>info.php<\/strong> file when you are done, because the page reveals details about your server configuration to anyone who visits it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Changing PHP Version<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Now that you know which PHP version your site runs, you may want to change it. Our guide on <a href=\"\/support\/website\/how-to-change-the-php-version-your-account-uses\/\">how to change the PHP version your account uses<\/a> shows you how to select a version in cPanel.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can also <a href=\"\/support\/website\/multiple-php-versions\/\">use multiple PHP versions on one account<\/a> by adding <strong>.htaccess<\/strong> handler rules. If you run automated PHP scripts through a cron job, see <a href=\"\/support\/website\/force-cron-jobs-php-version\/\">forcing cron jobs to use a chosen PHP version<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you are on a <a href=\"https:\/\/www.inmotionhosting.com\/vps-hosting\">VPS<\/a> or Dedicated server and have <a href=\"\/support\/amp\/obtain-root-access\/\">root access<\/a>, you can also <a href=\"\/support\/edu\/easyapache\/upgrade-php-easyapache\/\">install newer PHP versions with EasyApache 4<\/a> in WHM.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Supported PHP Versions in AlmaLinux 8 and AlmaLinux 9<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">On a VPS or Dedicated server, the PHP versions EasyApache 4 can install depend on the operating system. The table below reflects cPanel\u2019s current EasyApache 4 PHP list for AlmaLinux 8 and AlmaLinux 9 (the same list applies to Rocky Linux 8 and 9).<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>PHP version<\/th><th>AlmaLinux 8<\/th><th>AlmaLinux 9<\/th><\/tr><\/thead><tbody><tr><td>PHP 5.4 to 7.1<\/td><td>Not available<\/td><td>Not available<\/td><\/tr><tr><td>PHP 7.2<\/td><td>Available (end of life)<\/td><td>Not available<\/td><\/tr><tr><td>PHP 7.3<\/td><td>Available (end of life)<\/td><td>Not available<\/td><\/tr><tr><td>PHP 7.4<\/td><td>Available (end of life)<\/td><td>Not available<\/td><\/tr><tr><td>PHP 8.0<\/td><td>Available (end of life)<\/td><td>Available (end of life)<\/td><\/tr><tr><td>PHP 8.1<\/td><td>Available (end of life)<\/td><td>Available (end of life)<\/td><\/tr><tr><td>PHP 8.2<\/td><td>Installed by default (security fixes only)<\/td><td>Installed by default (security fixes only)<\/td><\/tr><tr><td>PHP 8.3<\/td><td>Available (security fixes only)<\/td><td>Available (security fixes only)<\/td><\/tr><tr><td>PHP 8.4<\/td><td>Available (actively maintained)<\/td><td>Available (actively maintained)<\/td><\/tr><tr><td>PHP 8.5<\/td><td>Available (actively maintained)<\/td><td>Available (actively maintained)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u201cAvailable\u201d means WHM\u2019s EasyApache 4 interface can install the version even if it is not part of the default profile. End-of-life versions still install, but PHP no longer publishes fixes for them, so move sites to PHP 8.3 or newer when you can. The two operating systems differ only at the old end of the list: AlmaLinux 9 drops PHP 7.4 and older entirely.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">cPanel adds new PHP releases to EasyApache 4 regularly. To list every PHP version your server can install right now, run the following command as root over SSH:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">dnf<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">repolist<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #F97583\">|<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #B392F0\">grep<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">EA4<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #F97583\">|<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #B392F0\">awk<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">'{print $1}'<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #F97583\">|<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #F97583\">while<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">read<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">repoid<\/span><span style=\"color: #E1E4E8\">; <\/span><span style=\"color: #F97583\">do<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #B392F0\">repoquery<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">--repoid=<\/span><span style=\"color: #E1E4E8\">$repoid<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">--queryformat=<\/span><span style=\"color: #9ECBFF\">\"%{name}\"<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #F97583\">|<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #B392F0\">grep<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">-Eoh<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">\"ea-php[0-9]{2}\"<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #F97583\">|<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #B392F0\">sort<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #F97583\">|<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #B392F0\">uniq<\/span><span style=\"color: #E1E4E8\">; <\/span><span style=\"color: #F97583\">done<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">The output lists package names such as <code>ea-php82<\/code> and <code>ea-php85<\/code>, one per available version.<\/p>\n\n\n\n<p class=\"alert alert-info wp-block-paragraph\"><strong>Note:<\/strong> EasyApache 4 does not provide PHP 7.1 or older on AlmaLinux 8, or PHP 7.4 or older on AlmaLinux 9. If a site still depends on one of those versions, <a href=\"\/support\/edu\/whm\/tuxcare-php-extended-lifecycle-support\/\">TuxCare Extended Lifecycle Support for PHP<\/a> provides security-patched builds of legacy PHP versions on current operating systems.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article shows you how to find the PHP version your website runs by creating a PHP info page. The same page lists the options PHP is using and every active PHP extension. If you manage a VPS (Virtual Private Server) or Dedicated server, the last section lists the PHP versions EasyApache 4 can install<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/find-php-version-and-options-of-your-server\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_ayudawp_aiss_exclude":false,"_ayudawp_aiss_exclude_summary":false,"_ayudawp_aiss_summary":"This article shows you how to find the PHP version your website runs by creating a PHP info page. The steps below create a PHP info page that shows your PHP version and all the PHP options currently in use on your PHP hosting account. The PHP version appears in the header at the top of the page, and the Loaded Configuration File row shows which php.ini file your settings come from.","_ayudawp_aiss_summary_provider":"extractive","_ayudawp_aiss_summary_hash":"53e36b38d75dd5183981b6088f9e57a488b80ad7","_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[4288],"tags":[],"class_list":["post-613","post","type-post","status-publish","format-standard","hentry","category-website"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Find PHP Version and Options of Your Server<\/title>\n<meta name=\"description\" content=\"Find the PHP version your website runs with a phpinfo page, and see which PHP versions EasyApache 4 offers on AlmaLinux 8 and 9.\" \/>\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.inmotionhosting.com\/support\/website\/find-php-version-and-options-of-your-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Find PHP Version and Options of Your Server\" \/>\n<meta property=\"og:description\" content=\"Find the PHP version your website runs with a phpinfo page, and see which PHP versions EasyApache 4 offers on AlmaLinux 8 and 9.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/website\/find-php-version-and-options-of-your-server\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2013-03-06T23:57:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-27T16:09:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/find-php-version.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/website\\\/find-php-version-and-options-of-your-server\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/website\\\/find-php-version-and-options-of-your-server\\\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#\\\/schema\\\/person\\\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"Find PHP Version and Options of Your Server\",\"datePublished\":\"2013-03-06T23:57:03+00:00\",\"dateModified\":\"2026-10-27T16:09:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/website\\\/find-php-version-and-options-of-your-server\\\/\"},\"wordCount\":702,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/website\\\/find-php-version-and-options-of-your-server\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/find-php-version-1024x538.jpg\",\"articleSection\":[\"Website\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/website\\\/find-php-version-and-options-of-your-server\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/website\\\/find-php-version-and-options-of-your-server\\\/\",\"url\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/website\\\/find-php-version-and-options-of-your-server\\\/\",\"name\":\"Find PHP Version and Options of Your Server\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/website\\\/find-php-version-and-options-of-your-server\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/website\\\/find-php-version-and-options-of-your-server\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/find-php-version-1024x538.jpg\",\"datePublished\":\"2013-03-06T23:57:03+00:00\",\"dateModified\":\"2026-10-27T16:09:43+00:00\",\"description\":\"Find the PHP version your website runs with a phpinfo page, and see which PHP versions EasyApache 4 offers on AlmaLinux 8 and 9.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/website\\\/find-php-version-and-options-of-your-server\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/website\\\/find-php-version-and-options-of-your-server\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/website\\\/find-php-version-and-options-of-your-server\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/find-php-version.jpg\",\"contentUrl\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/find-php-version.jpg\",\"width\":1200,\"height\":630,\"caption\":\"Find PHP Version - Header image\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/website\\\/find-php-version-and-options-of-your-server\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Find PHP Version and Options of Your Server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#website\",\"url\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/inmotionhosting\\\/\",\"https:\\\/\\\/x.com\\\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#\\\/schema\\\/person\\\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/company\\\/inmotion-hosting\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/InMotionHosting\"],\"url\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/author\\\/inmotion-hosting-contributor\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Find PHP Version and Options of Your Server","description":"Find the PHP version your website runs with a phpinfo page, and see which PHP versions EasyApache 4 offers on AlmaLinux 8 and 9.","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.inmotionhosting.com\/support\/website\/find-php-version-and-options-of-your-server\/","og_locale":"en_US","og_type":"article","og_title":"Find PHP Version and Options of Your Server","og_description":"Find the PHP version your website runs with a phpinfo page, and see which PHP versions EasyApache 4 offers on AlmaLinux 8 and 9.","og_url":"https:\/\/www.inmotionhosting.com\/support\/website\/find-php-version-and-options-of-your-server\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2013-03-06T23:57:03+00:00","article_modified_time":"2026-10-27T16:09:43+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/find-php-version.jpg","type":"image\/jpeg"}],"author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/find-php-version-and-options-of-your-server\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/find-php-version-and-options-of-your-server\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"Find PHP Version and Options of Your Server","datePublished":"2013-03-06T23:57:03+00:00","dateModified":"2026-10-27T16:09:43+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/find-php-version-and-options-of-your-server\/"},"wordCount":702,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/find-php-version-and-options-of-your-server\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/find-php-version-1024x538.jpg","articleSection":["Website"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/website\/find-php-version-and-options-of-your-server\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/find-php-version-and-options-of-your-server\/","url":"https:\/\/www.inmotionhosting.com\/support\/website\/find-php-version-and-options-of-your-server\/","name":"Find PHP Version and Options of Your Server","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/find-php-version-and-options-of-your-server\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/find-php-version-and-options-of-your-server\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/find-php-version-1024x538.jpg","datePublished":"2013-03-06T23:57:03+00:00","dateModified":"2026-10-27T16:09:43+00:00","description":"Find the PHP version your website runs with a phpinfo page, and see which PHP versions EasyApache 4 offers on AlmaLinux 8 and 9.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/find-php-version-and-options-of-your-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/website\/find-php-version-and-options-of-your-server\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/find-php-version-and-options-of-your-server\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/find-php-version.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/09\/find-php-version.jpg","width":1200,"height":630,"caption":"Find PHP Version - Header image"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/find-php-version-and-options-of-your-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Find PHP Version and Options of Your Server"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","primary_category":{"id":4288,"name":"Website","slug":"website","link":"https:\/\/www.inmotionhosting.com\/support\/website\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/613","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=613"}],"version-history":[{"count":13,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/613\/revisions"}],"predecessor-version":[{"id":900755,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/613\/revisions\/900755"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=613"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=613"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=613"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}