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
| <?php | |
| /** | |
| * Gera a paginação dos itens de um array ou collection. | |
| * | |
| * @param array|Collection $items | |
| * @param int $perPage | |
| * @param int $page | |
| * @param array $options | |
| * | |
| * @return LengthAwarePaginator |
title: Setting Up Laravel in Ubuntu / DigitalOcean keywords: servers, laravel, coderstape, coder's tape description: Let's take a look at settting up a server from scratch for Laravel. date: April 1, 2019 tags: servers, laravel permalink: setting-up-laravel-in-ubuntu-digitalocean img: https://coderstape.com/storage/uploads/GZTXUbyGum2xeUZM9qBD5aPv8EKLwG3C8RGcRon4.jpeg author: Victor Gonzalez authorlink: https://github.com/vicgonvt
| # If "Disk Utility" can't erase a demaged disk and throw errors, like these: | |
| # a) "-69888: Couldn't unmount disk"; | |
| # b) "Couldn't modify partition map". | |
| # You can repair disk (if it is damaged partially, just by a program error, while changing partition map of a disk in) by | |
| # FULL ERASING OF A DISK - you can do that ONLY in A COMMAND LINE, using "diskutil" command (on OS X) | |
| # 1. Firstly you must get path of a drive in a system, like this: | |
| diskutil list | |
| # Than complete erasing of a disk: | |
| diskutil eraseDisk free EMPTY /dev/disk4 |