php - Can't install PDO_SQLITE? Later version -
i trying pdo_sqlite extension because have read sqlite database. know miss module because error message "could not find driver".
but when try install through "sudo apt-get install php5-sqlite" says have later version of , cannot install it.
anyone know how can go around problem? tried aptitude , had 1 option not install it.
this due sort of problem dependencies or weird third party repository.
while i've never had issue myself, doing little bit of research shows might work.
$ apt-get --purge remove php* $ sudo apt-get install php5 php5-sqlite php5-mysql $ sudo apt-get install php-pear php-apc php5-curl $ sudo apt-get autoremove
you'll of course want backup special configurations you've put in place , keep note of php 'plugins' need have installed before doing this.
you can try instead of purging of has php, doing sqlite
$ sudo apt-get --purge remove sqlite3 $ sudo apt-get --purge remove php5-sqlite
and trying install them @ point.
i state personally, try use apt-get
little possible. tend use aptitude
seems have better dependency management. if want give go can install by: sudo apt-get install aptitude
. accepts apt-get commands, , if type aptitude
console has nifty console interface.
Comments
Post a Comment