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 OEM Original Latitude 5400 Chromebook Laptop Battery, 4-Cell 68Wh, 3HWPP picture

Dell OEM Original Latitude 5400 Chromebook Laptop Battery, 4-Cell 68Wh, 3HWPP

$43.99



OEM 130W USB-C Type-C Charger for Dell XPS 15 9500 9570 9575 17 9700 DA130PM170 picture

OEM 130W USB-C Type-C Charger for Dell XPS 15 9500 9570 9575 17 9700 DA130PM170

$35.88



Dell OEM Inspiron 15 3510 3511 3515 15.6

Dell OEM Inspiron 15 3510 3511 3515 15.6" LCD LED WXGAHD Widescreen 78KFY

$50.00



OEM Dell 130W HA130PM130 DA130PM130 Laptop Power Adapter Charger 4.5mm 6TTY6 XPS picture

OEM Dell 130W HA130PM130 DA130PM130 Laptop Power Adapter Charger 4.5mm 6TTY6 XPS

$26.99



OEM Dell Inspiron 11 13 14 15 17 3000 5000 7000 AC Adapter Charger 65W 4.5mm Tip picture

OEM Dell Inspiron 11 13 14 15 17 3000 5000 7000 AC Adapter Charger 65W 4.5mm Tip

$10.99



NEW OEM 45W Adapter For Dell XPS 13 9333 9343 9350 L321X L322X Charger LA45NM131 picture

NEW OEM 45W Adapter For Dell XPS 13 9333 9343 9350 L321X L322X Charger LA45NM131

$12.88



OEM DELL 65W AC Adapter Charger 7.4mm Latitude 7490 7480 E7440 E7450 E7470 E7270 picture

OEM DELL 65W AC Adapter Charger 7.4mm Latitude 7490 7480 E7440 E7450 E7470 E7270

$11.88



NEW OEM 65W Type-C/USB-C Charger Adapter For Dell LA65NM170 7370 7280 7480 9FNYW picture

NEW OEM 65W Type-C/USB-C Charger Adapter For Dell LA65NM170 7370 7280 7480 9FNYW

$19.99



OEM DELL 130W 19.5V 6.7A Laptop Charger / AC Adapter - Large Tip - DA130PE1-00 picture

OEM DELL 130W 19.5V 6.7A Laptop Charger / AC Adapter - Large Tip - DA130PE1-00

$19.99



NEW Dell OEM Latitude 5430 5530 7430 7330 7530 41Wh 3-cell Laptop Battery- M69D0 picture

NEW Dell OEM Latitude 5430 5530 7430 7330 7530 41Wh 3-cell Laptop Battery- M69D0

$50.99