When you deploy an application by uploading a ZIP package in the PHP technology stack, make sure that the index.php file is placed in the public folder in the package. Otherwise, the application may fail to be deployed.

php-webapp
└── public
    └── index.php