File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 1+ Listen 8080
2+
3+ <VirtualHost *:8080>
4+ LoadModule php7_module /opt/circleci/php/7.0.17/usr/lib/apache2/modules/libphp7.so
5+
6+ DocumentRoot /home/circleci/wp-php-console/wordpress
7+ ServerName wp-php-console.test
8+ DirectoryIndex index.html index.json index.php
9+ LogLevel notice
10+
11+ <FilesMatch \.php$>
12+ SetHandler application/x-httpd-php
13+ </FilesMatch>
14+
15+ <Directory /home/circleci/wp-php-console/wordpress>
16+ AllowOverride All
17+ Allow from All
18+ </Directory>
19+
20+ </VirtualHost>
Original file line number Diff line number Diff line change 3939 # Move plugin into WordPress and activate
4040 - run : mv plugin wordpress/wp-content/plugins/wp-php-console
4141 - run : ./wp-cli.phar plugin activate wp-php-console --path=wordpress || true
42- # Restart Apache and run tests
42+ # Configure and restart Apache, then run tests
43+ - run : sudo cp .circleci/apache_ci.conf /etc/apache2/sites-available
44+ - run : sudo a2ensite apache_ci.conf
4345 - run : sudo service apache2 restart
4446 - run : cd wordpress/wp-content/plugins/wp-php-console
4547 - run : vendor/bin/codecept run acceptance
You can’t perform that action at this time.
0 commit comments