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
  •  


Intel Xeon E-2478 CPU 8 Core 16 Thread LGA1700 2.8GHz~ 5.2GHz Server Processor picture

Intel Xeon E-2478 CPU 8 Core 16 Thread LGA1700 2.8GHz~ 5.2GHz Server Processor

$889.99



Intel Xeon Platinum 8356H CPU 8-Core 3.90GHz-4.40GHz 190W LGA4189 final version picture

Intel Xeon Platinum 8356H CPU 8-Core 3.90GHz-4.40GHz 190W LGA4189 final version

$3888.00



Intel Xeon E-2288G Processor CPU 8-Core 3.70GHz~5.0GHz LGA-1151 TDP-95W P630 picture

Intel Xeon E-2288G Processor CPU 8-Core 3.70GHz~5.0GHz LGA-1151 TDP-95W P630

$862.95



Intel Xeon E-2278G Processor CPU 8-Core 3.40GHz~5.0GHz LGA-1151 TDP-80W P630 picture

Intel Xeon E-2278G Processor CPU 8-Core 3.40GHz~5.0GHz LGA-1151 TDP-80W P630

$775.00



Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4... picture

Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4...

$489.99



Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ... picture

Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...

$689.99



AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor picture

AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor

$319.99



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$619.99



Dell Precision 3420 SFF Intel Core i5-6500 8GB RAM 256GB SSD WIN 11 picture

Dell Precision 3420 SFF Intel Core i5-6500 8GB RAM 256GB SSD WIN 11

$75.00



START Desktop Gaming PC | Intel Core i5, AMD RX 560, 8GB RAM, 240GB SSD, WiFi/BT picture

START Desktop Gaming PC | Intel Core i5, AMD RX 560, 8GB RAM, 240GB SSD, WiFi/BT

$399.99