Control Web Panel
WebPanel => CentOS 7 Problems => Topic started by: T4B on June 26, 2020, 02:28:55 PM
-
PHP version: 5.6.37 i change to 7.4.7 but still running 5.6.37 :-\ please help me
-
You have to include as more as possible information to your question.
Nobody will guessing what and why heppening into your server.
-
PHP version: 5.6.37 i change to 7.4.7 but still running 5.6.37 :-\ please help me
Did you wait 10-15 minutes? it actually takes this much. I run KVM vps with 2cpu 3gb ram on ssd and it still took 10 minutes to switch to php 7.4
-
since this is not any rpm which will install instantly we use source compile of php for better performance which take time to build.
-
Hello
Same Problem.
PHP Switcher
PHP 7.2.27 to 7.4.28 update failed
or
PHP 7.2.27 to 7.2.29 update failed
or
PHP 7.2.27 to 7.3.x update failed
In no way is the php version updated and try this link:
https://www.mysterydata.com/install-php-7-4-on-cwp-control-panel-manual-installation-guide/
But not work. Error when compiling manually
Parse error: syntax error, unexpected '/' in /usr/local/php-7-4/php-7.4.8/ext/phar/phar.php on line 20
make: *** [ext/phar/phar.phar]
PHP Switcher try again
PHP 7.2.27 to 7.4.28 update failed
tail -f /var/log/php-rebuild.log
Problem is:
tar: php-7.2.32.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
chown: cannot access 'php-7.2.32/': No such file or directory
/usr/local/src/php-rebuild.sh: line 96: cd: php-7.2.32/: No such file or directory
/usr/local/src/php-rebuild.sh: line 140: ./configure: No such file or directory
Configure DONE!
or
tar: php-7.4.28.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
chown: cannot access 'php-7.4.28/': No such file or directory
/usr/local/src/php-rebuild.sh: line 96: cd: php-7.4.28/: No such file or directory
/usr/local/src/php-rebuild.sh: line 140: ./configure: No such file or directory
Configure DONE!
Please help me?
-
tar: php-7.2.32.tar.gz: Cannot open: No such file or directory
There's your clue! Likely you have a network connectivity issue (or a repo problem): I've just tried upgrading 7.3.19 to 7.3.20 and it's running fine, as I type.
I install ccache, for quicker compiles.. resulting in
PHP version: 7.3.20
-
yum clean all
yum -y install ccache
Then run PHP switcher again.
For completeness PHP 7.2.29 is now also installing fine.
BTW, don't arbitrarily choose versions, take one from the CWP dropdown list - you're only compounding/complicating the issue.
-
there is no network problem.
yum update is running. After updating, I tried php update.
-
yum clean all
yum -y install ccache
Then run PHP switcher again.
For completeness PHP 7.2.29 is now also installing fine.
BTW, don't arbitrarily choose versions, take one from the CWP dropdown list - you're only compounding/complicating the issue.
I try yum clean all and yum -y install ccache and installed ccache.
But again try PHP 7.2.27 to 7.4.28 update same error.
-
-- Set runtime path of "/usr/local/bin/ziptool" to ""
tar: php-7.4.8.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
chown: cannot access 'php-7.4.8/': No such file or directory
/usr/local/src/php-rebuild.sh: line 96: cd: php-7.4.8/: No such file or directory
--2020-07-29 13:40:43-- https://ftp.pcre.org/pub/pcre/pcre2-10.34.zip
Resolving ftp.pcre.org (ftp.pcre.org)... 131.111.8.88
Connecting to ftp.pcre.org (ftp.pcre.org)|131.111.8.88|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2531347 (2.4M) [application/zip]
Saving to: 'pcre2.zip'
...
...
'ioncube_loader_lin_7.1_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.1_ts.so'
'ioncube_loader_lin_7.2.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.2.so'
'ioncube_loader_lin_7.2_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.2_ts.so'
'ioncube_loader_lin_7.3.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.3.so'
'ioncube_loader_lin_7.3_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.3_ts.so'
'ioncube_loader_lin_7.4.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.4.so'
'ioncube_loader_lin_7.4_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.4_ts.so'
'loader-wizard.php' -> '/usr/local/ioncube/loader-wizard.php'
yes: standard output: Broken pipe
yes: write error
-
So you're not using PHP Switcher? 7.4.8 is the latest in my CWP Pro list!
-
I am using PHP Switcher. It is not updated from PHP 7.2.27 to PHP 7.2.29.
Is PHP 7.4 only available in the pro version?
-
I am using PHP Switcher. It is not updated from PHP 7.2.27 to PHP 7.2.29.
Is PHP 7.4 only available in the pro version?
I'm running stable release CWP (highly advisable as devs breaks things on a whim!) and 7.4.8 is the latest available in Pro and free versions.
-
I do not know what to do. Everything works. yum update yum install etc. But php is not updating
-
CWP version: 0.9.8.998 (free)
PHP version: 7.4.8
Check your disc space.
This has allowed me to discover a lot of crap left over in /usr/local/src ! Devs take note.
acme.sh imagick-3.1.2.tgz ioncube ioncube_loaders_lin_x86-64.zip.5 modsecurity-2.9.1 redis-5.3.1
apcu-5.1.12 imagick-3.4.4 ioncube_loaders_lin_x86-64.zip ioncube_loaders_lin_x86-64.zip.6 modsecurity-2.9.1.tar.gz redis.tgz
apcu-5.1.12.tgz imagick-3.4.4.tgz ioncube_loaders_lin_x86-64.zip.1 ioncube_loaders_lin_x86-64.zip.7 package.xml xcache-3.2.0
build install.sh ioncube_loaders_lin_x86-64.zip.2 ioncube_loaders_lin_x86-64.zip.8 pcre2-10.34 xcache-3.2.0.tar.gz
cwp-el7-latest intl-3.0.0 ioncube_loaders_lin_x86-64.zip.3 mcrypt-1.0.1 pcre2.zip zendopcache-7.0.5
imagick-3.1.2 intl-3.0.0.tgz ioncube_loaders_lin_x86-64.zip.4 mcrypt-1.0.1.tgz php_switch_pre.conf zendopcache-7.0.5.tgz
-
Disk Space:
devtmpfs 908M 0 908M 0% /dev
tmpfs 920M 0 920M 0% /dev/shm
tmpfs 920M 8,8M 911M 1% /run
tmpfs 920M 0 920M 0% /sys/fs/cgroup
/dev/sda3 55G 4,9G 47G 10% /
/dev/sda1 477M 226M 222M 51% /boot
tmpfs 184M 0 184M 0% /run/user/0
47GB Free disk space
usr/local/src
cwp-el7-latest ioncube_loaders_lin_x86-64.zip.1 ioncube_loaders_lin_x86-64.zip.4 ioncube_loaders_lin_x86-64.zip.7 package.xml php_switch_pre.conf
ioncube ioncube_loaders_lin_x86-64.zip.2 ioncube_loaders_lin_x86-64.zip.5 mcrypt-1.0.1 pcre2-10.34 redis-5.3.1
ioncube_loaders_lin_x86-64.zip ioncube_loaders_lin_x86-64.zip.3 ioncube_loaders_lin_x86-64.zip.6 mcrypt-1.0.1.tgz pcre2.zip redis.tgz
-
Let me get this straight, just for my own curiosity.. are you using the CWP GUI PHP Switcher, or still following Sandeep's unofficial website post?
I've been trying to trace where that gzipped php file is being directed to download but no luck so far. Doesn't help when the CWP is obscured. ::)
-
I'm doing it using php switcher over cwp
I tried explanation on the link I gave because php is not updated
-
Im having the Exact Same Issue trying to change from PHP 5.6.37 default installed with CWP to 7.4.8 and the error im having is this:
This are the last lines of tail -f /var/log/php-rebuild.log
'ioncube_loader_lin_5.1.so' -> '/usr/local/ioncube/ioncube_loader_lin_5.1.so'
'ioncube_loader_lin_5.1_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_5.1_ts.so'
'ioncube_loader_lin_5.2.so' -> '/usr/local/ioncube/ioncube_loader_lin_5.2.so'
'ioncube_loader_lin_5.2_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_5.2_ts.so'
'ioncube_loader_lin_5.3.so' -> '/usr/local/ioncube/ioncube_loader_lin_5.3.so'
'ioncube_loader_lin_5.3_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_5.3_ts.so'
'ioncube_loader_lin_5.4.so' -> '/usr/local/ioncube/ioncube_loader_lin_5.4.so'
'ioncube_loader_lin_5.4_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_5.4_ts.so'
'ioncube_loader_lin_5.5.so' -> '/usr/local/ioncube/ioncube_loader_lin_5.5.so'
'ioncube_loader_lin_5.5_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_5.5_ts.so'
'ioncube_loader_lin_5.6.so' -> '/usr/local/ioncube/ioncube_loader_lin_5.6.so'
'ioncube_loader_lin_5.6_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_5.6_ts.so'
'ioncube_loader_lin_7.0.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.0.so'
'ioncube_loader_lin_7.0_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.0_ts.so'
'ioncube_loader_lin_7.1.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.1.so'
'ioncube_loader_lin_7.1_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.1_ts.so'
'ioncube_loader_lin_7.2.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.2.so'
'ioncube_loader_lin_7.2_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.2_ts.so'
'ioncube_loader_lin_7.3.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.3.so'
'ioncube_loader_lin_7.3_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.3_ts.so'
'ioncube_loader_lin_7.4.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.4.so'
'ioncube_loader_lin_7.4_ts.so' -> '/usr/local/ioncube/ioncube_loader_lin_7.4_ts.so'
'loader-wizard.php' -> '/usr/local/ioncube/loader-wizard.php'
yes: standard output: Broken pipe
yes: write error
Im just installed Centos 7, and i have more than 200gb free.
I just go to PHP Version Switcher v2
You are running PHP version: 5.6.37
I choose any version, wait for half an hour.
And i Recive this notification:
2020-08-12 18:25:54 Info: PHP Version Switcher INFO
PHP Version Switcher task completed, please check the log for more details. Click here to check it.
But no php changes hapening, still in the same 5.6.37
I tough ok, ioncube is broken but.... when i try to change without adding any mark to the defaults i have this result:
No package 'sqlite3' 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 SQLITE_CFLAGS
and SQLITE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Configure DONE!
####################
make: *** No targets specified and no makefile found. Stop.
Make DONE!
####################
make: *** No rule to make target `install'. Stop.
Make Install DONE!
####################
PHP Rebuild Completed
#########################
DELETING DSO Handler
Do i need to restart apache? do i need to restart server?
-
I haved same issue, can't switch php version from 5.6.37 to 7.4.1 (or others higher versions)
In the /var/log/php-rebuild.log file, i haved this line
file /usr/include/asm-generic/..install.cmd from install of kernel-4.19-ovh-mod-std-ipv6-64-headers-4.19_ovh_mod_std_ipv6_64-1868189.x86_64 conflicts with file from package kernel-4.19-ovh-xxxx-std-ipv6-64-headers-4.19_ovh_xxxx_std_ipv6_64-1868189.x86_64
And others lines, that looks like this one.
I found this post https://forums.servethehome.com/index.php?threads/fixed-issues-with-centos7-ovh-kernel.25363/ .
I try to switch my php from 5.6.67 to 7.4.1, and it's works.
-
Hi everyone,
Just in case you run into the same problem. Than see below:
https://www.pcre.org/ clearly stated:
Download
You can download the current release of the PCRE2 library from its official home on GitHub:
https://github.com/PhilipHazel/pcre2/releases
You can also download PCRE2 or the older, unmaintained PCRE library from an unofficial mirror at SourceForge:
https://sourceforge.net/projects/pcre/files/
You can check out the PCRE2 source code via Git or Subversion:
git clone https://github.com/PhilipHazel/pcre2.git
Note that the former ftp.pcre.org FTP site is no longer available. You will need to update any scripts that download PCRE source code to download via HTTPS, Git, or Subversion from the new home on GitHub instead.