I’ve copied and had a look at the example repo for a PHP based application, my folder structure in the repo is as follows
src/ _site/index.php composer.json gulpfile.js package.json
So my actual “application” that I want apache to serve from is in under _site.
My gulpfile copies stuff from src, compiles it and puts it into _site/assets/ which i’ve got working as apart of the build process.
I did try just have it move _site/* to /workspace/* but didn’t feel like that was the best thing to do, Anyone have some suggestions or what I can do?
Currently its running heroku-php-apache2 to start it, is there a way I can easily even change the apache path rather than moving stuff?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!