Deploy a simple PHP application
You need to have a
deployment.xml for Zend Server and a
.htaccess file for Apache.
You need to edit the
deployment.xml file according to your needs.
You can optimize the composer autoloading, running the following command:
composer update --no-dev --prefer-dist --optimize-autoloader
You can execute the zip command to create the .zpk:
zip -r <package>.zpk <project_files> .htaccess deployment.xml vendor
You can upload the
<package>.zpk file using the Zend Server management web interface.