GithubHelp home page GithubHelp logo

Comments (4)

Isaac009 avatar Isaac009 commented on July 17, 2024 1

I am using Ubuntu OS, version 20.04 LTS
PHP version: 7.4.3

To resolve the problem, I did the following;

  1. On Ubuntu, Debian, and related Linux distributions

sudo apt-get install php-intl

I obtained the above command from stackoverflow

To install the extension for the default PHP version.
For other versions, a variation like apt-get install php7.3-intl will choose the correct extension if the version provided is correct.

If you get this error;
The GD Graphics Library is for dynamically manipulating images. For Ubuntu, you should install it manually:

Do the following (I obtained the ;

  1. check your php version : php -v

  2. Run one of the commands according to your php version

PHP5: sudo apt-get install php5-gd
PHP7.0: sudo apt-get install php7.0-gd
PHP7.1: sudo apt-get install php7.1-gd
PHP7.2: sudo apt-get install php7.2-gd
PHP7.3: sudo apt-get install php7.3-gd
PHP7.4: sudo apt-get install php7.4-gd

  1. That's all, you can verify that GD support loaded:
    php -i | grep -i gd

Output should be like this:

GD Support => enabled
GD headers Version => 2.1.1-dev
gd.jpeg_ignore_warning => 0 => 0

  1. Restart your apache service :
    sudo service apache2 restart

4 steps above were obtained from Grepper

Hope this will help you.
Enjoy coding.

from laravel-invoices.

PovilasKorop avatar PovilasKorop commented on July 17, 2024

@sprinbleDev https://stackoverflow.com/questions/30554177/fatal-error-class-numberformatter-not-found

from laravel-invoices.

josegus avatar josegus commented on July 17, 2024

this is not right, sometimes we use shared hosting with no access to modify php.ini

from laravel-invoices.

PovilasKorop avatar PovilasKorop commented on July 17, 2024

@josegus I personally don't recommend anyone to use shared hosting for Laravel projects, cause you will run into a lot of limitations like this

from laravel-invoices.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.