Re: Can't open SQLite DB... but only when using mod_php??

From: Date: Thu, 04 Oct 2007 09:02:04 +0000
Subject: Re: Can't open SQLite DB... but only when using mod_php??
References: 1 2 3 4 5  Groups: php.db 
Request: Send a blank email to php-db+get-44142@lists.php.net to get a copy of this message
Am Mittwoch, den 03.10.2007, 20:25 +0300 schrieb Thodoris: > I came up with this try to edit your php.ini and in case you use > pdo_sqlite extension then change the order of the loaded modules to > this: > > extension=pdo.so > extension=pdo_sqlite.so > extension=sqlite.so Still no change - and the CLI version of PHP was configured in the same order as the mod_php version anyway, so there wouldn't be a difference. > You could also define the full path of the extensions like this: > > extension_dir="/usr/local/include/php/ext/pdo/" Actually, the full path seems to be some kind of hardcoded into the build (at least that's the case with the Debian package of PHP I'm currently working with), so no point in repeating that in the php.ini. CU Markus -- Mit freundlichen Grüßen Markus Wolff Development NorthClick GmbH Gasstr. 10 - 22761 Hamburg Tel.: 040 8 22 44 999 - Fax: 040 8 22 44 998 Internet: http://www.northclick.de/ Geschäftsführer: F. Detzner | M. Henze | C. Springub Amtsgericht Hamburg, HRB 94459

« previous php.db (#44142) next »