The include path is relative to the first file in the include chain.
A good way to ensure the correct include path is to always include from the document root.
This is done like this:
include $_SERVER['DOCUMENT_ROOT'] . '/folder1/folder2/includetwo.php';