Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I think we should experiment with using Apache or nginx rather than the PHP webserver and see if/how it works.
The pro's are:
- It might run faster! This would make working with Travis-CI more pleasant.
- It would allow us to test PHP 5.3. The PHP webserver is only in 5.4 or higher. Since Panopoly runs on 5.3, we should probably test it.
- It will better resemble a really site. There maybe situations where the PHP webserver will act differently than a real webserver.
The con's are:
- It might run slower.. It already takes about 20 minutes to run a single build. If it got slower, that would not be optimal.
- Increased complexity. Configuring Apache or nginx will make the Travis-CI script more complex.
Comment | File | Size | Author |
---|---|---|---|
#4 | panopoly-apache-on-travis-2183021-4.patch | 2.61 KB | dsnopek |
Comments
Comment #1
dsnopekHere's some Travis-CI docs on configuring Apache:
http://docs.travis-ci.com/user/languages/php/#Apache-%2B-PHP
Comment #2
dsnopekComment #3
dsnopekThis is an example of a situation where the PHP webserver acts different than Apache:
#2428097: Image styles won't generate on Travis-CI (breaking tests that need valid images)
Comment #4
dsnopekHere's the first attempt at a patch, but fails:
https://travis-ci.org/dsnopek/panopoly/builds/52334710
Comment #5
mglamanI found this via a Google search on something. Panopoly is using drupal_ti now, figure I could go ahead and mark this as a won't fix to tidy up the queue.
Comment #6
dsnopek@mglaman: Thanks for doing issue triage! However, I think I'd prefer to keep this one open, even if we toss out the existing patch. With drupal_ti, we're still using the PHP webserver, and there still may be reasons to convert to using Apache or nginx.
Comment #7
heddnFor those following, https://github.com/MTechLLC/nica/blob/master/.travis.yml is a working setup using php 7, apache and fastcgi. I think you just have to delete one line in the "enable php-fpm" section.