<commit_before>#!/bin/sh

# Install Nginx and PHP from dotdeb

apt-get install -y \
    nginx-full \
    php5-fpm \
    php5-cli \
    php5-mysqlnd \
    php5-curl \
    php5-mcrypt \
    php5-imagick \
    php5-xdebug \
    php5-intl \
    php5-mongo

# Stop services
service php5-fpm stop
service nginx stop

# Copy conf files
cp /tmp/php-cli.ini /etc/php5/cli/php.ini
cp /tmp/php-fpm.ini /etc/php5/fpm/php.ini
cp /tmp/nginx-default /etc/nginx/sites-available/default

# Start services
service php5-fpm start

<commit_msg>Change php-cli/fpm order for avoid potential problem with socket<commit_after>#!/bin/sh

# Install Nginx and PHP from dotdeb

apt-get install -y \
    nginx-full \
    php5-cli \
    php5-fpm \
    php5-mysqlnd \
    php5-curl \
    php5-mcrypt \
    php5-imagick \
    php5-xdebug \
    php5-intl \
    php5-mongo

# Stop services
service php5-fpm stop
service nginx stop

# Copy conf files
cp /tmp/php-cli.ini /etc/php5/cli/php.ini
cp /tmp/php-fpm.ini /etc/php5/fpm/php.ini
cp /tmp/nginx-default /etc/nginx/sites-available/default

# Start services
service php5-fpm start
service nginx start


{'fraction_non_alphanumeric': 0.11081322609472744, 'fraction_numerical': 0.02323503127792672, 'mean_word_length': 2.4146341463414633, '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': '1534674', 'n_tokens_mistral': 481, 'n_tokens_neox': 441, 'n_words': 101}