Ask Your Question
0

php-simplexml

asked 2018-11-22 06:34:09 -0500

bionan2017 gravatar image

Hello When trying to install a template in joomla I get the error:

Call to undefined function Joomla \ CMS \ Language \ simplexml_load_file (): Call to undefined function simplexml_load_file ()

Tit seems that the solution goes through the installation of the module php simplexml

However I can not find this module in the usual repositories.

Someone can help me? Thank you

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-11-22 09:08:11 -0500

remi gravatar image

updated 2018-11-22 09:10:45 -0500

As for all extensions, if you need "foo" extension, dnf install php-foo will work

# dnf install php-simplexml
Package php-xml-7.2.12-1.fc29.x86_64 is already installed.

And to check installed extensions, use --modules options

# php --modules
[PHP Modules]
...
simplexml
...

Or ask for its reflection

# php --ri simplexml

SimpleXML

Simplexml support => enabled
Revision => $Id: 341daed0ee94ea8f728bfd0ba4626e6ed365c0d1 $
Schema support => enabled
edit flag offensive delete link more

Comments

Thank you!

bionan2017 gravatar imagebionan2017 ( 2018-11-22 17:23:47 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2018-11-22 06:34:09 -0500

Seen: 240 times

Last updated: Nov 22 '18