How to install php7.3-dev

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
baz123
Posts: 166
Joined: Thu Jan 12, 2017 9:23 pm

How to install php7.3-dev

Post by baz123 »

I need to install the dev package for pecl and phpenmod. An apt-get fails.

Any suggestions?

Code: Select all

The following packages have unmet dependencies:
 php7.3-dev : Depends: libssl-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
User avatar
MichaIng
Site Admin
Posts: 2261
Joined: Sat Nov 18, 2017 6:21 pm

Re: How to install php7.3-dev

Post by MichaIng »

@baz123
Just fixed it with v6.24 hotfix (mainly for the critical issues with ARMv6). To fix now, run:

Code: Select all

echo -e '# libssl1.1 from sury.org breaks Lighttpd install
Package: openssl libssl*\nPin: origin packages.sury.org\nPin-Priority: -1' > /etc/apt/preferences.d/dietpi-openssl
baz123
Posts: 166
Joined: Thu Jan 12, 2017 9:23 pm

Re: How to install php7.3-dev

Post by baz123 »

I am continually amazed at how responsive you are to these sorts of issues. Updated and all works. Many thanks.
Post Reply