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
  •  


ASRock Z87M Extreme4 Micro ATX Intel LGA1150 DDR3 eSATA HDMI Motherboard  picture

ASRock Z87M Extreme4 Micro ATX Intel LGA1150 DDR3 eSATA HDMI Motherboard

$69.95



Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3  picture

Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3

$30.99



Machinist Motherboard LGA 2011 CPU Support DDR3 REG ECC RAM Intel Xeon M-ATX picture

Machinist Motherboard LGA 2011 CPU Support DDR3 REG ECC RAM Intel Xeon M-ATX

$86.58



Gigabyte Z77M-D3H-MVP Micro ATX Intel LGA1155 DDR3 HDMI Z77 Motherboard  picture

Gigabyte Z77M-D3H-MVP Micro ATX Intel LGA1155 DDR3 HDMI Z77 Motherboard

$61.95



Gigabyte B460M DS3H AC Intel B460 1200 LGA MicroATX M.2 Desktop Motherboard B picture

Gigabyte B460M DS3H AC Intel B460 1200 LGA MicroATX M.2 Desktop Motherboard B

$49.99



SUPERMICRO X10SLL-F uATX Server Motherboard Intel LGA 1150 DDR3 1600 w/IO Shield picture

SUPERMICRO X10SLL-F uATX Server Motherboard Intel LGA 1150 DDR3 1600 w/IO Shield

$59.95



Foxconn H61MXE Intel H61 LGA1155 HDMI mATX DDR3 Motherboard + I/O Plate Tested picture

Foxconn H61MXE Intel H61 LGA1155 HDMI mATX DDR3 Motherboard + I/O Plate Tested

$34.95



ASRock LGA 1151 Wifi Intel B360 Intel Gen Micro ATX Motherboard p/n: B360M-OEM picture

ASRock LGA 1151 Wifi Intel B360 Intel Gen Micro ATX Motherboard p/n: B360M-OEM

$75.00



*READ* MSI MEG Z590 Godlike Intel Socket LGA1200 eATX Desktop Gaming Motherboard picture

*READ* MSI MEG Z590 Godlike Intel Socket LGA1200 eATX Desktop Gaming Motherboard

$209.99



B75 Desktop Motherboard LGA1155 DDR3 Memory (Intel 2nd and 3rd gen support) picture

B75 Desktop Motherboard LGA1155 DDR3 Memory (Intel 2nd and 3rd gen support)

$25.99