[email protected] not installed #5918
Replies: 9 comments 7 replies
-
What did you run and what was the full output of that command? |
Beta Was this translation helpful? Give feedback.
-
brew upgrade ***@***.*** QuimbySent from my iPhoneOn Jan 28, 2025, at 12:00 PM, Sean Molenaar ***@***.***> wrote:
What did you run and what was the full output of that command?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I always restart httpd. Brew didn’t put In 8.4, I would have screamed bloody murder if it had. It simply told me that 8.3 isn’t installed, it is. 8.3.12 is installed and running. Bruce QuimbySent from my iPadOn Jan 28, 2025, at 5:06 PM, Sean Molenaar ***@***.***> wrote:
If you had 8.3 installed and ran brew upgrade it seems very likely that it upgraded to 8.4. Your webserver will probably need to be restarted to know about it
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
So if what you're saying is that |
Beta Was this translation helpful? Give feedback.
-
I didn’t use brew install. I used ‘brew upgrade ***@***.***’. Bruce QuimbySent from my iPadOn Jan 28, 2025, at 7:55 PM, Adrian Ho ***@***.***> wrote:
Just trying to install the latest ***@***.*** and brew tells me 8.3 isn't installed.
brew install would never say a formula is not installed. It can say that it's already installed, and to use brew reinstall instead.
So if what you're saying is that brew install didn't complain about it being already installed, one possibility is that you installed v8.3 back when it was the prevailing version, i.e. brew install php. What does brew info php say?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
If I asked to upgrade php 8.3 why did brew say it upgraded to php 8.4 and not php 8.3.16? If I had wanted 8.4 I would have asked for it. This is my development system (Mac laptop), my hosting provider is running 8.3.15. I’ll upgrade to 8.4 when they move.
Actually brew didn’t put in php 8.4 as I can find no trace of it. Nor can I find any trace of php 8.3.16. What changed in Brew’s upgrade procedures?
==> php: stable 8.4.3 (bottled), HEAD
General-purpose scripting language
https://www.php.net/
Installed
/opt/homebrew/Cellar/php/8.3.12_1 (525 files, 88.8MB) *
Poured from bottle using the formulae.brew.sh API on 2024-10-17 at 09:55:03
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/p/php.rb
License: PHP-3.01
==> Dependencies
Build: httpd ✘, pkgconf ✘
Required: apr ✔, apr-util ✔, argon2 ✔, autoconf ✔, curl ✘, freetds ✘, gd ✔, gettext ✘, gmp ✔, ***@***.*** ✘, krb5 ✔, libpq ✘, libsodium ✔, libzip ✘, net-snmp ✘, oniguruma ✘, openldap ✘, ***@***.*** ✘, pcre2 ✔, sqlite ✘, tidy-html5 ✔, unixodbc ✔
==> Options
--HEAD
Install HEAD version
==> Caveats
To enable PHP in Apache add the following to httpd.conf and restart Apache:
LoadModule php_module /opt/homebrew/opt/php/lib/httpd/modules/libphp.so
<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>
Finally, check DirectoryIndex includes index.php
DirectoryIndex index.php index.html
The php.ini and php-fpm.ini file can be found in:
/opt/homebrew/etc/php/8.4/
To restart php after an upgrade:
brew services restart php
Or, if you don't want/need a background service you can just run:
/opt/homebrew/opt/php/sbin/php-fpm --nodaemonize
==> Analytics
install: 52,778 (30 days), 168,566 (90 days), 673,203 (365 days)
install-on-request: 48,744 (30 days), 156,272 (90 days), 626,740 (365 days)
build-error: 79 (30 days)
==> ***@***.***: stable 8.3.16 (bottled) [keg-only]
General-purpose scripting language
https://www.php.net/
Not installed
From: ***@***.***
License: PHP-3.01
==> Dependencies
Build: httpd ✘, pkgconf ✘
Required: apr ✔, apr-util ✔, argon2 ✔, aspell ✔, autoconf ✔, curl ✘, freetds ✘, gd ✔, gettext ✘, gmp ✔, ***@***.*** ✘, krb5 ✔, libpq ✘, libsodium ✔, libzip ✘, oniguruma ✘, openldap ✘, ***@***.*** ✘, pcre2 ✔, sqlite ✘, tidy-html5 ✔, unixodbc ✔
==> Caveats
To enable PHP in Apache add the following to httpd.conf and restart Apache:
LoadModule php_module ***@***.***/lib/httpd/modules/libphp.so
<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>
Finally, check DirectoryIndex includes index.php
DirectoryIndex index.php index.html
The php.ini and php-fpm.ini file can be found in:
/opt/homebrew/etc/php/8.3/
***@***.*** is keg-only, which means it was not symlinked into /opt/homebrew,
because this is an alternate version of another formula.
To start ***@***.*** now and restart at login:
brew services start ***@***.***
Or, if you don't want/need a background service you can just run:
***@***.***/sbin/php-fpm --nodaemonize
==> Analytics
install: 5,401 (30 days), 12,062 (90 days), 12,061 (365 days)
install-on-request: 4,657 (30 days), 10,257 (90 days), 10,257 (365 days)
build-error: 18 (30 days)
Bruce Quimby
***@***.***
… On Jan 28, 2025, at 9:28 PM, Adrian Ho ***@***.***> wrote:
What does brew info php ***@***.*** output?
—
Reply to this email directly, view it on GitHub <#5918 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AYQMVT43GBRYPNJURM6Y34T2NA4FZAVCNFSM6AAAAABWA57UEKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCOJZGA4DEMI>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
-
Is `brew ls` working properly? I’m not sure where `brew ls` is looking but there’s more than an 8.1 directory…
Here’s the command’s output:
***@***.*** % brew ls --full-name | grep php
php
***@***.***
Here’s where I’m currently at:
***@***.*** % pwd
/opt/homebrew/etc/php/8.3
Bruce Quimby
***@***.***
… On Jan 28, 2025, at 9:34 PM, Adrian Ho ***@***.***> wrote:
brew ls --full-name | grep php
|
Beta Was this translation helpful? Give feedback.
-
I would say that that’s on brew. The last time I upgraded php 8.3 (brew upgrade ***@***.***) that’s what I got. How do I get the latest version of php 8.3?
Bruce Quimby
***@***.***
… On Jan 29, 2025, at 11:00 AM, Sean Molenaar ***@***.***> wrote:
If I asked to upgrade php 8.3 why did brew say it upgraded to php 8.4 and not php 8.3.16? If I had wanted 8.4 I would have asked for it. This is my development system (Mac laptop), my hosting provider is running 8.3.15. I’ll upgrade to 8.4 when they move.
Because you don't have ***@***.*** installed. You have php installed. That means your update requested the latest version of PHP that Homebrew knows about.
What changed in Brew’s upgrade procedures?
Nothing for years.
—
Reply to this email directly, view it on GitHub <#5918 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AYQMVTYPPJ3LJL5Y2JZT3532ND3IVAVCNFSM6AAAAABWA57UEKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCOJZG4ZTENQ>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
-
That seems to have done the trick. Thank You.
All I asked for was to install ***@***.*** Why did brew upgrade other packages such as MySQL?
Bruce Quimby
***@***.***
… On Jan 29, 2025, at 12:50 PM, Sean Molenaar ***@***.***> wrote:
brew install ***@***.***
—
Reply to this email directly, view it on GitHub <#5918 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AYQMVTZF2VJY4FELXOPEQED2NEIF7AVCNFSM6AAAAABWA57UEKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCOJZHA2DQNQ>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
-
Output of
brew config
Output of
brew doctor
Description of issue
Just trying to install the latest [email protected] and brew tells me 8.3 isn't installed. Did something change? phpinfo tells me that php 8.3.12 is up and running. So does my website.
Beta Was this translation helpful? Give feedback.
All reactions