Zend 3 MVC skeleton on server with no Vhost access

I’n installing Zend 3 on a cloudserver, but i don’t have access to modify a Vhost. How to change the document root to the public folder without editing of the Vhost?

second question, how can i instal it in the servers root without the sub folder skeleton-application?

Hello @Jilco!

Changing the virtual host is only one option.

You should look in the configuration of your cloud server or in the available backend – this depends on your service provider.

You can install the skeleton-application also in the current directory:

$ composer create-project -sdev zendframework/skeleton-application .

Use the . (dot) at the end as path for installation.

Thanks! My hoster solved the Vhost issue