This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
SSL / NEW feature Idea - SSL without pointing the IP to CWP by ACMEV2
« on: November 08, 2023, 08:26:55 PM »
I notice that cyberpanel has new feature update is SSLv2 which does not need pointing the IP from Cloudflare to CWP, which is great, because we use cloudflare to proxy the domain, SSL does not work all the time because of this. ACMEv2 is another method to obtain the
SSL for our website without expose our 443 port to the public, I have done in my router, PfSense firewall. it is working well. All I need just need to take the api token to setup the ACMEv2 plugin. but I want it to be work at CWP integration.
I love this feature in Cyberpanel, but I already buy many of CWP licenses for my server, and I love the functions and UI of CWP(can't get rid off CWP, LOL)
SSL for our website without expose our 443 port to the public, I have done in my router, PfSense firewall. it is working well. All I need just need to take the api token to setup the ACMEv2 plugin. but I want it to be work at CWP integration.
I love this feature in Cyberpanel, but I already buy many of CWP licenses for my server, and I love the functions and UI of CWP(can't get rid off CWP, LOL)
2
CSF Firewall / AbuseIP DB on centos
« on: September 12, 2023, 12:04:44 AM »
Have anyone success use abuseIPdb in centos block the IPs that have report threshold at 10times?
It's very easy
https://www.abuseipdb.com/csf
and can activate other IP database in this file
vi /etc/csf/csf.blocklists
I enabled all of the list, share what IP list have you enabled.
It's very easy
https://www.abuseipdb.com/csf
and can activate other IP database in this file
vi /etc/csf/csf.blocklists
I enabled all of the list, share what IP list have you enabled.
3
PHP / PHP dependencies missing for composer apcu extension for install Akeneo
« on: January 07, 2022, 09:24:34 AM »
Hello, forks, I stuck in the half way installing Akeneo in CWP-pro which Akeno is using composer not like other (prestashop, wordpress) just upload the site files and create database.
System: Centos 8 stream CWP delayed 4GB RAM, 4GB SWAP, 256GB SSD
Centos Control Webpanel(CWPpro version: 0.9.8.1116) with global Apache 2.4.52/ PHP version: 7.4.27
Akeneo is an excellent PIM solution for E-commerce website magento, prestashop.
Akeneo requires composer to install the I follow the link to install the lasted version composer with root privileges user
http://wiki.centos-webpanel.com/install-composer-php-dependency-manager
Akeneo installation link
https://docs.akeneo.com/latest/install_pim/manual/installation_ce.html
Here are the steps what I did:
[aketest@cwpcp ~]$
What I'm thinking is composer is using the system PHP will use the PHP compiled in PHP selectors or the configuration in Vhost
Anyone have any ideas? please please help Appreciated
System: Centos 8 stream CWP delayed 4GB RAM, 4GB SWAP, 256GB SSD
Centos Control Webpanel(CWPpro version: 0.9.8.1116) with global Apache 2.4.52/ PHP version: 7.4.27
Akeneo is an excellent PIM solution for E-commerce website magento, prestashop.
Akeneo requires composer to install the I follow the link to install the lasted version composer with root privileges user
http://wiki.centos-webpanel.com/install-composer-php-dependency-manager
Akeneo installation link
https://docs.akeneo.com/latest/install_pim/manual/installation_ce.html
Here are the steps what I did:
- 1. install the php dependency Composer in root privileges follow the instructionhttp://wiki.centos-webpanel.com/install-composer-php-dependency-manager
- 2. using a non-root privileges user:akatest from CWP and located to directory: public_html
- 3. Lest start the first command
Code: [Select]
composer create-project akeneo/pim-community-standard /home/akatest/public_html/sub.mydomain.com "5.0.*@stable"
---------------------------------------------COMMAND OUTPUT-----------------------------------------------[aketest@cwpcp ~]$
Code: [Select]
Creating a "akeneo/pim-community-standard" project at "./sub.mydomain.com"
Installing akeneo/pim-community-standard (v5.0.67)
- Downloading akeneo/pim-community-standard (v5.0.67)
- Installing akeneo/pim-community-standard (v5.0.67): Extracting archive
Created project in /home/aketest/sub.mydoamin.com
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- akeneo/pim-community-dev[v5.0.0, ..., v5.0.67] require ext-apcu * -> it is missing from your system. Install or enable PHP's apcu extension.
- Root composer.json requires akeneo/pim-community-dev ^5.0.0 -> satisfiable by akeneo/pim-community-dev[v5.0.0, ..., v5.0.67].
To enable extensions, verify that they are enabled in your .ini files:
- /usr/local/bin/php.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-apcu` to temporarily ignore these required extensions.
- 4. Let's ignore the apcu extension, empty the files under diretory:sub.mydomain.com and start the new command
Code: [Select]
composer create-project akeneo/pim-community-standard /home/aketest/sub.mydomain.com "5.0.*@stable" --ignore-platform-req=ext-apcu
---------------------------------------------COMMAND OUTPUT-----------------------------------------------Code: [Select]
Creating a "akeneo/pim-community-standard" project at "./pima.keweda.com"
Installing akeneo/pim-community-standard (v5.0.67)
- Installing akeneo/pim-community-standard (v5.0.67): Extracting archive
Created project in /home/aketest/sub.mydomain.com
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- akeneo/pim-community-dev[v5.0.0, ..., v5.0.67] require ext-imagick * -> it is missing from your system. Install or enable PHP's imagick extension.
- Root composer.json requires akeneo/pim-community-dev ^5.0.0 -> satisfiable by akeneo/pim-community-dev[v5.0.0, ..., v5.0.67].
To enable extensions, verify that they are enabled in your .ini files:
- /usr/local/bin/php.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-imagick` to temporarily ignore these required extensions.
- 5. Next delete all files under directory:sub.mydomain.com and command also innore the extension:imagick
Code: [Select]
composer create-project akeneo/pim-community-standard /home/keweda/pima.keweda.com "5.0.*@stable" --ignore-platform-req=ext-apcu --ignore-platform-req=ext-imagick
---------------------------------------------COMMAND OUTPUT-----------------------------------------------Code: [Select]
Creating a "akeneo/pim-community-standard" project at "./sub.mydomin.com"
https://repo.packagist.org could not be fully loaded (curl error 35 while downloading https://repo.packagist.org/packages.json: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to repo.packagist.org:443 ), package information was loaded from the local cache and may be out of date
Installing akeneo/pim-community-standard (v5.0.67)
- Installing akeneo/pim-community-standard (v5.0.67): Extracting archive
Created project in /home/aketest/sub.mydomain.com
Loading composer repositories with package information
Updating dependencies
Lock file operations: 148 installs, 0 updates, 0 removals
- Locking akeneo/pim-community-dev (v5.0.67)
-
- Locking webmozart/assert (1.5.0)
- Locking willdurand/jsonp-callback-validator (v1.1.0)
- Locking willdurand/negotiation (v2.3.1)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 148 installs, 0 updates, 0 removals
- Downloading webmozart/assert (1.5.0)
- Downloading twig/twig (v1.44.1)
- Downloading twig/extensions (v1.3.0)
- Downloading symfony/security-acl (v3.0.2)
- Downloading symfony/requirements-checker (v1.1.8)
- Downloading symfony/polyfill-apcu (v1.12.0)
- Downloading doctrine/annotations (v1.8.0)
- Downloading doctrine/reflection (v1.0.0)
- Downloading doctrine/event-manager (1.1.0)
- Downloading doctrine/collections (1.6.4)
- Downloading doctrine/cache (1.9.1)
- Downloading doctrine/persistence (1.2.0)
- Downloading doctrine/instantiator (1.3.0)
- Downloading doctrine/dbal (v2.10.0)
- Downloading doctrine/common (v2.11.0)
- Downloading doctrine/orm (v2.7.0)
- Downloading symfony/framework-bundle (v4.4.1)
- Downloading doctrine/migrations (v1.8.1)
- Downloading symfony/doctrine-bridge (v4.4.1)
- Downloading jdorn/sql-formatter (v1.2.17)
- Downloading doctrine/doctrine-cache-bundle (1.4.0)
- Downloading doctrine/doctrine-bundle (1.12.0)
- Downloading doctrine/doctrine-migrations-bundle (v1.3.2)
- Downloading symfony/orm-pack (v1.0.8)
- Downloading monolog/monolog (1.25.5)
- Downloading symfony/messenger (v4.4.1)
- Downloading symfony/acl-bundle (v1.0.1)
- Downloading sensio/framework-extra-bundle (v5.5.6)
- Downloading oneup/flysystem-bundle (3.5.0)
- Downloading imagine/imagine (v0.7.1)
- Downloading liip/imagine-bundle (2.3.1)
- Downloading league/flysystem-ziparchive (1.0.3)
- Downloading google/cloud-pubsub (v1.29.1)
- Downloading behat/transliterator (v1.3.0)
- Downloading gedmo/doctrine-extensions (v2.4.37)
- Downloading willdurand/negotiation (v2.3.1)
- Downloading willdurand/jsonp-callback-validator (v1.1.0)
- Downloading friendsofsymfony/rest-bundle (2.8.0)
- Downloading friendsofsymfony/oauth-server-bundle (1.6.2)
- Downloading friendsofsymfony/jsrouting-bundle (2.1.1)
- Downloading elasticsearch/elasticsearch (v7.9.1)
- Downloading dompdf/dompdf (v0.8.6)
- Downloading doctrine/data-fixtures (1.4.0)
- Downloading doctrine/doctrine-fixtures-bundle (3.3.0)
- Downloading box/spout (v2.7.3)
- Downloading aws/aws-sdk-php (3.172.0)
- Downloading ass/xmlsecurity (v1.1.1)
0/47 [>---------------------------] 0% - Downloading symfony/requirements-checker (v1.1.8)
- Downloading doctrine/reflection (v1.0.0)
- Downloading doctrine/collections (1.6.4)
- Downloading doctrine/cache (1.9.1)
- Downloading webmozart/assert (1.5.0)
- Downloading doctrine/persistence (1.2.0)
- Downloading symfony/security-acl (v3.0.2)
- Downloading doctrine/event-manager (1.1.0)
- Downloading twig/extensions (v1.3.0)
- Downloading twig/twig (v1.44.1)
- Downloading symfony/polyfill-apcu (v1.12.0)
- Downloading doctrine/annotations (v1.8.0)
- Downloading symfony/requirements-checker (v1.1.8)
- Downloading doctrine/reflection (v1.0.0)
- Downloading doctrine/collections (1.6.4)
- Downloading doctrine/cache (1.9.1)
- Installing composer/package-versions-deprecated (1.11.99.4): Extracting archive
- Installing symfony/flex (v1.17.6): Extracting archive
- Installing symfony/polyfill-ctype (v1.24.0): Extracting archive
- Installing webmozart/assert (1.5.0): Extracting archive
- Installing twig/twig (v1.44.1): Extracting archive
- Installing twig/extensions (v1.3.0): Extracting archive
- Installing symfony/yaml (v4.4.25): Extracting archive
- Installing symfony/translation-contracts (v2.5.0): Extracting archive
- Installing symfony/polyfill-mbstring (v1.24.0): Extracting archive
- Installing symfony/validator (v4.4.25): Extracting archive
- Installing symfony/polyfill-php80 (v1.24.0): Extracting archive
- Installing symfony/twig-bridge (v4.4.36): Extracting archive
- Installing symfony/polyfill-php73 (v1.24.0): Extracting archive
- Installing symfony/polyfill-php72 (v1.24.0): Extracting archive
- Installing symfony/polyfill-intl-normalizer (v1.24.0): Extracting archive
- Installing symfony/polyfill-intl-idn (v1.24.0): Extracting archive
- Installing symfony/deprecation-contracts (v2.5.0): Extracting archive
- Installing symfony/mime (v5.4.2): Extracting archive
- Installing symfony/http-foundation (v4.4.25): Extracting archive
- Installing symfony/http-client-contracts (v2.5.0): Extracting archive
- Installing symfony/event-dispatcher-contracts (v1.1.11): Extracting archive
- Installing symfony/event-dispatcher (v4.4.25): Extracting archive
- Installing symfony/var-dumper (v5.4.2): Extracting archive
- Installing psr/log (1.1.4): Extracting archive
- Installing symfony/debug (v4.4.36): Extracting archive
- Installing symfony/error-handler (v4.4.36): Extracting archive
- Installing symfony/http-kernel (v4.4.25): Extracting archive
- Installing symfony/twig-bundle (v4.4.25): Extracting archive
- Installing symfony/translation (v4.4.25): Extracting archive
- Installing symfony/templating (v4.4.25): Extracting archive
- Installing psr/container (1.1.2): Extracting archive
- Installing symfony/service-contracts (v2.5.0): Extracting archive
- Installing symfony/dependency-injection (v4.4.25): Extracting archive
- Installing symfony/polyfill-php81 (v1.24.0): Extracting archive
- Installing symfony/filesystem (v4.4.25): Extracting archive
- Installing symfony/config (v4.4.25): Extracting archive
- Installing symfony/polyfill-iconv (v1.24.0): Extracting archive
- Installing doctrine/lexer (1.2.1): Extracting archive
- Installing egulias/email-validator (3.1.2): Extracting archive
- Installing swiftmailer/swiftmailer (v6.3.0): Extracting archive
- Installing symfony/swiftmailer-bundle (v3.5.3): Extracting archive
- Installing symfony/security-core (v4.4.25): Extracting archive
- Installing symfony/polyfill-intl-grapheme (v1.24.0): Extracting archive
- Installing symfony/string (v5.4.2): Extracting archive
- Installing symfony/inflector (v5.4.0): Extracting archive
- Installing symfony/property-access (v4.4.25): Extracting archive
- Installing symfony/security-http (v4.4.25): Extracting archive
- Installing symfony/security-csrf (v4.4.25): Extracting archive
- Installing symfony/security-guard (v4.4.27): Extracting archive
- Installing symfony/security-bundle (v4.4.25): Extracting archive
- Installing symfony/security-acl (v3.0.2): Extracting archive
- Installing symfony/routing (v4.4.25): Extracting archive
- Installing symfony/requirements-checker (v1.1.8): Extracting archive
- Installing laminas/laminas-code (4.5.1): Extracting archive
- Installing friendsofphp/proxy-manager-lts (v1.0.5): Extracting archive
- Installing symfony/proxy-manager-bridge (v4.4.25): Extracting archive
- Installing symfony/process (v4.4.25): Extracting archive
- Installing symfony/polyfill-apcu (v1.12.0): Extracting archive
- Installing symfony/console (v4.4.36): Extracting archive
- Installing doctrine/annotations (v1.8.0): Extracting archive
- Installing doctrine/reflection (v1.0.0): Extracting archive
- Installing doctrine/event-manager (1.1.0): Extracting archive
- Installing doctrine/collections (1.6.4): Extracting archive
- Installing doctrine/cache (1.9.1): Extracting archive
- Installing doctrine/persistence (1.2.0): Extracting archive
- Installing doctrine/instantiator (1.3.0): Extracting archive
- Installing doctrine/dbal (v2.10.0): Extracting archive
- Installing doctrine/inflector (1.4.4): Extracting archive
- Installing doctrine/common (v2.11.0): Extracting archive
- Installing doctrine/orm (v2.7.0): Extracting archive
- Installing symfony/finder (v4.4.25): Extracting archive
- Installing symfony/var-exporter (v5.4.2): Extracting archive
- Installing psr/cache (1.0.1): Extracting archive
- Installing symfony/cache-contracts (v2.5.0): Extracting archive
- Installing symfony/cache (v5.3.13): Extracting archive
- Installing symfony/framework-bundle (v4.4.1): Extracting archive
- Installing doctrine/migrations (v1.8.1): Extracting archive
- Installing symfony/doctrine-bridge (v4.4.1): Extracting archive
- Installing jdorn/sql-formatter (v1.2.17): Extracting archive
- Installing doctrine/doctrine-cache-bundle (1.4.0): Extracting archive
- Installing doctrine/doctrine-bundle (1.12.0): Extracting archive
- Installing doctrine/doctrine-migrations-bundle (v1.3.2): Extracting archive
- Installing symfony/orm-pack (v1.0.8): Extracting archive
- Installing symfony/options-resolver (v4.4.25): Extracting archive
- Installing monolog/monolog (1.25.5): Extracting archive
- Installing symfony/monolog-bridge (v5.2.12): Extracting archive
- Installing symfony/monolog-bundle (v3.7.1): Extracting archive
- Installing symfony/messenger (v4.4.1): Extracting archive
- Installing symfony/lock (v4.4.25): Extracting archive
- Installing symfony/polyfill-intl-icu (v1.24.0): Extracting archive
- Installing symfony/intl (v4.4.25): Extracting archive
- Installing symfony/form (v4.4.25): Extracting archive
- Installing symfony/dotenv (v4.4.25): Extracting archive
- Installing symfony/asset (v4.4.25): Extracting archive
- Installing symfony/acl-bundle (v1.0.1): Extracting archive
- Installing sensio/framework-extra-bundle (v5.5.6): Extracting archive
- Installing paragonie/random_compat (v2.0.20): Extracting archive
- Installing ramsey/uuid (3.9.6): Extracting archive
- Installing psr/event-dispatcher (1.0.0): Extracting archive
- Installing league/mime-type-detection (1.9.0): Extracting archive
- Installing league/flysystem (1.1.9): Extracting archive
- Installing oneup/flysystem-bundle (3.5.0): Extracting archive
- Installing imagine/imagine (v0.7.1): Extracting archive
- Installing liip/imagine-bundle (2.3.1): Extracting archive
- Installing league/flysystem-ziparchive (1.0.3): Extracting archive
- Installing justinrainbow/json-schema (5.2.11): Extracting archive
- Installing ralouphie/getallheaders (3.0.3): Extracting archive
- Installing psr/http-message (1.0.1): Extracting archive
- Installing guzzlehttp/psr7 (1.8.3): Extracting archive
- Installing guzzlehttp/promises (1.5.1): Extracting archive
- Installing guzzlehttp/guzzle (6.5.5): Extracting archive
- Installing grpc/grpc (1.42.0): Extracting archive
- Installing google/protobuf (v3.19.2): Extracting archive
- Installing firebase/php-jwt (v5.5.1): Extracting archive
- Installing google/auth (v1.18.0): Extracting archive
- Installing google/grpc-gcp (v0.2.0): Extracting archive
- Installing google/common-protos (1.4.0): Extracting archive
- Installing google/gax (v1.10.0): Extracting archive
- Installing rize/uri-template (0.3.4): Extracting archive
- Installing google/cloud-core (v1.43.1): Extracting archive
- Installing google/cloud-pubsub (v1.29.1): Extracting archive
- Installing behat/transliterator (v1.3.0): Extracting archive
- Installing gedmo/doctrine-extensions (v2.4.37): Extracting archive
- Installing willdurand/negotiation (v2.3.1): Extracting archive
- Installing willdurand/jsonp-callback-validator (v1.1.0): Extracting archive
- Installing friendsofsymfony/rest-bundle (2.8.0): Extracting archive
- Installing friendsofsymfony/oauth2-php (1.3.1): Extracting archive
- Installing friendsofsymfony/oauth-server-bundle (1.6.2): Extracting archive
- Installing symfony/serializer (v4.4.36): Extracting archive
- Installing friendsofsymfony/jsrouting-bundle (2.1.1): Extracting archive
- Installing react/promise (v2.8.0): Extracting archive
- Installing ezimuel/guzzlestreams (3.0.1): Extracting archive
- Installing ezimuel/ringphp (1.2.0): Extracting archive
- Installing elasticsearch/elasticsearch (v7.9.1): Extracting archive
- Installing sabberworm/php-css-parser (8.4.0): Extracting archive
- Installing phenx/php-svg-lib (0.3.4): Extracting archive
- Installing phenx/php-font-lib (0.5.4): Extracting archive
- Installing dompdf/dompdf (v0.8.6): Extracting archive
- Installing doctrine/data-fixtures (1.4.0): Extracting archive
- Installing doctrine/doctrine-fixtures-bundle (3.3.0): Extracting archive
- Installing box/spout (v2.7.3): Extracting archive
- Installing mtdowling/jmespath.php (2.6.1): Extracting archive
- Installing aws/aws-sdk-php (3.172.0): Extracting archive
- Installing ass/xmlsecurity (v1.1.1): Extracting archive
- Installing akeneo/pim-community-dev (v5.0.67): Extracting archive
- Installing symfony/debug-bundle (v4.4.36): Extracting archive
- Installing symfony/web-profiler-bundle (v4.4.31): Extracting archive
- Installing symfony/web-server-bundle (v4.4.27): Extracting archive
Package doctrine/doctrine-cache-bundle is abandoned, you should avoid using it. No replacement was suggested.
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Package symfony/inflector is abandoned, you should avoid using it. Use use `EnglishInflector` from the String component instead instead.
Package twig/extensions is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
composer/package-versions-deprecated: Generating version class...
composer/package-versions-deprecated: ...done generating version class
78 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Symfony recipes are disabled: "symfony/flex" not found in the root composer.json
> bash vendor/akeneo/pim-community-dev/std-build/install-required-files.sh
Project configuration is disabled: "symfony/flex" not found in the root composer.json
> bash vendor/akeneo/pim-community-dev/std-build/install-required-files.sh
src/ directory already exists. Not preparing the directory content.
- 6. untill now I don't want to do, I start look over the answer from google, no any could resolve this
What I'm thinking is composer is using the system PHP will use the PHP compiled in PHP selectors or the configuration in Vhost
Anyone have any ideas? please please help Appreciated
4
CentOS 7 Problems / Centos 7 CWP PHP-fpm 7.4 selector rebuild failed, Problem is obviously in logs
« on: November 16, 2021, 06:16:29 AM »
Could not compile/rebuild/install PHP-fpm version above 7.2
System information
CWPpro version: 0.9.8.1099 Centos 7 fresh install 1GB RAM, 1GB SWAP
I have tried two times re-install CWP in fresh system, and didn't change other settings in CWP, I believe isn't the OS problem, hope administrator of CWP have a test to compile PHP-FPM 7.4, I'm sure is 0.9.8.1099 didn't make good codes
tail -f /var/log/php-selector-rebuild.log
checking for zip archive read/write support... yes
checking for libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0... no
configure: error: Package requirements (libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0) were not met:
No package 'libzip' found
No package 'libzip' found
No package 'libzip' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBZIP_CFLAGS
and LIBZIP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
mkdir: cannot create directory '/opt/alt/php-fpm74/usr/var/sockets/': No such file or directory
mkdir: cannot create directory '/opt/alt/php-fpm74/usr/etc/php-fpm.d/': No such file or directory
mkdir: cannot create directory '/opt/alt/php-fpm74/usr/etc/php-fpm.d/users/': No such file or directory
/usr/local/src/php-fpm-7.4.sh: line 99: /opt/alt/php-fpm74/usr/etc/php-fpm.d/users.conf: No such file or directory
/usr/local/src/php-fpm-7.4.sh: line 100: /opt/alt/php-fpm74/usr/etc/php-fpm.conf: No such file or directory
/usr/local/src/php-fpm-7.4.sh: line 102: /opt/alt/php-fpm74/usr/etc/php-fpm.d/cwpsvc.conf: No such file or directory
cp: cannot stat 'sapi/fpm/php-fpm.service': No such file or directory
sed: can't read /usr/lib/systemd/system/php-fpm74.service: No such file or directory
sed: can't read /usr/lib/systemd/system/php-fpm74.service: No such file or directory
Failed to execute operation: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.radwebhosting.com
* epel: d2lzkl7pfhq30w.cloudfront.net
* extras: centos.mirror.lstn.net
* updates: la.mirrors.clouvider.net
Package libsodium-1.0.18-1.el7.x86_64 already installed and latest version
Package libsodium-devel-1.0.18-1.el7.x86_64 already installed and latest version
Nothing to do
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 28505 100 28505 0 0 51252 0 --:--:-- --:--:-- --:--:-- 51267
/usr/local/cwpsrv/htdocs/resources/conf/el7/php-fpm_selector/external_modules/7.4/sodium.sh: line 9: /opt/alt/php-fpm74/usr/bin/phpize: No such file or directory
/usr/local/cwpsrv/htdocs/resources/conf/el7/php-fpm_selector/external_modules/7.4/sodium.sh: line 10: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
/usr/local/cwpsrv/htdocs/resources/conf/el7/php-fpm_selector/external_modules/7.4/sodium.sh: line 14: /opt/alt/php-fpm74/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /sodium.so
exe:/opt/alt/php-fpm74/usr/sbin/php-fpm
Failed to restart php-fpm74.service: Unit not found.
Redirecting to /bin/systemctl restart httpd.service
Build Completed
###################
System information
CWPpro version: 0.9.8.1099 Centos 7 fresh install 1GB RAM, 1GB SWAP
I have tried two times re-install CWP in fresh system, and didn't change other settings in CWP, I believe isn't the OS problem, hope administrator of CWP have a test to compile PHP-FPM 7.4, I'm sure is 0.9.8.1099 didn't make good codes
tail -f /var/log/php-selector-rebuild.log
checking for zip archive read/write support... yes
checking for libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0... no
configure: error: Package requirements (libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0) were not met:
No package 'libzip' found
No package 'libzip' found
No package 'libzip' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables LIBZIP_CFLAGS
and LIBZIP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
mkdir: cannot create directory '/opt/alt/php-fpm74/usr/var/sockets/': No such file or directory
mkdir: cannot create directory '/opt/alt/php-fpm74/usr/etc/php-fpm.d/': No such file or directory
mkdir: cannot create directory '/opt/alt/php-fpm74/usr/etc/php-fpm.d/users/': No such file or directory
/usr/local/src/php-fpm-7.4.sh: line 99: /opt/alt/php-fpm74/usr/etc/php-fpm.d/users.conf: No such file or directory
/usr/local/src/php-fpm-7.4.sh: line 100: /opt/alt/php-fpm74/usr/etc/php-fpm.conf: No such file or directory
/usr/local/src/php-fpm-7.4.sh: line 102: /opt/alt/php-fpm74/usr/etc/php-fpm.d/cwpsvc.conf: No such file or directory
cp: cannot stat 'sapi/fpm/php-fpm.service': No such file or directory
sed: can't read /usr/lib/systemd/system/php-fpm74.service: No such file or directory
sed: can't read /usr/lib/systemd/system/php-fpm74.service: No such file or directory
Failed to execute operation: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.radwebhosting.com
* epel: d2lzkl7pfhq30w.cloudfront.net
* extras: centos.mirror.lstn.net
* updates: la.mirrors.clouvider.net
Package libsodium-1.0.18-1.el7.x86_64 already installed and latest version
Package libsodium-devel-1.0.18-1.el7.x86_64 already installed and latest version
Nothing to do
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 28505 100 28505 0 0 51252 0 --:--:-- --:--:-- --:--:-- 51267
/usr/local/cwpsrv/htdocs/resources/conf/el7/php-fpm_selector/external_modules/7.4/sodium.sh: line 9: /opt/alt/php-fpm74/usr/bin/phpize: No such file or directory
/usr/local/cwpsrv/htdocs/resources/conf/el7/php-fpm_selector/external_modules/7.4/sodium.sh: line 10: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
/usr/local/cwpsrv/htdocs/resources/conf/el7/php-fpm_selector/external_modules/7.4/sodium.sh: line 14: /opt/alt/php-fpm74/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /sodium.so
exe:/opt/alt/php-fpm74/usr/sbin/php-fpm
Failed to restart php-fpm74.service: Unit not found.
Redirecting to /bin/systemctl restart httpd.service
Build Completed
###################
Pages: [1]