Greg Altimas Open source technolgy. Linux Operating Systems.
Apache 2 not executing PHP files
In order to get PHP to function properly, you have to disable the mpm_event module and enable the mpm_prefork and php7 modules. To do this, go back to your terminal window and issue the command:
sudo a2dismod mpm_event && sudo a2enmod mpm_prefork && sudo a2enmod php7.0
Use perl to convert a tab delimited text file to php array format
Everything is self explanatory in the text files below.