How to Install PHP module without running Easyapache on cPanel

Posted: 4p in cPanel

How to Install PHP module without running Easyapache on cPanel

Login the server
Go to path /home/cpeasyapache/src/php-5.x/ext/sqlite

Here I am trying to enable sqlite

# phpize (this will create ./configure command )
# ./configure
# make
# make install

You can find the extension dir path and you need to enter the extension dir path in php.ini as follows :

# ll usr/local/lib/php/extensions/no-debug-non-zts-20060613/
extension=sqlite.so

NOTE : You can enable the module if it is available in /home/cpeasyapache/src/php-5.x.x/ext/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s