PHP XML/DOM extension

Discussion of non-phpBB related topics with other phpBB.com users.
Forum rules
General Discussion is a bonus forum for discussion of non-phpBB related topics with other phpBB.com users. All site rules apply.
Post Reply
fanmail
Registered User
Posts: 306
Joined: Fri Mar 18, 2005 2:33 pm

PHP XML/DOM extension

Post by fanmail »

Hi everyone :)

I'm trying to install PHP XML/DOM extension.

Message board version: phpBB-3.2.4
PHP Version: PHP 7.3.0
CentOS 7

Code: Select all

PHP XML/DOM support
In order for phpBB to function correctly, the PHP XML/DOM extension needs to be available.
What command line can i use to install the PHP XML/DOM extension on my server please?

Thank you :mrgreen:
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: PHP XML/DOM extension

Post by 3Di »

PHP 7.3.0 is not fully supported by phpBB yet, firstly.
Then you should ask your host about such extension.
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
fanmail
Registered User
Posts: 306
Joined: Fri Mar 18, 2005 2:33 pm

Re: PHP XML/DOM extension

Post by fanmail »

What do you mean by not fully supported by phpBB yet?
What do you mean by ask your host about such extension? :geek:
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: PHP XML/DOM extension

Post by david63 »

fanmail wrote: Sun Dec 16, 2018 4:19 pm What do you mean by not fully supported by phpBB yet?
phpBB 3.2.4 does not work with PHP 7.3.0 is what he means.
fanmail wrote: Sun Dec 16, 2018 4:19 pm What do you mean by ask your host about such extension?
That is a server extension that your host, or you if it is your own server, will need to add.
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
fanmail
Registered User
Posts: 306
Joined: Fri Mar 18, 2005 2:33 pm

Re: PHP XML/DOM extension

Post by fanmail »

That is a server extension that your host, or you if it is your own server, will need to add.
That's the purpose of my thread :) I would like to know the command line i can use to install the PHP XML/DOM extension on my server :)
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: PHP XML/DOM extension

Post by 3Di »

yum install php-xml may be?
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26502
Joined: Fri Aug 29, 2008 9:49 am

Re: PHP XML/DOM extension

Post by Mick »

You really need to speak to whoever looks after your server, our knowledge of webserver setup is limited.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 52768
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: PHP XML/DOM extension

Post by stevemaury »

This is not a phpBB support question, but this may be helpful - https://www.hostwinds.com/guide/install ... -centos-7/

Also, if you have WHM, you can use EasyApache.
I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
fanmail
Registered User
Posts: 306
Joined: Fri Mar 18, 2005 2:33 pm

Re: PHP XML/DOM extension

Post by fanmail »

3Di wrote: Sun Dec 16, 2018 4:32 pm yum install php-xml may be?
I tried: yum search php-xml

Code: Select all

[root@SPU5-2-6-18 ~]# yum search php-xml
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: repos.mia.quadranet.com
 * epel: d2lzkl7pfhq30w.cloudfront.net
 * extras: repos.mia.quadranet.com
 * remi-php73: mirror.team-cymru.com
 * remi-safe: mirror.team-cymru.com
 * updates: repos.mia.quadranet.com
============================= N/S matched: php-xml =============================
php-xml.x86_64 : A module for PHP applications which use XML
php-xmlrpc.x86_64 : A module for PHP applications which use the XML-RPC protocol
php-xmlseclibs.noarch : PHP library for XML Security
php54-php-xml.x86_64 : A module for PHP applications which use XML
php54-php-xmlrpc.x86_64 : A module for PHP applications which use the XML-RPC
                        : protocol
php55-php-xml.x86_64 : A module for PHP applications which use XML
php55-php-xmlrpc.x86_64 : A module for PHP applications which use the XML-RPC
                        : protocol
php56-php-xml.x86_64 : A module for PHP applications which use XML
php56-php-xmlrpc.x86_64 : A module for PHP applications which use the XML-RPC
                        : protocol
php70-php-xml.x86_64 : A module for PHP applications which use XML
php70-php-xmlrpc.x86_64 : A module for PHP applications which use the XML-RPC
                        : protocol
php71-php-xml.x86_64 : A module for PHP applications which use XML
php71-php-xmlrpc.x86_64 : A module for PHP applications which use the XML-RPC
                        : protocol
php72-php-xml.x86_64 : A module for PHP applications which use XML
php72-php-xmlrpc.x86_64 : A module for PHP applications which use the XML-RPC
                        : protocol
php73-php-xml.x86_64 : A module for PHP applications which use XML
php73-php-xmlrpc.x86_64 : A module for PHP applications which use the XML-RPC
                        : protocol

  Name and summary matches only, use "search all" for everything.
Then: sudo yum install -y php73-php-xml.x86_64 (my PHP version is 7.3) :geek:

and restarted the server: apachectl restart

When i try to install the phpbb message board i still get:
PHP XML/DOM support
In order for phpBB to function correctly, the PHP XML/DOM extension needs to be available.
:lol:
User avatar
Lumpy Burgertushie
Registered User
Posts: 69223
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: PHP XML/DOM extension

Post by Lumpy Burgertushie »

and still, this is not the place to ask for help with server setup issues. this is not about phpbb, has nothing to do with phpbb. try a site that deals with apache and /or php etc.

most hosting for websites already has this setup properly apparently so we would not see this error normally.

luck,
robert
Last edited by Lumpy Burgertushie on Sun Dec 16, 2018 5:09 pm, edited 1 time in total.
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
User avatar
canonknipser
Registered User
Posts: 2096
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: PHP XML/DOM extension

Post by canonknipser »

did you include it in your php.ini? -> see comments here: http://php.net/manual/en/dom.setup.php
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB
fanmail
Registered User
Posts: 306
Joined: Fri Mar 18, 2005 2:33 pm

Re: PHP XML/DOM extension

Post by fanmail »

canonknipser wrote: Sun Dec 16, 2018 5:08 pm did you include it in your php.ini? -> see comments here: http://php.net/manual/en/dom.setup.php
I have added "extension=dom.so" to the PHP.ini but it does not work :|

In my PHP.ini file:
extension_dir = "/usr/lib64/php/modules"
and my files are here: "/opt/remi/php73/root/usr/lib64/php/modules/"

:arrow: https://centos.pkgs.org/7/remi-x86_64/p ... 4.rpm.html
User avatar
warmweer
Jr. Extension Validator
Posts: 11234
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: PHP XML/DOM extension

Post by warmweer »

fanmail wrote: Sun Dec 16, 2018 6:13 pm ...
and my files are here: "/opt/remi/php73/root/usr/lib64/php/modules/"

:arrow: https://centos.pkgs.org/7/remi-x86_64/p ... 4.rpm.html
Still seeing php7.3??

Have you tried with a lower php-version?
jjndig
Registered User
Posts: 8
Joined: Tue Dec 18, 2018 11:31 am
Location: England

Re: PHP XML/DOM extension

Post by jjndig »

Don't use php-xml, use php7.2-xml and then configure your web server to use php 7.2 instead of 7.3 (or get rid of php7.3 since most things aren't ready yet as it's a very new release) and it should work. Since I don't use CentOS (I use Debian) this is what I have to do, I'd assume it's the same or similar procedure (you might need to add the repositories in manually, and from a quick google search you do - and you'll have to use php72 rather than php7.2 like on Debian).

https://www.rosehosting.com/blog/how-to ... -centos-7/
Post Reply

Return to “General Discussion”