Enabling sqlite php extension.
Posted by: Bdgold (---.nycmny.fios.verizon.net)
Date: September 18, 2016 11:24PM

I disabled the sqlite extension for testing when I re-enabled the extension the WAMP tray error icon is still appearing.

Sorry,

The 'sqlite3.dll' extension file exists but there is no 'extension=sqlite3.dll' line in php.ini.

Switch cancelled

Press ENTER to continue...

Options: ReplyQuote
Re: Enabling sqlite php extension.
Posted by: RiggsFolly (Moderator)
Date: September 19, 2016 01:03AM

Hi

Please can you answer these questions so we know what versions you are using [forum.wampserver.com]

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Enabling sqlite php extension.
Posted by: Bdgold (---.nycmny.fios.verizon.net)
Date: September 19, 2016 01:33PM

Sorry! I should have remembered.

Windows 7, WAMP 3.0.6, PHP 7.0.11

Basically when you use the tray icon to go to the PHP extensions sqlite still shows up under no extensions.

Options: ReplyQuote
Re: Enabling sqlite php extension.
Posted by: Otomatic (Moderator)
Date: September 19, 2016 02:02PM

Hi,

With Wampserver 3.0.6 with PHP 7.0.11, there is sqlite3 extension.


You wrote :
> I disabled the sqlite extension for testing
How did you ?

> The 'sqlite3.dll' extension file exists but there is no 'extension=sqlite3.dll' line in php.ini.
This means that the following line:
extension=php_sqlite3.dll
or
;extension=php_sqlite3.dll
does not exist in php.ini.
As it was in the original file, that would mean that you deleted for your tests but you have not then rewritten.
extension=php_soap.dll
extension=php_sockets.dll
extension=php_sqlite3.dll
;extension=php_sysvshm.dll
;extension=php_tidy.dll
extension=php_xmlrpc.dll
extension=php_xsl.dll

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Enabling sqlite php extension.
Posted by: Bdgold (---.nycmny.fios.verizon.net)
Date: September 19, 2016 07:10PM

I disabled it through the tray menu by clicking "php_sqlite3" and then re-enabled it the same way, in the tray menu there is no a section under the PH Extensions called "NO 'extension='" and it lists "sqlite3".

I did verify that it is actually enabled in the php.ini but it seems like WAMP is not picking it up.

I should also point out that the sqlite3 extension is checked in the tray menu.

I would attach an image but I cant seem to figure out how to.

Options: ReplyQuote
Re: Enabling sqlite php extension.
Posted by: RiggsFolly (Moderator)
Date: September 19, 2016 09:59PM

Try this:

right click wampmanager->refresh

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Enabling sqlite php extension.
Posted by: Bdgold (---.opera-mini.net)
Date: September 20, 2016 01:12PM

I think I might have figured out what the bug is.

I looked at the error again, it says "The 'sqlite3.dll' extension file exists but there is no 'extension=sqlite3.dll' line in php.ini.", note that its looking for extension=sqlite3.dll' line and not extension=php_sqlite3.dll' line.

I went ahead and added that line to the php.ini and the error is gone, remove the line and the error returns.

What is interesting is that this only happens with php version 7.0.11 and not 7.0.10

@RiggsFolly I did try refresh.

Options: ReplyQuote
Re: Enabling sqlite php extension.
Posted by: Otomatic (Moderator)
Date: September 20, 2016 03:30PM

Hi,

There is no bug !

> remove the line and the error returns.
It is not an error. You remove the line from original !

> What is interesting is that this only happens with php version 7.0.11 and not 7.0.10
NO. If you remove the line it happens also for PHP 7.0.10.
The files phpForApache.ini are the same betweeen PHP 7.0.10 and 7.0.11
The three differences are the PHP version number in paths.

In the two cases - PHP 7.0.10 and PHP 7.0.11 - if you remove the line the information message is the same and speaks about php_sqlite3.dll and NOT sqlite3.dll


---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Enabling sqlite php extension.
Posted by: Bdgold (---.nycmny.fios.verizon.net)
Date: September 20, 2016 08:17PM

Again, by me the error read
"The 'sqlite3.dll' extension file exists but there is no 'extension=sqlite3.dll' line in php.ini." and not
"The 'sqlite3.dll' extension file exists but there is no 'extension=php_sqlite3.dll' line in php.ini."

By you its looking for a line 'extension=php_sqlite3.dll' which is correct and which I have.

By me its looking for a line 'extension=sqlite3.dll' which is incorrect.

> The files phpForApache.ini are the same betweeen PHP 7.0.10 and 7.0.11

While the "symbolic link" is the same, the files are most definitely separate ones, the simple proof is that the settings change when switching between versions and there separate phpForApache.ini

Options: ReplyQuote


Sorry, only registered users may post in this forum.