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
  •  


IBM Power8 S822L Storage Server 8247-22L - With Ram, Some Cards, No HDD's picture

IBM Power8 S822L Storage Server 8247-22L - With Ram, Some Cards, No HDD's

$399.95



IBM 8284-22A S822 Dual Power8 Cpu 512Gb (16x 32Gb) RAM  picture

IBM 8284-22A S822 Dual Power8 Cpu 512Gb (16x 32Gb) RAM

$795.00



IBM SYSTEM X3500 M3 SERVER 7380AC1 2*XEON E5620 2.4GHz 8GB SEE NOTES picture

IBM SYSTEM X3500 M3 SERVER 7380AC1 2*XEON E5620 2.4GHz 8GB SEE NOTES

$33.21



IBM x3650 M4 2x Xeon E5-2670 2.6ghz 16-Core / 64GB / M5110e / 2x PSU picture

IBM x3650 M4 2x Xeon E5-2670 2.6ghz 16-Core / 64GB / M5110e / 2x PSU

$129.99



IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD picture

IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD

$399.99



Dell PowerEdge R730xd 24B SFF 2U Xean E5-2690 V4 2.6 ghz 28-cores 4x 1.2 TB picture

Dell PowerEdge R730xd 24B SFF 2U Xean E5-2690 V4 2.6 ghz 28-cores 4x 1.2 TB

$500.00



IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6-Core 64GB RAM No Bezel/HDD Server picture

IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6-Core 64GB RAM No Bezel/HDD Server

$359.99



IBM Lenovo X3650 M5 2U 8x 2.5” CTO Rack Server – 2x HS, 2x 750W picture

IBM Lenovo X3650 M5 2U 8x 2.5” CTO Rack Server – 2x HS, 2x 750W

$199.00



IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED picture

IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED

$119.99



IBM System X 3250 M5 Single Xeon Quad Core E3-1220 v3 @3.1GHz,8GB RAM,Linux SUSE picture

IBM System X 3250 M5 Single Xeon Quad Core E3-1220 v3 @3.1GHz,8GB RAM,Linux SUSE

$199.87