Show Posts

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.


Messages - weasam

Pages: [1]
1
PHP / Re: Need to Install APCU Cache On CWP
« on: January 09, 2022, 08:19:12 AM »
PROBLEM SOLVED

Hi, i discovered a great website https://www.mysterydata.com/ with a great administrator where you can find many guides for CWP and more, also by registering for free on the forum i found the solution to this problem thanks to the courtesy and extreme availability of the administrator.

SOLUTION:

https://forum.mysterydata.com/topic/5/cwp-how-to-update-apcu-from-v5-1-12-to-the-latest-and-stable-apcu-v5-1-18

Good day and good work to all !

It's not solved while I'm installing Akeneo,

[root@mian sub.mydomain.com]# NO_DOCKER=true make dev
make dependencies
make[1]: Entering directory '/home/aketest/sub.mydomain.com'
php -d memory_limit=4G /usr/local/bin/composer update
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? y
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.
make[1]: *** [Makefile:64: composer.lock] Error 2
make[1]: Leaving directory '/home/aketest/sub.mydomain.com'
make: *** [Makefile:74: dev] Error 2

2
Update

As the CWP official composer install tutorial
http://wiki.centos-webpanel.com/install-composer-php-dependency-manager

we could use different PHP to execute the command.
here is an example

Code: [Select]
/opt/alt/php74/usr/bin/php /usr/local/bin/composer create-project --prefer-dist \
    akeneo/pim-community-standard /home/aketest/sub.domain.com "5.0.*@stable"
------------------------------- Command Output-------------------------------------
Parse error: syntax error, unexpected character 0x0F in /opt/alt/php74/usr/bin/php on line 4470


I have two servers installed CWP-pro, have test on both with the codes, syntax error remains
I will create a another subject

3
PHP / Re: Enable imagick on PHP FPM 8
« on: January 07, 2022, 11:09:46 AM »
Does your problem solved? I also have the same problem while install Akeneo PIM that use composer to install
composer give me warning that need extension of APCU and imagick

4
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:
         
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

5
How to / Re: How can I run CWP PRO on local machine
« on: January 05, 2022, 09:56:09 AM »
NAT your local machine to a dedicated server may work, or VPN tunnel

6
How to / Re: How TO Setup Remote Backup
« on: January 04, 2022, 03:32:59 AM »
[root@mi ~]# curl http://dl1.centos-webpanel.com/files/s_scripts/sinfo.sh|sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   899  100   899    0     0   2110      0 --:--:-- --:--:-- --:--:--  2105
===============================================
Kernel:
Linux mi.mydomain.com 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Tue Nov 16 14:42:35 UT                                        C 2021 x86_64 x86_64 x86_64 GNU/Linux

CPU info:
model name      : QEMU Virtual CPU version (cpu64-rhel6)

Release:
CentOS Stream release 8

Arch:
x86_64

Virtualization Type:
kvm

Memory:
              total        used        free      shared  buff/cache   available
Mem:            984         332          96          34         556         390
Swap:          1023         686         337

MySQL info:
mysql  Ver 15.1 Distrib 10.4.22-MariaDB, for Linux (x86_64) using readline 5.1

Disk Info:
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        478M     0  478M   0% /dev
tmpfs           493M     0  493M   0% /dev/shm
tmpfs           493M   52M  441M  11% /run
tmpfs           493M     0  493M   0% /sys/fs/cgroup
/dev/sda2        22G   15G  5.3G  75% /
/dev/sda1       488M  266M  197M  58% /boot
tmpfs            99M     0   99M   0% /run/user/0


#
# /etc/fstab
# Created by anaconda on Wed Sep 25 00:18:04 2019
#
# Accessible filesystems, by reference, are maintained under '/dev/disk/'.
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
#
# After editing this file, run 'systemctl daemon-reload' to update systemd
# units generated from this file.
#
/dev/sda2 / ext3 rw,noatime,discard,quota,usrquota,grpquota 0 0
UUID=ac496e51-ac1e-4906-b84c-534fd832c9ef /boot                   ext3    defaul                                        ts,discard,noatime        1 2
# /swap  none  swap  sw 0  0
/swap   swap    swap    sw  0   0
# /swapfile   swap    swap    sw  0   0

Apache PHP info:
PHP 5.6.37 (cli) (built: Jul 20 2018 06:10:33)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with the ionCube PHP Loader + ionCube24 v10.4.5, Copyright (c) 2002-2020, by                                         ionCube Ltd.

Apache start script check:
grep: /etc/init.d/httpd: No such file or directory

CWP Admin check:
/usr/local/cwpsrv/htdocs/admin

CWP version:
0.9.8.1116
===============================================
[root@mi ~]#

Remote server: fresh Ubuntu 18

At my CWP-remote-backup
 Ok Checking if config file exists /usr/local/cwp/.conf/remote_backup.conf.
 Ok Checking if key file exists /root/.ssh/backup/id_rsa.pub
 OK Checking if backup folder /backup exists and creating it if not exists.
 OK Checking if remote connection is tested and activated.

My remote VPS only have backup directories but empty [already pass 5 days]
The folder has in my remote VPS
/root/cwp_remote/daily>users
---------------------weekly >users
---------------------MySQL >users
but don't have any files within these

7
CentOS 7 Problems / Re: CWP user panel not working
« on: November 19, 2021, 02:51:21 PM »
this helped me ... thank you .. solved

How did you solved it? it was the IP blocked or CWP not working properly.
share here and help others

8
CentOS 7 Problems / Re: CWP user panel not working
« on: November 18, 2021, 04:24:05 PM »
Are you still able to use SSH to connect to your server? if yes go next, if not use another IP to connect SSH
check CWP working status
Code: [Select]
service cwpsrv statusor
Code: [Select]
service cwp-phpfpm statuswhen CWP is up on running and you could not login to your panel had block your IP from login.
if not running try this
Code: [Select]
systemctl cwpsrv restart

9
CentOS 7 Problems / Re: problems in user accounts to edit files
« on: November 18, 2021, 04:19:17 AM »
Hi, I'm not expert on programming, Here I give you an idea to troubleshoot the problem.
1. create a new account weather the editor working or not
2. CWP admin panel navigate to [Filemanagement]>[CWP log Viewer]>[Registry file: error log] and select the domain had issue

10
hi send the full php build log via https://pastebin.com/

Hello, Sandeep. I pasted the rebuild log here https://pastebin.com/mpJGiRDW
Currently successfully compiled all version of PHP-FPM and PHP-CGI with Centos 8 Stream Delayed repositories

Centos7 was from Bandwagonhost KVM VPS 1GB 500M SWAP. right now rebuild could rebuild in new OS centos 8, so will not able come back to re-install Centos 7 to give another test, it takes too much time to fix the errors, finally cheers it works in Centos 8

11
Update:2021-11-17
Successfully rebuild PHP-FPM 5.6, 7.0, 7.1, 7.2, 7.3, 7.4
What I do is re-install to Centos 8 from Centos 7, 
1. yum update,
2. reboot,
3. change to centos 8 stream,
4. change the repository to CWP-Centos 8 stream delayed
5. update
6. reboot,
7. install CWP
8. after installed CWP not make any change any setting in CWP
9. go to PHP-FPM selector compiles all PHP.

Anyone has new Centos 7 compiles working let me know and share your steps of installation please

12
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 ;D

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]