Deploy PHP app to apache on Windows?

rpresser's Avatar

rpresser

07 Aug, 2017 04:59 PM

We have a PHP app, running under Apache on Windows. Assuming we packaged all files using Octopack and sent it to the Octopus server, is it possible to get Octopus to deploy it properly?

  1. Support Staff 1 Posted by Kenneth Bates on 08 Aug, 2017 05:11 AM

    Kenneth Bates's Avatar

    Hi,

    Thanks for getting in touch! Our general rule of thumb is, if you can package into a supported package type, you can deploy with Octopus. In Octopus 3.3 we added support for ZIP files (check out our docs on creating ZIP packages), so you can package your PHP app into a ZIP file and run scripts to do what you need to do (including support for Bash).

    Additionally, we have a great blog post written some time ago (before ZIP support was introduced) called Deploy a PHP site to IIS with Octopus. While it may not be exactly what you're doing, it may give you a good idea of the process used to deploy a non .NET app with Octopus.
    https://octopus.com/blog/deploy-php-to-iis-with-octopus

    I hope these resources help. Feel free to reach out again if you have any further questions, or want to clarify your requirements and details on your environment, and I'll be more than happy to help you find the best solution.

    Kind regards,

    Kenny

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac