• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

cannot install apcu for PHP

SpAcEDeViL

Basic Pleskian
Hy,

i dont know what plesk are doing....

i made tomorrow a install of watchdog over the shell and plesk recompiled every php Version.
Now, the installed apcu is gone... and i cant reinstall it.

Code:
./pecl install --force apcu
.......
configure: WARNING: unrecognized options: --enable-apc-bc
running: make
/bin/sh /tmp/pear-build-rootzEZKIn/apcu-5.1.2/libtool --mode=compile cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/tmp/apcu -DPHP_ATOM_INC -I/tmp/pear-build-rootzEZKIn/apcu-5.1.2/include -I/tmp/pear-build-rootzEZKIn/apcu-5.1.2/main -I/tmp/apcu -I/opt/plesk/php/5.6/include/php -I/opt/plesk/php/5.6/include/php/main -I/opt/plesk/php/5.6/include/php/TSRM -I/opt/plesk/php/5.6/include/php/Zend -I/opt/plesk/php/5.6/include/php/ext -I/opt/plesk/php/5.6/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2  -c /tmp/apcu/apc.c -o apc.lo
libtool: compile:  cc -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/tmp/apcu -DPHP_ATOM_INC -I/tmp/pear-build-rootzEZKIn/apcu-5.1.2/include -I/tmp/pear-build-rootzEZKIn/apcu-5.1.2/main -I/tmp/apcu -I/opt/plesk/php/5.6/include/php -I/opt/plesk/php/5.6/include/php/main -I/opt/plesk/php/5.6/include/php/TSRM -I/opt/plesk/php/5.6/include/php/Zend -I/opt/plesk/php/5.6/include/php/ext -I/opt/plesk/php/5.6/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/apcu/apc.c  -fPIC -DPIC -o .libs/apc.o
In file included from /tmp/apcu/apc_sma.h:34,
  from /tmp/apcu/apc_pool.h:33,
  from /tmp/apcu/apc_cache.h:36,
  from /tmp/apcu/apc.c:35:
/tmp/apcu/apc_sma_api.h:46: Fehler: expected specifier-qualifier-list before »zend_long«
In file included from /tmp/apcu/apc_pool.h:36,
  from /tmp/apcu/apc_cache.h:36,
  from /tmp/apcu/apc.c:35:
/tmp/apcu/apc_pool_api.h:142: Fehler: expected »=«, »,«, »;«, »asm« or »__attribute__« before »*« token
/tmp/apcu/apc_pool_api.h:143: Fehler: expected »=«, »,«, »;«, »asm« or »__attribute__« before »*« token
In file included from /tmp/apcu/apc_cache.h:40,
  from /tmp/apcu/apc.c:35:
