<commit_before>#!/usr/bin/env zsh

if [ $PHP_INI != "" ]
then
  echo_title "Configuring PHP"
  sudo sed -i '' -e 's/display_errors = Off/display_errors = On/' $PHP_INI
  sudo sed -i '' -e 's/display_startup_errors = Off/display_errors = On/' $PHP_INI
  sudo sed -i '' -e 's/upload_max_filesize = 2M/upload_max_filesize = 20M/' $PHP_INI
  sudo sed -i '' -e 's/post_max_size = 8M/post_max_size = 20M/' $PHP_INI
  sudo sed -i '' -e 's/mysqli.default_socket =/mysqli.default_socket =\/tmp\/mysql.sock/' $PHP_INI
fi<commit_msg>Fixed: PHP prefs when PHP is no installed<commit_after>#!/usr/bin/env zsh

if [ "$PHP_INI" != "" ]
then
  echo_title "Configuring PHP"
  sudo sed -i '' -e 's/display_errors = Off/display_errors = On/' $PHP_INI
  sudo sed -i '' -e 's/display_startup_errors = Off/display_errors = On/' $PHP_INI
  sudo sed -i '' -e 's/upload_max_filesize = 2M/upload_max_filesize = 20M/' $PHP_INI
  sudo sed -i '' -e 's/post_max_size = 8M/post_max_size = 20M/' $PHP_INI
  sudo sed -i '' -e 's/mysqli.default_socket =/mysqli.default_socket =\/tmp\/mysql.sock/' $PHP_INI
fi
{'fraction_non_alphanumeric': 0.15921787709497207, 'fraction_numerical': 0.0111731843575419, 'mean_word_length': 3.594017094017094, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5964475', 'n_tokens_mistral': 469, 'n_tokens_neox': 444, 'n_words': 104}