0

I have some problem with ext-curl, ext-simplexml on Laravel ^7.4 I build a parser and it's perfectly working on native php7. But when I thy to parse by same code on Laravel it show error on these ext-curl, ext-simplexml packages.

Do some once know, should I install by using installer those packages on php7 if I have working code on php7 but not on Laravel? If not. What u suggestion?

P.S.

I found some solution to this problem: sudo apt-get install php-curl, but it's for os and linux. How can I do same on windows?

K.Igor
  • 143
  • 1
  • 2
  • 10
  • Have you enabled both extensions for `php-cli` and `php-fpm`? Sounds like you did for the former but not the latter. – Brian Lee Nov 24 '20 at 10:04
  • I see extensions curl and simplexml, which I need, in cmd. And just extension curl enabled on php.ini. Other extensions like: simplexml, php-cli, php-fpm I didn't see on php.ini. Perhaps I should install it? – K.Igor Nov 24 '20 at 10:41
  • Or maybe I must check in other place? – K.Igor Nov 24 '20 at 10:42
  • create a new php file, use ` `, then save it, then use your xampp server & load it, it will show all the extensions you have enabled in php.ini file, then uncomment (remove ; in front of extensions to enable them), see this answer for hints, [how to enable curl in windows](https://stackoverflow.com/questions/3020049/how-to-enable-curl-in-xampp) – bhucho Nov 24 '20 at 18:33

0 Answers0