First, Lets find out what version of PHP we're running (To find out if it's the default version).
To do that, Within the terminal, Fire this command:
which php
| ### RUN | |
| apt install --no-install-recommends sendmail-bin mailutils | |
| mkdir -m 700 /etc/mail/authinfo | |
| ### --- START | |
| vim /etc/mail/authinfo/gmail-smtp-auth | |
| ## add this to file | |
| AuthInfo: "U:root" "I:USER@gmail.com" "P:GMAIL_USER_PASSWORD" | 
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteBase / | |
| RewriteRule ^index\.html$ - [L] | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteCond %{REQUEST_FILENAME} !-l | |
| RewriteRule . /index.html [L] | 
| <?php | |
| require_once('attachment.class.php'); | |
| /** | |
| * Fast Mime Mail parser Class using PHP's MailParse Extension | |
| * @author gabe@fijiwebdesign.com | |
| * @url http://www.fijiwebdesign.com/ | |
| * @license http://creativecommons.org/licenses/by-sa/3.0/us/ | |
| * @version $Id$ | 
| import React, { useState, useRef, useEffect } from 'react'; | |
| import { CarouselButton, CarouselButtonDot, CarouselButtons, CarouselContainer, CarouselItem, CarouselItemImg, CarouselItemText, CarouselItemTitle, CarouselMobileScrollNode } from './TimeLineStyles'; | |
| import { Section, SectionDivider, SectionText, SectionTitle } from '../../styles/GlobalComponents'; | |
| import { TimeLineData } from '../../constants/constants'; | |
| const TOTAL_CAROUSEL_COUNT = TimeLineData.length; | |
| const Timeline = () => { | |
| const [activeItem, setActiveItem] = useState(0); |