Everything posted by Sandeep B.
-
Standalone CWP PHP CLI Build Manager: Build PHP 7.4–8.5, PHP-FPM, Selector, Switcher and PIE Extensions
If you are concerned about false positives, you may delete the file and utilize the CWP PHP, as those PHP versions have been corrected.
-
Standalone CWP PHP CLI Build Manager: Build PHP 7.4–8.5, PHP-FPM, Selector, Switcher and PIE Extensions
2019 to keep
-
Standalone CWP PHP CLI Build Manager: Build PHP 7.4–8.5, PHP-FPM, Selector, Switcher and PIE Extensions
i will add the patch in v6
-
Standalone CWP PHP CLI Build Manager: Build PHP 7.4–8.5, PHP-FPM, Selector, Switcher and PIE Extensions
The PHP manager does not modify any Perl versions and relies on the base Perl version installed on the operating system. To resolve this issue, please execute the command by copying all and pasting them into your SSH terminal. dnf module reset perl && dnf module enable perl:5.26 && dnf distro-sync 'perl*' && dnf check
-
Fix PHP-FPM Error: Unable to Start PCRE Module on CWP
PHP-FPM may fail to start with this error: PHP Fatal error: Unable to start pcre module in Unknown on line 0One possible cause is conflicting PCRE libraries under /usr/local/lib. If diagnostics identify these libraries as the cause, quarantine them instead of permanently deleting them. Back up the libraries and check ApacheThe following command moves matching files into a backup directory. If Apache’s configuration test fails, it restores them automatically. Moving shared libraries may affect other applications when they start or restart. Keep the printed backup path. Copy all and paste in SSH terminal: ( set -e backup=$(mktemp -d /root/libpcre-backup.XXXXXXXX) echo "Backup directory: $backup" find /usr/local/lib -maxdepth 1 -name 'libpcre*' \ -exec mv -t "$backup" {} + if ! /usr/local/apache/bin/httpd -t; then find "$backup" -maxdepth 1 -name 'libpcre*' \ -exec mv -t /usr/local/lib {} + echo "Apache check failed; files restored." exit 1 fi )Restart CWP PHP-FPM servicesAfter the Apache check passes, restart the running or failed PHP-FPM services. This briefly interrupts PHP requests on websites using those services. The command discovers installed services named php-fpm.service or php-fpmNN.service. It leaves inactive, non-failed services stopped. Copy all and paste in SSH terminal: systemctl list-unit-files -t service | awk '$1 ~ /^php-fpm[0-9]*\.service$/ {print $1}' | while IFS= read -r service; do if systemctl is-active -q "$service" || systemctl is-failed -q "$service"; then echo "Restarting $service" if systemctl restart "$service"; then systemctl is-active "$service" else echo "Restart failed: $service" SYSTEMD_PAGER=cat systemctl status -l "$service" fi fi doneVerify recoveryCheck the affected websites and PHP-FPM logs after restarting. Apache reporting Syntax OK alone does not confirm PHP-FPM recovery. If the same error remains or another application fails, restore the quarantined libraries using the printed backup directory and investigate the runtime library dependencies before making further changes.
-
Standalone CWP PHP CLI Build Manager: Build PHP 7.4–8.5, PHP-FPM, Selector, Switcher and PIE Extensions
its a false positive alert
-
Standalone CWP PHP CLI Build Manager: Build PHP 7.4–8.5, PHP-FPM, Selector, Switcher and PIE Extensions
I've enabled ldap and sodium by default for all PHP except mailparse, v5 released
-
Standalone CWP PHP CLI Build Manager: Build PHP 7.4–8.5, PHP-FPM, Selector, Switcher and PIE Extensions
it should be --enable-mailparse not --with-mailparse https://www.php.net/manual/en/mailparse.installation.php For PIE, you need to use it https://packagist.org/packages/pecl/mailparse pecl/mailparse
-
Standalone CWP PHP CLI Build Manager: Build PHP 7.4–8.5, PHP-FPM, Selector, Switcher and PIE Extensions
Update of php and self-update are planned; this is not yet implemented
-
Standalone CWP PHP CLI Build Manager: Build PHP 7.4–8.5, PHP-FPM, Selector, Switcher and PIE Extensions
Please install the dependencies and verify their installation status; I am referring to libpq rather than PostgreSQL.
-
Standalone CWP PHP CLI Build Manager: Build PHP 7.4–8.5, PHP-FPM, Selector, Switcher and PIE Extensions
Kindly provide more information if the package is installed or not
-
Standalone CWP PHP CLI Build Manager: Build PHP 7.4–8.5, PHP-FPM, Selector, Switcher and PIE Extensions
You can install required extension by adding "--with-sodium" flag just search php.net how you can install it with flag.
-
Standalone CWP PHP CLI Build Manager: Build PHP 7.4–8.5, PHP-FPM, Selector, Switcher and PIE Extensions
I already posted pgsql issue fix above
-
Standalone CWP PHP CLI Build Manager: Build PHP 7.4–8.5, PHP-FPM, Selector, Switcher and PIE Extensions
Kindly run the test to see which package is installed the dnf info --installed 'libpq*' 'postgresql*'The package should be installed from the base OS : dnf --disablerepo='*' --enablerepo=baseos,appstream install libpq-devel
-
Standalone CWP PHP CLI Build Manager: Build PHP 7.4–8.5, PHP-FPM, Selector, Switcher and PIE Extensions
Kindly send the domain's error log next time.
-
Standalone CWP PHP CLI Build Manager: Build PHP 7.4–8.5, PHP-FPM, Selector, Switcher and PIE Extensions
just updated version 4 php-manager
-
Standalone CWP PHP CLI Build Manager: Build PHP 7.4–8.5, PHP-FPM, Selector, Switcher and PIE Extensions
First, install dependencies: dnf install openldap-devel cyrus-sasl-devel uw-imap-devel krb5-devel openssl-devel unzip if [ ! -e /usr/lib/libc-client.so ] && [ ! -L /usr/lib/libc-client.so ]; then ln -s /usr/lib64/libc-client.so /usr/lib/libc-client.so; fiInteractive LDAP installation Run: php-managerChoose the installation mode: 1) PHP Selector 2) PHP Switcher 3) PHP-FPM SelectorEnter 8.3.36 as the PHP version. At: Additional configure flags (optional):Enter: --with-ldap=/usr --with-ldap-saslNon-interactive LDAP installation Run the command matching your installation: # Switcher php-manager switcher 8.3.36 --with-ldap=/usr --with-ldap-sasl # Selector php-manager selector 8.3.36 --with-ldap=/usr --with-ldap-sasl # FPM php-manager fpm 8.3.36 --with-ldap=/usr --with-ldap-saslThese commands rebuild PHP. Switcher may interrupt websites during the Apache restart; FPM restarts the target branch service. IMAP through PIE If IMAP is already loaded, skip installation. For PHP 8.3+, use the third-party sirlouen/imap package. packagist.org Interactive: run php-manager, choose 4) PIE Extension Installer, then enter: Target PHP version: 8.3.36 PIE package: sirlouen/imap Target type: switcherUse selector or fpm as the target type when appropriate. Non-interactive, choose one: php-manager pie 8.3.36 sirlouen/imap switcher php-manager pie 8.3.36 sirlouen/imap selector php-manager pie 8.3.36 sirlouen/imap fpm or php-manager pie 8.3 sirlouen/imap switcher php-manager pie 8.3 sirlouen/imap selector php-manager pie 8.3 sirlouen/imap fpmVerify using the matching PHP binary: # Switcher /usr/local/php/bin/php -m | grep -Ei '^(ldap|imap)$' # Selector /opt/alt/php83/usr/bin/php -m | grep -Ei '^(ldap|imap)$' # FPM /opt/alt/php-fpm83/usr/bin/php -m | grep -Ei '^(ldap|imap)$'
-
Standalone CWP PHP CLI Build Manager: Build PHP 7.4–8.5, PHP-FPM, Selector, Switcher and PIE Extensions
@Starburst kindly post the error log for the wordpress error
-
Standalone CWP PHP CLI Build Manager: Build PHP 7.4–8.5, PHP-FPM, Selector, Switcher and PIE Extensions
It seems you're not aware that this forum is not part of CWP. We provide fixes via 3rdparty modules, so you need to follow those or use the official CWP way.
-
Standalone CWP PHP CLI Build Manager: Build PHP 7.4–8.5, PHP-FPM, Selector, Switcher and PIE Extensions
You're using a 3rd-party PHP manager, which has different functionality than CWP, so you need to use the command above to install mcrypt or use the CWP script. also i've tested mcrypt and it works fine with the provided command above
-
Standalone CWP PHP CLI Build Manager: Build PHP 7.4–8.5, PHP-FPM, Selector, Switcher and PIE Extensions
All matches were filtered out by modular filtering for argument: libzip-devel Package make-1:4.2.1-11.el8.x86_64 is already installed. Package ncurses-devel-6.1-10.20180224.el8.x86_64 is already installed. Package oniguruma-devel-6.8.2-3.el8.x86_64 is already installed. Package openssl-devel-1:1.1.1k-17.el8_6.x86_64 is already installed. Package pcre2-devel-10.32-3.el8_6.x86_64 is already installed. Package pkgconf-pkg-config-1.4.2-1.el8.x86_64 is already installed. Package libpq-devel-13.23-2.el8_10.x86_64 is already installed. Package readline-devel-7.0-10.el8.x86_64 is already installed. Package sqlite-devel-3.26.0-21.el8_10.x86_64 is already installed. Package libtidy-devel-5.6.0-5.el8.x86_64 is already installed. Package zlib-devel-1.2.11-25.el8.x86_64 is already installed. Error: Unable to find a match: libzip-devel ERROR: Base build prerequisites could not be installed.to solve this error run this command: dnf --setopt=appstream.module_hotfixes=true install libzip-devel dnf config-manager --save --setopt=appstream.module_hotfixes=true dnf config-manager --dump appstream | grep module_hotfixes
-
Standalone CWP PHP CLI Build Manager: Build PHP 7.4–8.5, PHP-FPM, Selector, Switcher and PIE Extensions
You need to use the CWP script or do it manually. sh /usr/local/cwpsrv/htdocs/resources/conf/el8/php-fpm_selector/external_modules/8.4/uploadprogress.shTo install mcrypt, use (first time pie build will take time) : php-manager pie 8.4 pecl/mcrypt fpm
-
Standalone CWP PHP CLI Build Manager: Build PHP 7.4–8.5, PHP-FPM, Selector, Switcher and PIE Extensions
It has installed most of the extensions required by modern scripts. Let me know which extension you need, and I will show you where it is.
-
Update Roundcube and Fix PHP Intl Extension in CWP
Did you manually update Roundcube to 1.6 xx before running the script?
-
Update Roundcube and Fix PHP Intl Extension in CWP
If you get: [root@root2 ~]# curl -fsSL https://www.alphagnu.com/upload/rc.sh | bash ================================================== Roundcube Update Script Version : 1.5.15 Mode : NORMAL UPDATE ================================================== INTL extension is missing or not loaded. Installing required files... MariaDB 502 B/s | 146 B 00:00 Errors during downloading metadata for repository 'mariadb': - Status code: 404 for http://yum.mariadb.org/10.4/centos8-amd64/repodata/repomd.xml (IP: 94.130.143.227) Error: Failed to download metadata for repo 'mariadb': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were triedyou need to fix the MariaDB repository by following the update procedure here: https://www.alphagnu.com/topic/23-upgrade-mariadb-1011-in-cwp-centos-7-centos-89-stream-almalinux-789-rockylinux-789/