TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 11-07-2007, 01:03 PM   #1 (permalink)
Nor
The Addict
 
Join Date: Nov 2007
Posts: 282
Thanks: 61
Nor is on a distinguished road
Default 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";
}
?>
Nor is offline  
Reply With Quote
Old 11-07-2007, 01:08 PM   #2 (permalink)
Super Moderator
Advanced Programmer 
 
bluesaga's Avatar
 
Join Date: Sep 2007
Posts: 165
Thanks: 0
bluesaga is on a distinguished road
Default

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'
__________________
Halo 3 Cheats
bluesaga is offline  
Reply With Quote
Old 11-07-2007, 01:10 PM   #3 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

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
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
Old 11-07-2007, 01:11 PM   #4 (permalink)
The Reckoner
Advanced Programmer Top Contributor 
 
Karl's Avatar
 
Join Date: Sep 2007
Posts: 437
Thanks: 22
Karl is on a distinguished road
Default

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
__________________
Any fool can write code that a computer can understand. Good programmers write code that humans can understand.
Karl is offline  
Reply With Quote
Old 11-07-2007, 01:14 PM   #5 (permalink)
Nor
The Addict
 
Join Date: Nov 2007
Posts: 282
Thanks: 61
Nor is on a distinguished road
Default

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
Nor is offline  
Reply With Quote
Old 11-07-2007, 10:24 PM   #6 (permalink)
The Acquainted
 
Join Date: Sep 2007
Location: Arizona
Posts: 114
Thanks: 10
Andrew is on a distinguished road
Default

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
Send a message via AIM to Andrew Send a message via MSN to Andrew
Andrew is offline  
Reply With Quote
Old 11-08-2007, 03:54 AM   #7 (permalink)
Nor
The Addict
 
Join Date: Nov 2007
Posts: 282
Thanks: 61
Nor is on a distinguished road
Default

Quote:
Originally Posted by Andrew View Post
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?
Nor is offline  
Reply With Quote
Old 03-17-2009, 12:45 PM   #8 (permalink)
The Visitor
 
Join Date: Mar 2009
Posts: 2
Thanks: 0
prabhurangan is on a distinguished road
Default

@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 is offline  
Reply With Quote
Old 03-17-2009, 12:45 PM   #9 (permalink)
The Visitor
 
Join Date: Mar 2009
Posts: 2
Thanks: 0
prabhurangan is on a distinguished road
Default

@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
prabhurangan is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 03:01 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design