{"id":3882,"date":"2026-07-22T21:33:10","date_gmt":"2026-07-22T21:33:10","guid":{"rendered":"https:\/\/disoh.com\/support\/how-do-i-adjust-php-settings-with-a-custom-php-ini-in-directadmin\/"},"modified":"2026-07-22T21:33:10","modified_gmt":"2026-07-22T21:33:10","password":"","slug":"how-do-i-adjust-php-settings-with-a-custom-php-ini-in-directadmin","status":"publish","type":"docs","link":"https:\/\/disoh.com\/fr\/support\/how-do-i-adjust-php-settings-with-a-custom-php-ini-in-directadmin\/","title":{"rendered":"Comment puis-je modifier les param\u00e8tres PHP \u00e0 l'aide d'un fichier php.ini personnalis\u00e9 dans DirectAdmin ?"},"content":{"rendered":"<p>Some applications need PHP settings changed, such as more memory, a longer execution time, or a larger upload limit. In DirectAdmin you can adjust these using PHP settings or a custom php.ini file. This guide explains the options.<\/p>\n<h2>Param\u00e8tres courants que vous pourriez modifier<\/h2>\n<ul>\n<li><strong>memory_limit :<\/strong> how much memory a script can use.<\/li>\n<li><strong>upload_max_filesize<\/strong> et <strong>post_max_size :<\/strong> the largest file you can upload.<\/li>\n<li><strong>max_execution_time :<\/strong> la dur\u00e9e d'ex\u00e9cution d'un script.<\/li>\n<li><strong>max_input_vars :<\/strong> useful for large forms or complex themes.<\/li>\n<\/ul>\n<h2>Option 1: PHP settings in DirectAdmin<\/h2>\n<ol>\n<li>Connectez-vous \u00e0 DirectAdmin.<\/li>\n<li>Ouvrir le <strong>S\u00e9lectionner la version de PHP<\/strong> or PHP settings area.<\/li>\n<li>Adjust the available options, such as memory limit and upload size.<\/li>\n<li>Enregistrer.<\/li>\n<\/ol>\n<h2>Option 2: A custom php.ini<\/h2>\n<p>If a setting is not exposed in the panel, you can create a <em>php.ini<\/em> file in your site&#8217;s folder with the values you need, for example a higher memory_limit. Your PHP version&#8217;s handler reads these custom values.<\/p>\n<h2>Checking your changes<\/h2>\n<p>Create a PHP info page or use your application&#8217;s system report to confirm the new values are active. If a change does not take effect, clear any caching and reload.<\/p>\n<h2>D\u00e9pannage<\/h2>\n<ul>\n<li><strong>Modification non appliqu\u00e9e :<\/strong> confirm you edited the settings for the correct PHP version.<\/li>\n<li><strong>Site errors after a change:<\/strong> revert the value; the setting may be too high or unsupported.<\/li>\n<\/ul>\n<h2>Besoin d'aide ?<\/h2>\n<p>If you are unsure which PHP value an application needs, our support team can advise over live chat.<\/p>","protected":false},"excerpt":{"rendered":"<p>Some applications need PHP settings changed, such as more memory, a longer execution time, or a larger upload limit. In DirectAdmin you can adjust these using PHP settings or a custom php.ini file. This guide explains the options. Common settings you might change memory_limit: how much memory a script can use. upload_max_filesize and post_max_size: the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[12],"doc_tag":[],"class_list":["post-3882","docs","type-docs","status-publish","hentry","doc_category-webhosting"],"year_month":"2026-07","word_count":242,"total_views":"21","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Jorn","author_nicename":"jorn","author_url":"https:\/\/disoh.com\/fr\/author\/jorn\/"},"doc_category_info":[{"term_name":"Webhosting","term_url":"https:\/\/disoh.com\/fr\/docs-category\/webhosting\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How do I adjust PHP settings with a custom php.ini in DirectAdmin? &#8211; Disoh<\/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:\/\/disoh.com\/fr\/soutien\/how-do-i-adjust-php-settings-with-a-custom-php-ini-in-directadmin\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How do I adjust PHP settings with a custom php.ini in DirectAdmin? &#8211; Disoh\" \/>\n<meta property=\"og:description\" content=\"Some applications need PHP settings changed, such as more memory, a longer execution time, or a larger upload limit. In DirectAdmin you can adjust these using PHP settings or a custom php.ini file. This guide explains the options. Common settings you might change memory_limit: how much memory a script can use. upload_max_filesize and post_max_size: the [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/disoh.com\/fr\/soutien\/how-do-i-adjust-php-settings-with-a-custom-php-ini-in-directadmin\/\" \/>\n<meta property=\"og:site_name\" content=\"Disoh\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/disohhosting\" \/>\n<meta property=\"og:image\" content=\"https:\/\/disoh.com\/wp-content\/uploads\/2025\/07\/disoh_about.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1536\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/disoh.com\\\/support\\\/how-do-i-adjust-php-settings-with-a-custom-php-ini-in-directadmin\\\/\",\"url\":\"https:\\\/\\\/disoh.com\\\/support\\\/how-do-i-adjust-php-settings-with-a-custom-php-ini-in-directadmin\\\/\",\"name\":\"How do I adjust PHP settings with a custom php.ini in DirectAdmin? &#8211; Disoh\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/#website\"},\"datePublished\":\"2026-07-22T21:33:10+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/support\\\/how-do-i-adjust-php-settings-with-a-custom-php-ini-in-directadmin\\\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/disoh.com\\\/support\\\/how-do-i-adjust-php-settings-with-a-custom-php-ini-in-directadmin\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/disoh.com\\\/support\\\/how-do-i-adjust-php-settings-with-a-custom-php-ini-in-directadmin\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/disoh.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How do I adjust PHP settings with a custom php.ini in DirectAdmin?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/disoh.com\\\/#website\",\"url\":\"https:\\\/\\\/disoh.com\\\/\",\"name\":\"Disoh\",\"description\":\"Digital Solutions Hosting\",\"publisher\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/disoh.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/disoh.com\\\/#organization\",\"name\":\"Disoh LLC\",\"url\":\"https:\\\/\\\/disoh.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/disoh.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/disoh.com\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/favicon_1.svg\",\"contentUrl\":\"https:\\\/\\\/disoh.com\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/favicon_1.svg\",\"width\":615,\"height\":615,\"caption\":\"Disoh LLC\"},\"image\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/disohhosting\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How do I adjust PHP settings with a custom php.ini in DirectAdmin? &#8211; Disoh","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:\/\/disoh.com\/fr\/soutien\/how-do-i-adjust-php-settings-with-a-custom-php-ini-in-directadmin\/","og_locale":"fr_FR","og_type":"article","og_title":"How do I adjust PHP settings with a custom php.ini in DirectAdmin? &#8211; Disoh","og_description":"Some applications need PHP settings changed, such as more memory, a longer execution time, or a larger upload limit. In DirectAdmin you can adjust these using PHP settings or a custom php.ini file. This guide explains the options. Common settings you might change memory_limit: how much memory a script can use. upload_max_filesize and post_max_size: the [&hellip;]","og_url":"https:\/\/disoh.com\/fr\/soutien\/how-do-i-adjust-php-settings-with-a-custom-php-ini-in-directadmin\/","og_site_name":"Disoh","article_publisher":"https:\/\/www.facebook.com\/disohhosting","og_image":[{"width":1536,"height":1024,"url":"https:\/\/disoh.com\/wp-content\/uploads\/2025\/07\/disoh_about.webp","type":"image\/webp"}],"twitter_card":"summary_large_image","twitter_misc":{"Dur\u00e9e de lecture estim\u00e9e":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/disoh.com\/support\/how-do-i-adjust-php-settings-with-a-custom-php-ini-in-directadmin\/","url":"https:\/\/disoh.com\/support\/how-do-i-adjust-php-settings-with-a-custom-php-ini-in-directadmin\/","name":"How do I adjust PHP settings with a custom php.ini in DirectAdmin? &#8211; Disoh","isPartOf":{"@id":"https:\/\/disoh.com\/#website"},"datePublished":"2026-07-22T21:33:10+00:00","breadcrumb":{"@id":"https:\/\/disoh.com\/support\/how-do-i-adjust-php-settings-with-a-custom-php-ini-in-directadmin\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/disoh.com\/support\/how-do-i-adjust-php-settings-with-a-custom-php-ini-in-directadmin\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/disoh.com\/support\/how-do-i-adjust-php-settings-with-a-custom-php-ini-in-directadmin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/disoh.com\/"},{"@type":"ListItem","position":2,"name":"How do I adjust PHP settings with a custom php.ini in DirectAdmin?"}]},{"@type":"WebSite","@id":"https:\/\/disoh.com\/#website","url":"https:\/\/disoh.com\/","name":"Disoh","description":"Solutions num\u00e9riques H\u00e9bergement","publisher":{"@id":"https:\/\/disoh.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/disoh.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/disoh.com\/#organization","name":"Disoh LLC","url":"https:\/\/disoh.com\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/disoh.com\/#\/schema\/logo\/image\/","url":"https:\/\/disoh.com\/wp-content\/uploads\/2025\/06\/favicon_1.svg","contentUrl":"https:\/\/disoh.com\/wp-content\/uploads\/2025\/06\/favicon_1.svg","width":615,"height":615,"caption":"Disoh LLC"},"image":{"@id":"https:\/\/disoh.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/disohhosting"]}]}},"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/disoh.com\/fr\/wp-json\/wp\/v2\/docs\/3882","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/disoh.com\/fr\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/disoh.com\/fr\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/disoh.com\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/disoh.com\/fr\/wp-json\/wp\/v2\/comments?post=3882"}],"version-history":[{"count":0,"href":"https:\/\/disoh.com\/fr\/wp-json\/wp\/v2\/docs\/3882\/revisions"}],"wp:attachment":[{"href":"https:\/\/disoh.com\/fr\/wp-json\/wp\/v2\/media?parent=3882"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/disoh.com\/fr\/wp-json\/wp\/v2\/doc_category?post=3882"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/disoh.com\/fr\/wp-json\/wp\/v2\/doc_tag?post=3882"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}