Results 1 to 3 of 3

Thread: How to enable sqlite for php apache

  1. #1
    Junior Member
    Join Date
    Dec 2014
    Posts
    5

    How to enable sqlite for php apache

    Hello,

    when i try to install php-sqltie i get the following error. I have donloaded and installed the knoppix dvd to a flash drive and every thing is working as expected except a minor glitch i can't run php-sqlite on the apace server when i tried to install it i get the following error:

    apt-get install php5-sqlite
    Code:
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies:
     php5-sqlite : Depends: phpapi-20100525+lfs
                   Depends: php5-common (= 5.4.35-0+deb7u2) but 5.6.4+dfsg-1 is to be installed
    E: Unable to correct problems, you have held broken packages.
    i even tried updating through synaptic but it isn't working out.
    Kindly help me out i am lost about what to do next.

    Thank you.

    CMG

  2. #2
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    Knoppix is a mix of stable, testing , unstable and Knoppix own scripts.

    You can use the 2nd suggestion of
    Code:
    su
    aptitude update
    aptitude -s install -t unstable php5-sqlite
    If you really want to install omit "-s" (simulate).

    I hope, you will not use apache server outside of your LAN.

  3. #3
    Junior Member
    Join Date
    Dec 2014
    Posts
    5
    Thank u,

    it works like a charm.

    I am using it for development purposes only and not as a production server.

    with best regards


    CMG

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Juniper QFX5100-48S-AFI 48x SFP+/SFP Ports 6x QSFP Ports Switch picture

Juniper QFX5100-48S-AFI 48x SFP+/SFP Ports 6x QSFP Ports Switch

$314.99



Juniper EX2200-C-12T-2G Gigabit Ethernet Managed Switch picture

Juniper EX2200-C-12T-2G Gigabit Ethernet Managed Switch

$59.99



Juniper QFX5200-32C-AFO QFX5200 32 port 100 Gigabit QSFP28 Switch picture

Juniper QFX5200-32C-AFO QFX5200 32 port 100 Gigabit QSFP28 Switch

$645.00



Juniper Networks EX-UM-4X4SFP EX4300 4 Port 1/10 Gigabit SFP+ Uplink Module picture

Juniper Networks EX-UM-4X4SFP EX4300 4 Port 1/10 Gigabit SFP+ Uplink Module

$39.00



Juniper EX2300-C-12P 12 Port PoE+ Rack Mountable Ethernet Switch picture

Juniper EX2300-C-12P 12 Port PoE+ Rack Mountable Ethernet Switch

$249.99



Juniper EX3400-48P 48-Port PoE+ 4x SFP+ 2x QSFP+ Switch Factory Sealed picture

Juniper EX3400-48P 48-Port PoE+ 4x SFP+ 2x QSFP+ Switch Factory Sealed

$295.00



Juniper SRX320 8-Port Security Services Gateway Appliance picture

Juniper SRX320 8-Port Security Services Gateway Appliance

$69.99



Juniper EX2300-C-12P Rack Mountable Ethernet Switch 12 Port New Sealed picture

Juniper EX2300-C-12P Rack Mountable Ethernet Switch 12 Port New Sealed

$665.57



Juniper Networks EX3300 SWITCH picture

Juniper Networks EX3300 SWITCH

$25.00



Juniper NFX250-S2 10-Port GbE & 2-Port SFP+ Layer 2 Network Services Platform picture

Juniper NFX250-S2 10-Port GbE & 2-Port SFP+ Layer 2 Network Services Platform

$209.99