Skip to content
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

How to specify php executable from different location #9974

Open
arulmuruganas opened this issue Mar 29, 2016 · 9 comments
Open

How to specify php executable from different location #9974

arulmuruganas opened this issue Mar 29, 2016 · 9 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@arulmuruganas
Copy link

Hi,
How do i configure piwik to pickup php from different location instead of system's default php version.
The required php version and modules (like mbstring) are installed in different location.

@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label Mar 29, 2016
@tsteur
Copy link
Member

tsteur commented Mar 29, 2016

Hi, do you mind asking this question in Piwik Forum https://forum.piwik.org/ ? Here in our issue tracker we handle only bugs and features.

@tsteur tsteur closed this as completed Mar 29, 2016
@arulmuruganas
Copy link
Author

Hi,
Thanks for your response,
I have asked the same in piwiki forum, matthieu requested to post it as a bug in github.
Here's the link
https://forum.piwik.org/t/about-php-version-used/18579

@tsteur
Copy link
Member

tsteur commented Mar 31, 2016

Thx for that and sorry for closing the issue. The issue sounded like a question and not like a needed feature :)

I'm not quite sure where Piwik is supposed to pick up another PHP. Do you mean when running the archiving process on the command line eg as a cronjob?

@tsteur tsteur reopened this Mar 31, 2016
@tsteur tsteur removed the answered For when a question was asked and we referred to forum or answered it. label Mar 31, 2016
@arulmuruganas
Copy link
Author

At that time of installation, as part of system check, it errors out as mbstring module is missing.
I have installed mbstring in another location but not on system's default php. Looks like piwik picking up system's default php, need a way to configure the piwik to pickup php from user defined location.

@tsteur
Copy link
Member

tsteur commented Apr 3, 2016

Isn't this a webserver (apache / nginx / ... ) configuration? How do you manage the different installed PHP versions etc? I'm not sure if this is actually an issue of Piwik.

@mattab
Copy link
Member

mattab commented Jul 14, 2016

@arulmuruganas do you maybe have a chance to answer question above?

@mattab mattab added the Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users. label Jul 14, 2016
@mattab mattab added this to the 2.16.x (LTS) milestone Jul 14, 2016
@mattab
Copy link
Member

mattab commented Aug 23, 2016

As we have not heard from you, closing the issue. Feel free to comment and re-open if you still experience the issue and have more info.

@mattab mattab closed this as completed Aug 23, 2016
@arulmuruganas
Copy link
Author

Hi Thanks for your response, scenario is default version of machine's php do not have some of the modules required by piwik, as a result am unable to install piwik. So i have installed php with required modules in a specific location and i wanted piwik to pick the php from that location.

@mattab mattab added Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. and removed Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users. labels Aug 23, 2016
@mattab
Copy link
Member

mattab commented Aug 23, 2016

FYI here is the code that looks for the PHP binary: https://github.com/piwik/piwik/blob/2.16.2/core/CliMulti/CliPhp.php#L15-L58

@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Oct 2, 2016
@mattab mattab reopened this Oct 2, 2016
@mattab mattab modified the milestones: Mid term, 2.16.x (LTS) Oct 2, 2016
@mattab mattab removed the answered For when a question was asked and we referred to forum or answered it. label Nov 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

3 participants