<commit_before>#!/bin/bash

apt-get -y update

#no password prompt while installing neo4j server
export DEBIAN_FRONTEND=noninteractive

#install php apache
apt-get -y install apache2 php5 libapache2-mod-php5

cd /var/www/html
#install composer
#curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer

#php test file
cat > /var/www/html/info.php <<EOF
<?php
phpinfo();
?>
EOF

#neo4j code test 
#creating the composer.json file which uses the neoclient
cat > /var/www/html/composer.json <<EOF
{
  "require": {<commit_msg>uncommented the composer installation and the php component installation<commit_after>#!/bin/bash

apt-get -y update

#no password prompt while installing neo4j server
export DEBIAN_FRONTEND=noninteractive

#install php apache
apt-get -y install apache2

cd /var/www/html
#install composer
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer

apt-get -y install libapache2-mod-php5

#php test file
cat > /var/www/html/info.php <<EOF
<?php
phpinfo();
?>
EOF

#neo4j code test 
#creating the composer.json file which uses the neoclient
cat > /var/www/html/composer.json <<EOF
{
  "require": {
{'fraction_non_alphanumeric': 0.11934156378600823, 'fraction_numerical': 0.00905349794238683, 'mean_word_length': 4.241379310344827, 'pattern_counts': {'":': 2, '<': 13, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 6, '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': '109439', 'n_tokens_mistral': 440, 'n_tokens_neox': 413, 'n_words': 124}