-
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
-
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.
-
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
-
Forum Rules

Ubuntu Server 26.04.1 LTS Bootable USB Flash Drive – Latest September 2026
$13.99

KTN-STL3 EMC VNX 15-slot Disk Array Expansion, full 15 x 2tb drives 100% health
$360.00

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN
$115.00

Start9 Server Pure 32GB 4TB Intel i7 Node StartOS — Box + PSU
$649.00

Microsoft SQL Server 2025 Standard 32 Core Unlimited CAL Retail License Package
$299.00

Microsoft SQL Server 2025 Standard 48 Core Unlimited User CALs CoA Authentic.
$266.00

All New Ubuntu 26.04 LTS Linux Bootable USB Flash Drive
$15.95

Dell SonicWall TZ400 Network Security Appliance Firewall New
$185.00

Microsoft SQL Server 2019 Enterprise 40 Core Unlimited CAL Retail License FPP
$299.00

NVIDIA Jetson TK1 + Intel NUC Compute Cluster Tray w/ Netgear 16-Port Switch
$499.99