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
  •  


OEM Apple MacBook Pro 13 A1706 A1708 2017 LCD Screen Display Assembly Silver picture

OEM Apple MacBook Pro 13 A1706 A1708 2017 LCD Screen Display Assembly Silver

$113.99



OEM Genuine Apple Macbook Pro 15

OEM Genuine Apple Macbook Pro 15" A1707 2016 2017 LCD Display Assembly Silver

$232.74



OEM Genuine Apple MacBook Pro A1990 2018 2019 15

OEM Genuine Apple MacBook Pro A1990 2018 2019 15" LCD Screen Display Assembly

$218.49



NEW OEM  A1494 Battery For Apple MacBook Pro 15

NEW OEM A1494 Battery For Apple MacBook Pro 15" Retina A1398 Late 2014 2013

$54.99



Genuine Apple A1882 30W USB-C Power Adapter Apple OEM CHARGER picture

Genuine Apple A1882 30W USB-C Power Adapter Apple OEM CHARGER

$18.99



Genuine Apple A1718 61W USB-C Power Adapter Apple OEM CHARGER picture

Genuine Apple A1718 61W USB-C Power Adapter Apple OEM CHARGER

$24.99



Apple OEM Original (A1374) 45W MagSafe Power Adapter with Fold Plug Only - White picture

Apple OEM Original (A1374) 45W MagSafe Power Adapter with Fold Plug Only - White

$10.95



OEM 61W USB C Type C Adapter Charger for Apple MacBook PRO 13

OEM 61W USB C Type C Adapter Charger for Apple MacBook PRO 13" A1718 + Cable NEW

$23.00



OEM 30W USB-C Power Adapter Charger for apple MacBook Air iPhone 11 12 Pro +Cord picture

OEM 30W USB-C Power Adapter Charger for apple MacBook Air iPhone 11 12 Pro +Cord

$22.89



OEM 85W MagSafe 2 T-tip Power Adapter Charger For MacBook Pro Retina A1424 A1398 picture

OEM 85W MagSafe 2 T-tip Power Adapter Charger For MacBook Pro Retina A1424 A1398

$20.89