View Issue Details

IDProjectCategoryView StatusLast Update
0004327Composrcorepublic2020-07-24 02:55
ReporterChris GrahamAssigned ToChris Graham 
SeverityFeature-request 
Status resolvedResolutionfixed 
Product Version10.0.31 
Fixed in Version10.0.32 
Summary0004327: Improve PHP path detection
DescriptionThe cron_bridge.php script has a mode to give out a sample Cron configuration line.
The PHP detection can be improved.

PHP executables are no longer likely to have the version number in them, at least not in any consistent way given the pace of new PHP versions.
So it's pointless checking for that.

We can respect that PHP on Windows may be in a directory named after the PHP version though, by using wildcards.

However, we can do the search in a more logical way, respecting all the common conventions on each platform, in the best precedence order.
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Activities

admin

2020-07-24 02:55

administrator   ~0006657

Fixed in git commit e2488c0da (https://gitlab.com/composr-foundation/composr/commit/e2488c0da - link will become active once code pushed to GitLab)

A hotfix (a TAR of files to upload) has been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. If there are files in a hot-fix that you don't have then they probably relate to addons that you don't have installed and should be skipped. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/).

hotfix-4327, 2020-07-24 2am.tar (112,640 bytes)

Issue History

Date Modified Username Field Change