Comments (4)
I am using Ubuntu OS, version 20.04 LTS
PHP version: 7.4.3
To resolve the problem, I did the following;
- 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 ;
-
check your php version :
php -v
-
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
- 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
- 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.
@sprinbleDev https://stackoverflow.com/questions/30554177/fatal-error-class-numberformatter-not-found
from laravel-invoices.
this is not right, sometimes we use shared hosting with no access to modify php.ini
from laravel-invoices.
@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)
- Typo in German translation
- Multiple Tax HOT 1
- Products number and serial number HOT 1
- Arabic Character issue HOT 1
- Malformed UTF-8 characters, possibly incorrectly encoded HOT 2
- How to add additional amount besides total taxes and total discount and auto-calculate it to the totals? HOT 1
- path to translations is incorrect HOT 1
- How to get the invoice number without saving the file to disk or outputting to browser HOT 2
- to be able to change the view file on the fly without it having to be fixed for populating credit notes
- file_exists(): open_basedir restriction in effect HOT 10
- php unit test keep receiving error: Invoice: unable to set tax twice HOT 1
- pdf file size HOT 3
- Can I add a Class for Salary Invoice type ? HOT 1
- Invocies without due date HOT 1
- Precalculation HOT 3
- Add inclusive tax option
- Add option to use Puppeteer with Browsershot as a PDF render engine
- Translate Carbon Date Format HOT 1
- Filament: Malformed UTF-8 characters, possibly incorrectly encoded HOT 2
- Unable to stream the pdf
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-invoices.