PDA

View Full Version : What PHP extensions do vB 3.6.8 require?



Elsindel
Wed 13th Feb '08, 12:44pm
Hi!

I'm installing my brand new 3.6.8 vBulletin. When running /install/install.php script, i get this error:

"vBulletin 3.6.8 requires that the XML functions in PHP be available. Please ask your host to enable this."

Question: What other PHP extensions are needed?

I need the list of extensions to recompile/reconfigure PHP once, not do it piece by piece by the hosting company. I didn't find any mention of this neither in the docs, nor in the forums.

Thanks -
Els

Wayne Luke
Wed 13th Feb '08, 2:27pm
The only extension that is required is either mysql or mysqli. XML is a default feature of later versions of PHP. Your host would have to compile and make sure that --without-xml is not part of the configuration string.

Here is the configuration command that we use for PHP 5+ and Apache 2.2.X:


./configure \
--prefix=/usr/local/php \
--with-config-file-path=/usr/local/php \
--with-mysql=/usr \
--with-mysqli=/usr/bin/mysql_config \
--with-exif-dir=/usr \
--with-jpeg-dir=/usr \
--with-tiff-dir=/usr \
--with-png-dir=/usr \
--with-freetype-dir=/usr \
--with-ttf=/usr \
--with-openssl \
--with-zlib \
--with-gd \
--with-iconv \
--with-ldap \
--enable-ftp \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-rpath \
--enable-bcmath \
--enable-memory-limit \
--with-apxs2=/usr/local/apache/bin/apxs


You might not need all of that but it should give you a good starting point.

Elsindel
Wed 13th Feb '08, 3:43pm
Thanks. I'm already running the forum. Installing XML solved the problem. It was just not compiled into PHP initially.