HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   recompile php? i need --with-sqlite=shared' '--with-pdo-sqlite=shared' (http://www.howtoforge.com/forums/showthread.php?t=54593)

vwpete 21st October 2011 04:43

recompile php? i need --with-sqlite=shared' '--with-pdo-sqlite=shared'
 
Hello

I have a ispconfig 3 on Ubuntu 10.04, i followed the http://www.howtoforge.com/perfect-se...nx-ispconfig-3 install

I have a few joomla websites working fine, I have gone to install the joomla 1.7 and use a rocketheme which needs the following specs:

PHP support for the SQLite PDO driver
PHP support for the MySQL PDO driver
MySQL with InnoDB support
PHP support for PDO
PHP support for GD2
PHP 5.2.8 and above

I am getting error "The PHP Sqlite PDO driver is needed but not installed."

i am told i need php configured with:
--with-sqlite=shared' '--with-pdo-sqlite=shared'

so i have looked into this and i see ispconfig compiles its own php, so how do i go about adding the above?

cheers

Pete

till 21st October 2011 09:17

The php used on your server is not manually compiled, if you want to use sqlite, then just install the php5-sqlite package from ubuntu.

apt-get install php5-sqlite
/etc/init.d/apache2 restart

vwpete 22nd October 2011 01:12

correct and thanx
 
yes 100% correct thanks very much that worked. i am confused and clearly out of date so i don't need to recompile php anymore. brilliant!!!


All times are GMT +2. The time now is 12:40.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.