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
  •  


Supermicro 1U Server 10 BAY SFF 2x Xeon E5-2667 v2 3.30Ghz 128GB 2x 10GBase-T picture

Supermicro 1U Server 10 BAY SFF 2x Xeon E5-2667 v2 3.30Ghz 128GB 2x 10GBase-T

$279.00



Dell PowerEdge R720xd Server | 2x E5-2630 V2 2.6GHz = 12C | 32GB RAM | 4x Tray picture

Dell PowerEdge R720xd Server | 2x E5-2630 V2 2.6GHz = 12C | 32GB RAM | 4x Tray

$382.99



Supermicro 4U Server 36 Caddy Bay 3.5

Supermicro 4U Server 36 Caddy Bay 3.5" LFF E ATX Storage Chassis 847E16-R1400LPB

$699.00



Dell PowerEdge R620 Server | 2x E5-2670 16 Cores | 96GB | H710 | 2x 600GB 10K  picture

Dell PowerEdge R620 Server | 2x E5-2670 16 Cores | 96GB | H710 | 2x 600GB 10K

$372.80



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



HYVE ZEUS V1 1U SERVER 2x XEON EIGHT CORE E5-2680 2.7GHz 16GB RAM NO HDD picture

HYVE ZEUS V1 1U SERVER 2x XEON EIGHT CORE E5-2680 2.7GHz 16GB RAM NO HDD

$144.00



Dell Poweredge R210 II Server Xeon E3-1240 v2 3.4ghz Quad Core / 16gb / 1x Tray picture

Dell Poweredge R210 II Server Xeon E3-1240 v2 3.4ghz Quad Core / 16gb / 1x Tray

$124.99



HYVE ZEUS V1 1U SERVER 2x 10 CORE E5-2670V2 2.5GHz 32GB RAM RAIL NO HDD picture

HYVE ZEUS V1 1U SERVER 2x 10 CORE E5-2670V2 2.5GHz 32GB RAM RAIL NO HDD

$216.00



Supermicro CSE-826BE16-R1K28LPB 2U Server Chassis 2x1280W 12x3.5 BPN-SAS2-826EL1 picture

Supermicro CSE-826BE16-R1K28LPB 2U Server Chassis 2x1280W 12x3.5 BPN-SAS2-826EL1

$199.95



VMware Workstation 16 Pro Lifetime License [⚡ Fast Delivery] picture

VMware Workstation 16 Pro Lifetime License [⚡ Fast Delivery]

$13.99