No idea why, but for some reason my system is expecting to find "php-cgi".
I have php5 and php7 installed.
I know they should somehow create a link so that "php-cgi" redirects to one of them. But they haven't (both reinstalled via synaptic).
Thanks to this issue, I can't install "pi-hole", as the debconf part of the script vanishes up it's own wazzoo (took me a while to trace that one).
Predictably Google is useless ... I can't seem to find a straight answer as to how to fix this issue beyond "install php5". Which I have. Many times.
I *do* have a /usr/bin/php-cgi on my system.
pi-hole (pihole) used to work too, so something has broken my system in the interim.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
php-cgi - why can't Debian find it ? (Or Google)
Re: php-cgi - why can't Debian find it ? (Or Google)
Really?? So you're claiming that not one of the nearly one million hits returned for "pgp-cgi" at Google got you any closer to an answer. Yours must be one truly unique question.Jethro_UK wrote:Predictably Google is useless
But since you provided precisely zero details about what your "problem" might be, perhaps you should return to those ~1M hits. Maybe some reading will help you formulate an actual question.
Re: php-cgi - why can't Debian find it ? (Or Google)
Problem:
running
results in :
However, using synaptic to look for "php-cgi" I discover that php5-cgi is installed.
Googling suggest that "php-cgi" should not be used as php5-cgi provides that functionality. All advice is to install php5 and it should take care of it. It doesn't.
I haven't uninstalled anything.
So the question is what steps do I need to take to make the debconf error go away ? I have already (re)installed php5, and apache2.
Running returns nothing.
running
Code: Select all
/usr/bin/debconf-apt-progress --logfile logdc.log -- apt-get --yes --no-install-recommends install dnsmasq php-cgi
Code: Select all
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package php-cgi
Googling suggest that "php-cgi" should not be used as php5-cgi provides that functionality. All advice is to install php5 and it should take care of it. It doesn't.
I haven't uninstalled anything.
So the question is what steps do I need to take to make the debconf error go away ? I have already (re)installed php5, and apache2.
Running
Code: Select all
apt-cache search php-cgi
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: php-cgi - why can't Debian find it ? (Or Google)
php7 is not available in Debian stable, so that brings up the question as to what version of Debian you're running, and the chance that php might be broken somehow.
MX Linux packager and developer
- GarryRicketson
- Posts: 5644
- Joined: 2015-01-20 22:16
- Location: Durango, Mexico
Re: php-cgi - why can't Debian find it ? (Or Google)
I couldn't find the "pi-hole" thing in any Debian repositories either,...and since I alsoI can't install "pi-hole", as the debconf part of the script vanishes up it's own wazzoo (took me a while to trace that one).
don't know what a "wazzoo" is, ....well guess, if I don't know the answer,
best not say anything,...
Indeed, and as Steve mentions, without knowing what version of Debianso something has broken my system in the interim
you are using, ....who can know the answer ?
"What we expect you have already Done"
==========
Old Website
======================
For the Birds
==================
What Does a Parrot Know About PTSD?
==========
Old Website
======================
For the Birds
==================
What Does a Parrot Know About PTSD?
Re: php-cgi - why can't Debian find it ? (Or Google)
Always good advice Garry but even though I don't know the answer I still want to comment, hopefully it might help Jethro_UK.GarryRicketson wrote: ....well guess, if I don't know the answer,
best not say anything,...
I looked up pi-hole, it appears to be used as DNS and network ad-blocking system on a RaspberryPi. In my searching I found they also seem to have a question and answer forum and a FAQ at the site. With specialised software (that is not part of Debian) it usually is a good idea to ask questions at the actual site, it appears from my brief reading that developers participate in the answers there.
I looked up "wazzoo" too, in this case it seems to be a metaphor for "didn't work".
I don't know why the OP didn't mention anything about Raspberry Pi or what they are running on it. However, I think it might be more productive to ask about the pi-hole software at the site where people would be more familiar with it.
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: php-cgi - why can't Debian find it ? (Or Google)
Gee Garry, the top result on Google for "wazoo" will let let you know what it is. It's the same thing that "black hole" refers to in Russian slang, which is why they refer to them as "frozen stars" instead.
MX Linux packager and developer
- GarryRicketson
- Posts: 5644
- Joined: 2015-01-20 22:16
- Location: Durango, Mexico
Re: php-cgi - why can't Debian find it ? (Or Google)
Actually,...well , bad excuse, but I was feeling really lazy ,and didn't do a search
on that, I will take your word on it though,...
Any way, if it is rasberry pi, and not Debian, and with the pi-hole, and wazoo's , etc,...
I can't help on this,...only maybe a suggestion:
Using Debian, with apache2, I did not have any problems setting up a
"cgi" page, I only did it on my "localhost" , mostly just experimenting, there
are some security risks using CGI, and I do not understand what is involved
well enough to put it on the online server,...
Actaully , there is a thread on that here on the forum,...but if the OP is not
using Debian, with apache2 it wouldn't do them any good. I don't remember
using any "php-cgi" either. There were some "hoops" to jump through in getting
it to "find" the CGI page,...Any way, I found everything I needed doing searches,
but used "startpage.com" instead of "google",...for what ever that is worth
on that, I will take your word on it though,...
Any way, if it is rasberry pi, and not Debian, and with the pi-hole, and wazoo's , etc,...
I can't help on this,...only maybe a suggestion:
Using Debian, with apache2, I did not have any problems setting up a
"cgi" page, I only did it on my "localhost" , mostly just experimenting, there
are some security risks using CGI, and I do not understand what is involved
well enough to put it on the online server,...
Actaully , there is a thread on that here on the forum,...but if the OP is not
using Debian, with apache2 it wouldn't do them any good. I don't remember
using any "php-cgi" either. There were some "hoops" to jump through in getting
it to "find" the CGI page,...Any way, I found everything I needed doing searches,
but used "startpage.com" instead of "google",...for what ever that is worth