TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   General (http://www.talkphp.com/general/)
-   -   What PHP Extensions are on your server? (http://www.talkphp.com/general/1403-what-php-extensions-your-server.html)

Nor 11-07-2007 01:03 PM

What PHP Extensions are on your server?
 
Quote:

PHP Extensions Installed(PHP 5.2.3):
xmlwriter
libxml
dom
xmlreader
xml
tokenizer
session
pcre
SimpleXML
SPL
PDO
sockets
SQLite
standard
Reflection
posix
pdo_sqlite
mysqli
mysql
json
imap
iconv
hash
gd
ftp
filter
date
curl
ctype
calendar
bcmath
zlib
cgi
ionCube Loader
Zend Optimizer
Home Server:
Quote:

PHP Extensions Installed:
bcmath
calendar
com_dotnet
ctype
session
filter
ftp
hash
iconv
json
odbc
pcre
Reflection
date
libxml
standard
tokenizer
zlib
SimpleXML
dom
SPL
wddx
xml
xmlreader
xmlwriter
apache2handler
gd
gettext
imap
mbstring
exif
mime_magic
ming
mssql
mysql
mysqli
pdf
PDO
pdo_mssql
pdo_mysql
pgsql
soap
sockets
SQLite
xmlrpc
xsl
zip
Zend Optimizer
Doesn't look like zip is there :(, I thought zip came standard with PHP 5.2.0+

upload this to yah server:
PHP Code:

<?php
echo "PHP Extensions Installed:<br />";
foreach(
get_loaded_extensions() as $extension)
{
    echo 
$extension "<br />\n";
}
?>


bluesaga 11-07-2007 01:08 PM

Remember, extensions can be disabled at the administrators disposal!

my configuration installation command:
'./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-apxs2=/usr/sbin/apxs' '--without-mysql' '--without-gd' '--without-odbc' '--disable-dom'
'--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter'

Wildhoney 11-07-2007 01:10 PM

Zip isn't installed on mine so I'm guessing it's not enabled by default.

Server we use for live websites:

Quote:

PHP Extensions Installed:
libxml
xml
wddx
tokenizer
sysvshm
sysvsem
sysvmsg
standard
SimpleXML
sockets
SPL
shmop
session
Reflection
pspell
posix
mime_magic
iconv
hash
gmp
gettext
ftp
exif
date
curl
ctype
calendar
bz2
zlib
pcre
openssl
apache2handler
magickwand
dom
gd
mbstring
mysql
mysqli
PDO
pdo_mysql
pdo_sqlite
xmlreader
xmlrpc
xmlwriter
xsl
eAccelerator
Development server (though really we don't need all these):

Quote:

PHP Extensions Installed:
bcmath
calendar
com_dotnet
ctype
session
filter
ftp
hash
iconv
json
odbc
pcre
Reflection
date
libxml
standard
tokenizer
zlib
SimpleXML
dom
SPL
wddx
xml
xmlreader
xmlwriter
apache2handler
mbstring
exif
id3
mcrypt
xmlrpc
curl
gd
mysql
mysqli
PDO
pdo_sqlite
SQLite

Karl 11-07-2007 01:11 PM

I generally enable/disable them as I need to. Here's my current setup (In all honesty, this is pretty much basic with one or two exceptions):

Code:

PHP Extensions Installed:
bcmath
calendar
com_dotnet
ctype
session
filter
ftp
hash
iconv
json
odbc
pcre
Reflection
date
libxml
standard
tokenizer
zlib
SimpleXML
dom
SPL
wddx
xml
xmlreader
xmlwriter
curl
mysql
mysqli
PDO
pgsql
soap
SQLite
Zend Debugger


Nor 11-07-2007 01:14 PM

There seems like theres a lot of Database extensions now a days.

Quote:

pcre
PDO
pdo_sqlite
mysqli
mysql
SQLite
Quote:

Remember, extensions can be disabled at the administrators disposal!
durr :P

Andrew 11-07-2007 10:24 PM

This my local server, as I'm too lazy to check my hosting server for extensions. :) I'm not sure what most of them do, anyway.
Code:

PHP Extensions Installed:
bcmath
calendar
com_dotnet
ctype
session
filter
ftp
hash
iconv
json
odbc
pcre
Reflection
date
libxml
standard
tokenizer
zlib
SimpleXML
dom
SPL
wddx
xml
xmlreader
xmlwriter
apache2handler
gd
gettext
imap
mbstring
exif
mime_magic
ming
mssql
mysql
mysqli
openssl
pdf
PDO
pdo_mssql
pdo_mysql
pgsql
soap
sockets
SQLite
svn
xmlrpc
xsl
zip
Zend Optimizer


Nor 11-08-2007 03:54 AM

Quote:

Originally Posted by Andrew (Post 3790)
This my local server, as I'm too lazy to check my hosting server for extensions. :) I'm not sure what most of them do, anyway.
Code:

PHP Extensions Installed:
***REMOVED***



got a feeling your using XAMPP?

prabhurangan 03-17-2009 12:45 PM

@BLUESAGA

I am using FC10, in that php5.2.6 has been installed. But i found XMLReader to be disabled. But i tried to execute this command './configure --enable-xmlreader' from command line.

But it is throwing some error, like No such file or directory found.

Please share your thoughts in this.

Regards,
Prabhu

prabhurangan 03-17-2009 12:45 PM

@BLUESAGA

I am using FC10, in that php5.2.6 has been installed. But i found XMLReader to be disabled. But i tried to execute this command './configure --enable-xmlreader' from command line.

But it is throwing some error, like No such file or directory found.

However i need to enable both xmlreader and xmlwriter.

Please share your thoughts in this.

Regards,
Prabhu


All times are GMT. The time now is 02:52 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0