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
  •  


Dell Poweredge R720 3.5

Dell Poweredge R720 3.5" 2x E5-2680 2.7ghz 16-Cores 64gb H710 8x Trays 2x750w

$384.99



Dell PowerEdge R720XD Server | 2x 2.8GHz 20 Cores | 128GB | H710 | 20TB Storage picture

Dell PowerEdge R720XD Server | 2x 2.8GHz 20 Cores | 128GB | H710 | 20TB Storage

$936.95



Dell Poweredge R410 2 X SIX CORE 2.40GHZ E5645 32GB RAM 500GB HHD SERVER QTY picture

Dell Poweredge R410 2 X SIX CORE 2.40GHZ E5645 32GB RAM 500GB HHD SERVER QTY

$159.99



Dell PowerEdge R720xd Server | 2x E5-2680 2.7Ghz = 16 Cores | 48GB | 4x 2TB SAS picture

Dell PowerEdge R720xd Server | 2x E5-2680 2.7Ghz = 16 Cores | 48GB | 4x 2TB SAS

$550.00



Dell PowerEdge R720 Server / 2x E5-2640 = 12 Cores / 64GB RAM / H710 / 4x Trays picture

Dell PowerEdge R720 Server / 2x E5-2640 = 12 Cores / 64GB RAM / H710 / 4x Trays

$299.99



Dell Poweredge R410 2 X SIX CORE 2.40GHZ E5645 64GB RAM 500GB HHD SERVER QTY picture

Dell Poweredge R410 2 X SIX CORE 2.40GHZ E5645 64GB RAM 500GB HHD SERVER QTY

$199.99



Dell PowerEdge R620 Server / 2x E5-2670 V2 2.5GHz = 20 Core / 64GB RAM / 2TB SAS picture

Dell PowerEdge R620 Server / 2x E5-2670 V2 2.5GHz = 20 Core / 64GB RAM / 2TB SAS

$465.00



Dell Poweredge R730 2x Xeon E5-2620 v3 2.4ghz 12-Cores / 32gb / H730 / iDracEnt picture

Dell Poweredge R730 2x Xeon E5-2620 v3 2.4ghz 12-Cores / 32gb / H730 / iDracEnt

$419.99



Dell PowerEdge R730XD Server 24BAY 2.5

Dell PowerEdge R730XD Server 24BAY 2.5" H730P Controller Dual 750W - BareBone

$449.99



Dell Poweredge R420 E18S A2 SIX CORE 2.20GHZ E5-2430 12GB RAM 4TB SERVER  picture

Dell Poweredge R420 E18S A2 SIX CORE 2.20GHZ E5-2430 12GB RAM 4TB SERVER

$171.85