# Fehler bei der Installation von Valet+

**URL:** <https://forum.shopware.com/t/fehler-bei-der-installation-von-valet/63676>\
**Category:** Allgemein\
**Created:** [22. Dezember 2019 um 22:57 UTC](https://forum.shopware.com/t/fehler-bei-der-installation-von-valet/63676 "2019-12-22T22:57:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![frimipiso](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@frimipiso](https://forum.shopware.com/u/frimipiso)\
**Post date:** [22. Dezember 2019 um 22:57 UTC](https://forum.shopware.com/t/fehler-bei-der-installation-von-valet/63676/1 "2019-12-22T22:57:39Z")

</div>

Hallo,

ich wollte auf meinem alten Mac gerne Valet+ als Development Server installieren.

Wenn ich der Installationsanleitung auf dieser Seite folge  
[GitHub - weprovide/valet-plus: Blazing fast macOS PHP development environment](https://github.com/weprovide/valet-plus)

erhalte ich nach Eingabe des Befehls valet instell jedoch folgende Fehlermeldung

```
 Could not find installation path for: apcu_bc             
No releases available for package "pecl.php.net/apcu_bc"  
 install failed

```

Wenn ich versuche apcu\_bc manuell zu installieren klappt es auch nicht.

&nbsp;

```
pecl install apcu_bc

WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
Could not download from "https://pecl.php.net/get/apcu_bc-1.0.5.tgz", cannot download "pecl/apcu_bc" (Connection to `ssl://pecl.php.net:443' failed: )
Error: cannot download "pecl/apcu_bc"
Could not download from "https://pecl.php.net/get/apcu-5.1.18.tgz", cannot download "pecl/apcu" (Connection to `ssl://pecl.php.net:443' failed: )
Error: cannot download "pecl/apcu"
Download failed
install failed

```

SSL ist installiert.

```
php -r "print_r(openssl_get_cert_locations());"
Array
(
    [default_cert_file] => /usr/local/etc/openssl@1.1/cert.pem
    [default_cert_file_env] => SSL_CERT_FILE
    [default_cert_dir] => /usr/local/etc/openssl@1.1/certs
    [default_cert_dir_env] => SSL_CERT_DIR
    [default_private_dir] => /usr/local/etc/openssl@1.1/private
    [default_default_cert_area] => /usr/local/etc/openssl@1.1
    [ini_cafile] => /usr/local/etc/openssl/cert.pem
    [ini_capath] => /usr/local/etc/openssl/certs
)

```

Hat jemand eine Ahnung, woran das liegen koennte?

Vielen Dank und viele Gruesse

Jens

&nbsp;

---

<div class="post-metadata">

**Author:** ![NextMike](https://avatars.discourse-cdn.com/v4/letter/n/838e76/32.png) [@NextMike](https://forum.shopware.com/u/NextMike)\
**Post date:** [23. Dezember 2019 um 09:02 UTC](https://forum.shopware.com/t/fehler-bei-der-installation-von-valet/63676/2 "2019-12-23T09:02:37Z")

</div>

Hier steht was darüber:&nbsp;[https://github.com/weprovide/valet-plus/issues/275](https://github.com/weprovide/valet-plus/issues/275)

Hier [https://github.com/weprovide/valet-plus](https://github.com/weprovide/valet-plus)&nbsp;steht auch:&nbsp;

> APCu is temporarily turned off due to a compatibility issue with PHP-FPM, see&nbsp;[https://github.com/weprovide/valet-plus/issues/49](https://github.com/weprovide/valet-plus/issues/49).

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [23. Dezember 2019 um 09:56 UTC](https://forum.shopware.com/t/fehler-bei-der-installation-von-valet/63676/3 "2019-12-23T09:56:14Z")

</div>

Das hatte ich auch bei mir Lokal, ist ziemliche Frickelei das wieder los zu werden. Im Internet findest du zahlreiche Anleitungen dazu, die basieren aber alle darauf, dass du das SSL-Zertifikat für CURL erlaubst, bspw. hier:&nbsp;[Connection to 'ssl://pecl.php.net:443' failed: Unable to find the socket transport "ssl" · Issue #1 · lazyfrosch/docker-icingaweb2 · GitHub](https://github.com/lazyfrosch/docker-icingaweb2/issues/1)

Das hat nicht wirklich was mit Valet+ zu tun, sondern eher mit den SSL-Zertifikaten.

---

<div class="post-metadata">

**Author:** ![frimipiso](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@frimipiso](https://forum.shopware.com/u/frimipiso)\
**Post date:** [23. Dezember 2019 um 22:07 UTC](https://forum.shopware.com/t/fehler-bei-der-installation-von-valet/63676/4 "2019-12-23T22:07:14Z")

</div>

Leider hat der Tipp von Moritz nicht funktioniert.

Ich habe jetzt apcu und apcu\_bc jetzt manuell heruntergeladen und mit pecl install die jeweiligen .tgz files  
installiert.

Mit der Folge, dass php jetzt nicht mehr funktioniert. Wenn ich jetzt valet install eingebe, erhalte ich nun die folgende  
Meldung

```
valet install
PHP Warning: PHP Startup: Unable to load dynamic library 'apc.so' (tried: /usr/local/lib/php/pecl/20180731/apc.so (dlopen(/usr/local/lib/php/pecl/20180731/apc.so, 9): Symbol not found: _zif_apcu_add
  Referenced from: /usr/local/lib/php/pecl/20180731/apc.so
  Expected in: flat namespace
 in /usr/local/lib/php/pecl/20180731/apc.so), /usr/local/lib/php/pecl/20180731/apc.so.so (dlopen(/usr/local/lib/php/pecl/20180731/apc.so.so, 9): image not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'apc.so' (tried: /usr/local/lib/php/pecl/20180731/apc.so (dlopen(/usr/local/lib/php/pecl/20180731/apc.so, 9): Symbol not found: _zif_apcu_add
  Referenced from: /usr/local/lib/php/pecl/20180731/apc.so
  Expected in: flat namespace
 in /usr/local/lib/php/pecl/20180731/apc.so), /usr/local/lib/php/pecl/20180731/apc.so.so (dlopen(/usr/local/lib/php/pecl/20180731/apc.so.so, 9): image not found)) in Unknown on line 0
PHP Parse error: syntax error, unexpected 'apc' (T_STRING), expecting ')' in Command line code on line 2
PHP Warning: PHP Startup: Unable to load dynamic library 'apc.so' (tried: /usr/local/lib/php/pecl/20180731/apc.so (dlopen(/usr/local/lib/php/pecl/20180731/apc.so, 9): Symbol not found: _zif_apcu_add
  Referenced from: /usr/local/lib/php/pecl/20180731/apc.so
  Expected in: flat namespace
 in /usr/local/lib/php/pecl/20180731/apc.so), /usr/local/lib/php/pecl/20180731/apc.so.so (dlopen(/usr/local/lib/php/pecl/20180731/apc.so.so, 9): image not found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'apc.so' (tried: /usr/local/lib/php/pecl/20180731/apc.so (dlopen(/usr/local/lib/php/pecl/20180731/apc.so, 9): Symbol not found: _zif_apcu_add
  Referenced from: /usr/local/lib/php/pecl/20180731/apc.so
  Expected in: flat namespace
 in /usr/local/lib/php/pecl/20180731/apc.so), /usr/local/lib/php/pecl/20180731/apc.so.so (dlopen(/usr/local/lib/php/pecl/20180731/apc.so.so, 9): image not found)) in Unknown on line 0
PHP Parse error: syntax error, unexpected 'apc' (T_STRING), expecting ')' in Command line code on line 2
PHP Warning: PHP Startup: Unable to load dynamic library 'apc.so' (tried: /usr/local/lib/php/pecl/20180731/apc.so (dlopen(/usr/local/lib/php/pecl/20180731/apc.so, 9): Symbol not found: _zif_apcu_add
  Referenced from: /usr/local/lib/php/pecl/20180731/apc.so
  Expected in: flat namespace
 in /usr/local/lib/php/pecl/20180731/apc.so), /usr/local/lib/php/pecl/20180731/apc.so.so (dlopen(/usr/local/lib/php/pecl/20180731/apc.so.so, 9): image not found)) in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'apc.so' (tried: /usr/local/lib/php/pecl/20180731/apc.so (dlopen(/usr/local/lib/php/pecl/20180731/apc.so, 9): Symbol not found: _zif_apcu_add
  Referenced from: /usr/local/lib/php/pecl/20180731/apc.so
  Expected in: flat namespace
 in /usr/local/lib/php/pecl/20180731/apc.so), /usr/local/lib/php/pecl/20180731/apc.so.so (dlopen(/usr/local/lib/php/pecl/20180731/apc.so.so, 9): image not found)) in Unknown on line 0
Could not open input file: 
Warning: PHP Startup: Unable to load dynamic library 'apc.so' (tried: /usr/local/lib/php/pecl/20180731/apc.so (dlopen(/usr/local/lib/php/pecl/20180731/apc.so, 9): Symbol not found: _zif_apcu_add
  Referenced from: /usr/local/lib/php/pecl/20180731/apc.so
  Expected in: flat namespace
 in /usr/local/lib/php/pecl/20180731/apc.so), /usr/local/lib/php/pecl/20180731/apc.so.so (dlopen(/usr/local/lib/php/pecl/20180731/apc.so.so, 9): image not found)) in Unknown on line 0

Parse error: syntax error, unexpected 'apc' (T_STRING), expecting ')' in Command line code on line 2/cli/valet.php

```

Also wird nun die dll apc.so nicht mehr gefunden.

Damit scheint mir Valet Plus einfach fuer normale Sterbliche wie mich nicht installierbar zu sein.

Leider habe ich mir dabei das native php auch gleich mit zerschossen.

Schade, aber jetzt muss ich halt Mamp verwenden.

Viele Gruesse

Jens
