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: 234
Joined: Fri Mar 18, 2005 2:33 pm

PHP XML/DOM extension

Post by fanmail » Sun Dec 16, 2018 3:27 pm

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
Former Team Member
Posts: 14061
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: PHP XML/DOM extension

Post by 3Di » Sun Dec 16, 2018 3:33 pm

PHP 7.3.0 is not fully supported by phpBB yet, firstly.
Then you should ask your host about such extension.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

fanmail
Registered User
Posts: 234
Joined: Fri Mar 18, 2005 2:33 pm

Re: PHP XML/DOM extension

Post by fanmail » Sun Dec 16, 2018 4:19 pm

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: 16404
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: PHP XML/DOM extension

Post by david63 » Sun Dec 16, 2018 4:24 pm

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!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

fanmail
Registered User
Posts: 234
Joined: Fri Mar 18, 2005 2:33 pm

Re: PHP XML/DOM extension

Post by fanmail » Sun Dec 16, 2018 4:28 pm

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
Former Team Member
Posts: 14061
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: PHP XML/DOM extension

Post by 3Di » Sun Dec 16, 2018 4:32 pm

yum install php-xml may be?
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

User avatar
Mick
Support Team Member
Support Team Member
Posts: 21435
Joined: Fri Aug 29, 2008 9:49 am
Location: Not watching cricket

Re: PHP XML/DOM extension

Post by Mick » Sun Dec 16, 2018 4:34 pm

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

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50665
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: PHP XML/DOM extension

Post by stevemaury » Sun Dec 16, 2018 4:37 pm

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.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

fanmail
Registered User
Posts: 234
Joined: Fri Mar 18, 2005 2:33 pm

Re: PHP XML/DOM extension

Post by fanmail » Sun Dec 16, 2018 4:56 pm

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: 66564
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: PHP XML/DOM extension

Post by Lumpy Burgertushie » Sun Dec 16, 2018 5:07 pm

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.
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

User avatar
canonknipser
Registered User
Posts: 2063
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: PHP XML/DOM extension

Post by canonknipser » 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
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: 234
Joined: Fri Mar 18, 2005 2:33 pm

Re: PHP XML/DOM extension

Post by fanmail » Sun Dec 16, 2018 6:13 pm

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
Registered User
Posts: 2635
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: PHP XML/DOM extension

Post by warmweer » Mon Dec 17, 2018 11:10 am

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 » Tue Dec 18, 2018 3:06 pm

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”