W
W
wolverine7772019-06-16 19:00:22
linux
wolverine777, 2019-06-16 19:00:22

How to install HTML DOM Parser on Linux?

Hello, on YouTube on the issue of web scraping, heaps of instructions jump out
https://www.youtube.com/results?search_query=simpl...
They all say that you must first download the simplehtmldom library, put the simple_html_dom.php file in the .php folder the file you are working with and refer to it at the very beginning include("simple_html_dom");
Well, if we are talking about working in Linux?
I found some command sudo apt-get install php-xml
Checked that dom extension is installed.
But is it true? Since after installing the library, there is no simple_html_dom.php next to my index.php.
Maybe everything should be done wrong from the very beginning?
Thank you!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question