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
  •  


AMD Ryzen 7 5800X 3.8 GHz 8-Core 16 Thread 100-100000063WOF Processor CPU Used picture

AMD Ryzen 7 5800X 3.8 GHz 8-Core 16 Thread 100-100000063WOF Processor CPU Used

$126.14



Intel Core i5-13400F Desktop Processor - 10 Cores (6P+4E) & 16 Threads picture

Intel Core i5-13400F Desktop Processor - 10 Cores (6P+4E) & 16 Threads

$109.99



Intel Core i5-9600k SRELU 3.70GHz LGA 1151 CPU Processor picture

Intel Core i5-9600k SRELU 3.70GHz LGA 1151 CPU Processor

$55.00



(New) AMD Ryzen 5 8400F 6-Core 12-Thread Socket AM5 CPU Processor OEM Tray picture

(New) AMD Ryzen 5 8400F 6-Core 12-Thread Socket AM5 CPU Processor OEM Tray

$109.99



Intel i5-6500 SR2L6 3.20GHz 6MB 4-Core LGA1151 Socket CPU Processor picture

Intel i5-6500 SR2L6 3.20GHz 6MB 4-Core LGA1151 Socket CPU Processor

$26.00



AMD Ryzen 7 7800X3D 4.2GHz 8 Core 16 Thread Gaming Desktop Processor (New Open) picture

AMD Ryzen 7 7800X3D 4.2GHz 8 Core 16 Thread Gaming Desktop Processor (New Open)

$307.00



Intel Core i7-7700 SR338 Quad-core 3.60 GHz Processor Socket H4 LGA-1151 picture

Intel Core i7-7700 SR338 Quad-core 3.60 GHz Processor Socket H4 LGA-1151

$56.95



Intel Xeon E5-2697 v2 SR19H 2.7GHz 12 Core LGA 2011 CPU Processor *km picture

Intel Xeon E5-2697 v2 SR19H 2.7GHz 12 Core LGA 2011 CPU Processor *km

$27.99



Intel Xeon Gold 6138 2.0 GHZ 20-Cores 40-Threads LGA3647 125W CPU Processor picture

Intel Xeon Gold 6138 2.0 GHZ 20-Cores 40-Threads LGA3647 125W CPU Processor

$11.00



Intel Core i7-4790K 4.00GHz quad-core 88W LGA1150 SR219 CPU processor i7-4790k picture

Intel Core i7-4790K 4.00GHz quad-core 88W LGA1150 SR219 CPU processor i7-4790k

$55.00