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 4U Server X10DRI-T4+ 2x Xeon E5-2699 v3 2.3ghz 36-Cores | 256GB picture

Supermicro 4U Server X10DRI-T4+ 2x Xeon E5-2699 v3 2.3ghz 36-Cores | 256GB

$599.99



Supermicro 2U Server X9DRI-LN4F 2x E5-2690 2.9ghz 16 Cores | 32gb | 12x Trays picture

Supermicro 2U Server X9DRI-LN4F 2x E5-2690 2.9ghz 16 Cores | 32gb | 12x Trays

$249.99



Sun Ultra 40 M2  Worksation 2 x AMD DualCore Opteron 8GB RAM RISC Read For Parts picture

Sun Ultra 40 M2 Worksation 2 x AMD DualCore Opteron 8GB RAM RISC Read For Parts

$199.99



HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Pent picture

HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Pent

$551.66



HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon picture

HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon

$687.40



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB (2X4GB) RAM 5018A-FTN4 PF Sense picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB (2X4GB) RAM 5018A-FTN4 PF Sense

$174.98



HPE MicroServer G10+ v2 G6405 16GNHP Server P69102-005 picture

HPE MicroServer G10+ v2 G6405 16GNHP Server P69102-005

$385.00



SuperMicro 6018U-TR4T X10DRU-I+ 4-Bay 2x E5-2680v4, 32GB RAM 1U Server picture

SuperMicro 6018U-TR4T X10DRU-I+ 4-Bay 2x E5-2680v4, 32GB RAM 1U Server

$188.00



Supermicro 6028R-E1CR24N 24x LFF- Wholesale Build Your Own Storage Server picture

Supermicro 6028R-E1CR24N 24x LFF- Wholesale Build Your Own Storage Server

$278.99



Supermicro 2U Server X9DRG-HF-NI22 2x E5-2680 v2 64GB 10x Trays 3x GPU AI Crypto picture

Supermicro 2U Server X9DRG-HF-NI22 2x E5-2680 v2 64GB 10x Trays 3x GPU AI Crypto

$289.99