/tmp/apcu/apc_cache_api.h:44: Fehler: expected specifier-qualifier-list before »zend_string«
/tmp/apcu/apc_cache_api.h:53: Fehler: expected specifier-qualifier-list before »zend_long«
/tmp/apcu/apc_cache_api.h:67: Fehler: expected specifier-qualifier-list before »zend_long«
/tmp/apcu/apc_cache_api.h:82: Fehler: expected specifier-qualifier-list before »zend_long«
/tmp/apcu/apc_cache_api.h:101: Fehler: expected specifier-qualifier-list before »zend_long«
/tmp/apcu/apc_cache_api.h:139: Fehler: expected declaration specifiers or »...« before »zend_long«
/tmp/apcu/apc_cache_api.h:140: Fehler: expected declaration specifiers or »...« before »zend_long«
/tmp/apcu/apc_cache_api.h:141: Fehler: expected declaration specifiers or »...« before »zend_long«
/tmp/apcu/apc_cache_api.h:142: Fehler: expected declaration specifiers or »...« before »zend_long«
/tmp/apcu/apc_cache_api.h:216: Fehler: expected declaration specifiers or »...« before »zend_string«
/tmp/apcu/apc_cache_api.h:223: Fehler: expected declaration specifiers or »...« before »zend_string«
/tmp/apcu/apc_cache_api.h:230: Fehler: expected declaration specifiers or »...« before »zend_string«
/tmp/apcu/apc_cache_api.h:236: Fehler: expected declaration specifiers or »...« before »zend_string«
/tmp/apcu/apc_cache_api.h:245: Fehler: expected declaration specifiers or »...« before »zend_string«
/tmp/apcu/apc_cache_api.h:250: Fehler: expected declaration specifiers or »...« before »zend_string«
/tmp/apcu/apc_cache_api.h:272: Fehler: expected declaration specifiers or »...« before »zend_string«
/tmp/apcu/apc_cache_api.h:290: Fehler: expected declaration specifiers or »...« before »zend_string«
/tmp/apcu/apc_cache_api.h:390: Fehler: expected declaration specifiers or »...« before »zend_long«
/tmp/apcu/apc.c:41:31: Fehler: zend_smart_str.h: Datei oder Verzeichnis nicht gefunden
/tmp/apcu/apc.c: In Funktion »apc_flip_hash«:
/tmp/apcu/apc.c:336: Warnung: Übergabe des Arguments 2 von »zend_hash_get_current_data_ex« von inkompatiblem Zeigertyp
/opt/plesk/php/5.6/include/php/Zend/zend_hash.h:182: Anmerkung: expected »void **« but argument is of type »struct Bucket **«
/tmp/apcu/apc.c:336: Fehler: Zu wenige Argumente für Funktion »zend_hash_get_current_data_ex«
/tmp/apcu/apc.c:338:61: Fehler: Makro »zend_hash_update« erfordert 6 Argumente, aber nur 3 wurden angegeben
/tmp/apcu/apc.c:338: Fehler: »zend_hash_update« nicht deklariert (erste Benutzung in dieser Funktion)
/tmp/apcu/apc.c:338: Fehler: (Jeder nicht deklarierte Bezeichner wird nur einmal aufgeführt
/tmp/apcu/apc.c:338: Fehler: für jede Funktion in der er auftritt.)
/tmp/apcu/apc.c:340:68: Fehler: Makro »zend_hash_index_update« erfordert 5 Argumente, aber nur 3 wurden angegeben
/tmp/apcu/apc.c:340: Fehler: »zend_hash_index_update« nicht deklariert (erste Benutzung in dieser Funktion)
/tmp/apcu/apc.c:345: Warnung: Übergabe des Arguments 1 von »_zval_ptr_dtor« von inkompatiblem Zeigertyp
/opt/plesk/php/5.6/include/php/Zend/zend_variables.h:51: Anmerkung: expected »struct zval **« but argument is of type »struct zval *«
make: *** [apc.lo] Fehler 1
ERROR: `make' failed
 
hy, ok i made it,
Code:
./pecl install APCu-4.0.10
but now the httpd dont working anymore

Code:
service httpd restart
httpd beenden:  [  OK  ]
httpd starten: [Thu Dec 17 10:39:48 2015] [warn] module unique_id_module is already loaded, skipping
[Thu Dec 17 10:39:48 2015] [warn] module security2_module is already loaded, skipping
Syntax error on line 37 of /etc/httpd/conf/modsecurity.d/rules/tortix/modsec/50_plesk_basic_asl_rules.conf:
ModSecurity: Found another rule with the same id
 
Why i have now a many broken certificates?! Whats happend!?!?

SSLCertificateFile: file '/usr /local/psa/var/certificates/cert-*****' d oes not exist or is empty'

Code:
Fehler: Der ModSecurity-Regelsatz konnte nicht aktualisiert werden: modsecurity_ctl failed: gpg: key ********: "Atomicorp (Atomicorp Official Signing Key) <[email protected]>" not changed gpg: Total number processed: 1 gpg: unchanged: 1 gpg: Signature made Mon Dec 14 17:42:11 2015 CET using RSA key ID ******* gpg: Good signature from "Atomicorp (Atomicorp Official Signing Key) <[email protected]>" gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint .....
 
Back
Top