Skip to content
Snippets Groups Projects
Commit c11dc04d authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3217858: Support PHP7.4 for Varbase ~9.0 and all used components with automated testing

parent 01264584
No related branches found
No related tags found
No related merge requests found
......@@ -42,14 +42,22 @@ commands:
sudo update-alternatives --set php /usr/bin/php7.4
echo -e "memory_limit = -1" | sudo tee /etc/php/7.4/apache2/php.ini > /dev/null
echo -e "max_execution_time = 1200" | sudo tee /etc/php/7.4/apache2/php.ini > /dev/null
echo -e "error_reporting = -1" | sudo tee /etc/php/7.4/apache2/php.ini > /dev/null
echo -e "error_reporting = E_ALL" | sudo tee /etc/php/7.4/apache2/php.ini > /dev/null
echo -e "max_input_time = 180" | sudo tee /etc/php/7.4/apache2/php.ini > /dev/null
echo -e "max_input_vars = 10000" | sudo tee /etc/php/7.4/apache2/php.ini > /dev/null
echo -e "post_max_size = 64M" | sudo tee /etc/php/7.4/apache2/php.ini > /dev/null
echo -e "upload_max_filesize = 32M" | sudo tee /etc/php/7.4/apache2/php.ini > /dev/null
echo -e "max_file_uploads = 40" | sudo tee /etc/php/7.4/apache2/php.ini > /dev/null
echo -e "memory_limit = -1" | sudo tee /etc/php/7.4/cli/php.ini > /dev/null
echo -e "max_execution_time = 1200" | sudo tee /etc/php/7.4/cli/php.ini > /dev/null
echo -e "error_reporting = E_ALL" | sudo tee /etc/php/7.4/cli/php.ini > /dev/null
echo -e "max_input_time = 180" | sudo tee /etc/php/7.4/cli/php.ini > /dev/null
echo -e "max_input_vars = 10000" | sudo tee /etc/php/7.4/cli/php.ini > /dev/null
echo -e "post_max_size = 64M" | sudo tee /etc/php/7.4/cli/php.ini > /dev/null
echo -e "upload_max_filesize = 32M" | sudo tee /etc/php/7.4/cli/php.ini > /dev/null
echo -e "max_file_uploads = 40" | sudo tee /etc/php/7.4/cli/php.ini > /dev/null
sudo service apache2 restart
## Waiting for MySQL to be ready.
- run:
name: Waiting for MySQL to be ready
......@@ -102,6 +110,8 @@ commands:
mysql --version
composer --version
php -m
php -i | grep "Loaded Configuration File"
php --ini
## Build Varbase with the composer and Install with drush.
......
......@@ -17,7 +17,3 @@ So that they will be converted to links and visitors can click on them.
And I should see "Test line #1"
And I should see "Test line #2 http://drupal.org"
And I should see "Test line #3"
# But the ".field.field-name-body .field-item" element should contain "Test line #1 <br /> Test line #2 <a href=\"http://drupal.org\" target=\"_blank\">http://drupal.org</a> <br /> Test line #3</p>"
When I click "http://drupal.org" in the "a" element with the "href" attribute set to "http://drupal.org"
And I wait
Then I should see "Drupal"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment