Which .so is needed?

semprot

Well-Known Member
#1
I run mostly vbulletin. And these .so are loaded

extension = "pdo.so"
extension = "pdo_sqlite.so"
extension = "sqlite.so"
extension = "pdo_mysql.so"
extension="apc.so"
extension="timezonedb.so"
extension = "memcache.so"

I use APC.
I am not sure about timezonedb.so, what is it?
About memcache.so, i plan to remove it.
About the rest (pdo, pdo_sqlite, sqlite), i am not sure what is it.
pdo_mysql.so, i think it is for normal mysql code, so i need it.

Thank you.
 

NiteWave

Administrator
#2
>I am not sure about timezonedb.so, what is it?
http://pecl.php.net/package/timezonedb
"This extension is a drop-in replacement for the builtin timezone database that
comes with PHP. You should only install this extension in case you need to get
a later version of the timezone database than the one that ships with PHP."

I think ok to remove it.

>About the rest (pdo, pdo_sqlite, sqlite), i am not sure what is it.
you can comment out pdo_sqlite.so, sqlite.so temporarily to see if any problem within 24 hours.

for pdo.so, pdo_mysql.so, if it's php 5.3.x or above, can use
--with-pdo-mysql=mysqlnd,
can remove pdo.so and pdo_mysql.so too
 

semprot

Well-Known Member
#3
>I am not sure about timezonedb.so, what is it?
http://pecl.php.net/package/timezonedb
"This extension is a drop-in replacement for the builtin timezone database that
comes with PHP. You should only install this extension in case you need to get
a later version of the timezone database than the one that ships with PHP."

I think ok to remove it.

>About the rest (pdo, pdo_sqlite, sqlite), i am not sure what is it.
you can comment out pdo_sqlite.so, sqlite.so temporarily to see if any problem within 24 hours.

for pdo.so, pdo_mysql.so, if it's php 5.3.x or above, can use
--with-pdo-mysql=mysqlnd,
can remove pdo.so and pdo_mysql.so too
Is the correct way to remove the .so is just commenting the line from php.ini & restart the web server?

Thank you.
 

NiteWave

Administrator
#4
yes.

if lsphp run in suExec mode(not include suExec Daemon mode), just comment out the .so line in php.ini, is ok, even no need restart web server, since no consistent lsphp process running.
 
Top