-
-
Notifications
You must be signed in to change notification settings - Fork 495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DietPi-Software | Custom PHP version support #2600
Comments
@akshay7394 This is known and expected. DietPi-Software expect and installs PHP from the official APT repo, which is currently PHP7.0. If you manually install a more current PHP version from custom sources, you run into these issues. But let me try to get this fixed for you, as we anyway plan to install PHP7.2 (or even 7.3) on Stretch as well, as some software titles are going to drop support for lower versions: #2367
With Apache, nothing else should be required. Please report back if this works fine. I turned this into a feature request. I anyway had the idea to make DietPi-Software more flexible and check for installed PHP versions and use found one(s) automatically. |
@MichaIng Hi! No I didn't follow those instructions to set it up-- however, I will now. Quick question though, if I Purged both apache2 and php7.2-related packages, why is the install still failing through dietpi-software? Aren't there no longer any packages for it to have problems with? |
@akshay7394 Not sure why APT still fails. Most likely there is still some package installed that breaks earlier PHP and/or other software versions from official repo, perhaps some library. E.g. I found that when installing certain packages from Ondrejs PHP repo, the
But in ~1 week we release DietPi v6.23 and migrate all systems to PHP7.3 (besides when ownCloud is installed, then PHP7.2): #2367 (comment) From then on, Ondrejs repo will be the default and we will keep PHP versions up-to-date as fast as offered software titles support it. |
Creating a bug report/issue
Required Information
#1200 Tue Feb 12 20:11:02 GMT 2019
Additional Information (if applicable)
dietpi-bugreport
ID |sed -n 5p /DietPi/dietpi/.hw_model
Steps to reproduce
Expected behaviour
Actual behaviour
Extra details
The error that is thrown is :
The text was updated successfully, but these errors were encountered: