php_selector3 Error

Started by Gogo, December 01, 2018, 03:09:09 PM

Previous topic - Next topic

Gogo

I can't install PHP 7.0/7.1/7.2 via php_selector3. Older versions <5 are installed and they are working fine.


...
Saving to: 'apcu-5.1.12.tgz'

     0K .......... .......... .......... .......... .......... 48%  300K 0s
    50K .......... .......... .......... .......... .......... 96%  607K 0s
   100K ...                                                   100% 6501G=0.2s

2018-12-01 15:57:28 (415 KB/s) - 'apcu-5.1.12.tgz' saved [105890/105890]

/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.2/apcu.sh: line 8: /opt/alt/php-fpm72/usr/bin/phpize: No such file or directory
/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.2/apcu.sh: line 9: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.

/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.2/apcu.sh: line 13: /opt/alt/php-fpm72/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /apcu.so

josemnunez

You are installing more than one version at a time?

Gogo

#2
It's same with one and multiple versions at once.

gasonline

Same issue here.

Jose yo tengo el mismo error

tiagondelgado


thefantas

#5
yes: standard output: Broken pipe
yes: write error
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.2/opcache.sh: line 3: /opt/alt/php-fpm72/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /opcache.so
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
--2018-12-03 22:44:48--  https://pecl.php.net/get/apcu-5.1.12.tgz
Resolving pecl.php.net (pecl.php.net)... 104.236.228.160
Connecting to pecl.php.net (pecl.php.net)|104.236.228.160|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 105890 (103K) [application/octet-stream]
Saving to: 'apcu-5.1.12.tgz'

     0K .......... .......... .......... .......... .......... 48% 2.74M 0s
    50K .......... .......... .......... .......... .......... 96% 5.59M 0s
   100K ...                                                   100% 6501G=0.03s

2018-12-03 22:44:48 (3.81 MB/s) - 'apcu-5.1.12.tgz' saved [105890/105890]

/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.2/apcu.sh: line 8: /opt/alt/php-fpm72/usr/bin/phpize: No such file or directory
/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.2/apcu.sh: line 9: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.

/usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/external_modules/7.2/apcu.sh: line 13: /opt/alt/php-fpm72/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /apcu.so
Redirecting to /bin/systemctl restart httpd.service

Build Completed
###################


Error:Can't add notification!

GTMAN

I had the same issue and found in the logs that it was running out of virtual memory. I increased the servers swap file to 1024mb and I can compile successfully. Running 7.2.12.

thefantas

I have 16GB of RAM and SWAP 8GB

Gogo

@GTMAN That problem have to be fixed inside CWP itself and not by server modifications such as changing swap etc.
Obviously there is some memory leak while process is running.

Gogo

v7.3    added to the selector but still no fix for the problem above.

rex2k1

Same problem here, I can't switch to a 7.X version

Gogo

#11
I have temporarly fixed this by disabling xpm-dir in Options list before building/rebuilding 7.x versions.

And still, that have to be fixed inside CWP because that php builder script has a memory leak looks like.

Sandeep

probably you've memory related error on your server/node.

Gogo

That't not related to my server, it's a CWP problem.

I've tested that on 10+ servers (different specs) and every single one of them had same problem. Also I am not the only one who have that problem. Just check the rest of the forum how many people faced it.

Sandeep

Quote from: Gogo on January 06, 2019, 06:47:36 PM
That't not related to my server, it's a CWP problem.

I've tested that on 10+ servers (different specs) and every single one of them had same problem. Also I am not the only one who have that problem. Just check the rest of the forum how many people faced it.
provide the full log