doublezer0 Posted March 27, 2009 Share Posted March 27, 2009 Hey guys, I just joined this forum and this is my first post, so please be gentle My Web server is PHP Version 5.1.6. I am using the XMLReader class in one of my scripts and it does not work. When I use it on my localhost it works perfectly. I checked the phpinfo() on the webserver and it says that xmlreader is enabled. But in my configure command it has this: './configure' '--build=i686-redhat-linux-gnu' '--host=i686-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-expat-dir=/usr' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-kerberos' '--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--with-mime-magic=/etc/httpd/conf/magic' '--without-sqlite' '--with-libxml-dir=/usr' '--with-xml' '--with-system-tzdata' '--with-apxs2=/usr/sbin/apxs' '--without-mysql' '--without-gd' '--without-odbc' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter' It has disable-xmlreader on there... So my question is, how come it says xmlreader is enabled and then in the configure command it shows disable-xmlreader. Also, if this is the problem, how do i get it enabled so that I can use my script? Thank you all ! [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/151438-xmlreader-class/ Share on other sites More sharing options...
ober Posted March 27, 2009 Share Posted March 27, 2009 If it is disabled, you'll have to contact your host to see if they will enable it. Quote Link to comment https://forums.phpfreaks.com/topic/151438-xmlreader-class/#findComment-795493 Share on other sites More sharing options...
doublezer0 Posted March 27, 2009 Author Share Posted March 27, 2009 it's actually on a private server where i have access to all the configurations. How do i enable it? would it be through the php.ini file? Quote Link to comment https://forums.phpfreaks.com/topic/151438-xmlreader-class/#findComment-795501 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.