diff --git a/software/drupal/software.cfg b/software/drupal/software.cfg
index 955592a4fb30da396cef95ef297b97395de4b0ca..80e221608f9400550f559343a9401fb215ab980b 100644
--- a/software/drupal/software.cfg
+++ b/software/drupal/software.cfg
@@ -27,8 +27,3 @@ location = ${buildout:parts-directory}/${:_buildout_section_name_}
 
 [application-configuration]
 location = sites/default/default.settings.php
-
-[custom-application-deployment]
-path = {:_profile_base_location_}/instance.cfg
-part-list =
-  setup-database
diff --git a/stack/lamp/apache/instance-apache-php.cfg b/stack/lamp/apache/instance-apache-php.cfg
index df86922976173580127692bbba7a630eb00df01e..f349cbd6946671827c44f1093079aea7a3727420 100644
--- a/stack/lamp/apache/instance-apache-php.cfg
+++ b/stack/lamp/apache/instance-apache-php.cfg
@@ -1,5 +1,4 @@
 [buildout]
-extends = ${custom-php-part:path}
 
 parts =
   certificate-authority
@@ -15,7 +14,6 @@ parts =
   frontend-promise
   content-promise
   publish-connection-informations
-  ${custom-php-part:part-list}
 
 eggs-directory = ${buildout:eggs-directory}
 develop-eggs-directory = ${buildout:develop-eggs-directory}
diff --git a/stack/lamp/buildout.cfg b/stack/lamp/buildout.cfg
index 855058c2112e79d48fefb291318268c70b1afc6d..d81ced19132f16aa6f32e1a63079c87fb53c7cb5 100644
--- a/stack/lamp/buildout.cfg
+++ b/stack/lamp/buildout.cfg
@@ -61,18 +61,6 @@ recipe = hexagonit.recipe.download
 #If provided tarball does not containt top directory this option shall be changed to false
 strip-top-level-dir = true
 
-[custom-application-deployment]
-# Optional part allowing applications using this stack to run a custom
-# instance.cfg at the end of Apache/PHP instance deployment.
-# To use it in your application, just override those two parameters, like:
-# path = /path/to/instance-custom.cfg
-# part-list =
-#  part1
-#  part2
-# See software/drupal/software.cfg for an example.
-path =
-part-list =
-
 [template]
 recipe = slapos.recipe.template
 url = ${:_profile_base_location_}/instance.cfg