Control Web Panel
WebPanel => PHP => Topic started by: tonysar on December 11, 2017, 12:31:07 AM
-
Hello.
i have latest CWP installed on Centos linux VPS .. need to have PHP 7 for my magento .. i used the switcher , gone through the compile and still i see same old php version on the dash ..
i found this control panel exhausting..maybe some one can recommend a panel that i can install on centos vps that is free and actually works ?
-
There seems to be problem with switching to version 7.x .. i managed to switch to . 5.6.31 from 5.6.30 .. and that worked. looked at the process in SSH while was downloading and installing ..but with 7.x is not the same , i can see stuff being processed but at the end messaged says nothing to do , install made . and nothing really happens.
if anyone knows how to switch to 7.x or figure what seems to be the problem , let me know. thanks.
site admin, could you please move this topic to the right location ( PHP SELECTOR ). thanks.
-
Have you tried to Install Dependencies?
/admin/index.php?module=php_selector
-
Are you referring to the PHP Switcher(This is the main PHP version switcher) or PHP Selector(adding php version for use with domains)? If your talking about the Selector try changing the flag --with-pdo-mysql=/usr with --with-pdo-mysql=mysqlnd It should compile then.
If your talking about the Switcher, you will have to change /usr/local/cwpsrv/htdocs/resources/conf/php_switcher/7.1.ini (replace the 7.1 with what ever version you want) find the section pdo-mysql=/usr and change to pdo-mysql=mysqlnd
-
Are you referring to the PHP Switcher(This is the main PHP version switcher) or PHP Selector(adding php version for use with domains)? If your talking about the Selector try changing the flag --with-pdo-mysql=/usr with --with-pdo-mysql=mysqlnd It should compile then.
If your talking about the Switcher, you will have to change /usr/local/cwpsrv/htdocs/resources/conf/php_switcher/7.1.ini (replace the 7.1 with what ever version you want) find the section pdo-mysql=/usr and change to pdo-mysql=mysqlnd
this works for me. :)
thanks tbarlet
-
Hello
I have by default 5.6.37
I´ve already compiled many times.. 7.2, 7.3 etc.
When i enter thru console this :
/usr/local/cwpsrv/htdocs/resources/conf/php_switcher/7.3.ini
I get this :
sh /usr/local/cwpsrv/htdocs/resources/conf/php_switcher/7.3.ini: Permission denied
What i´m doing wrong?
Thanks
Fabian
-
DONE!
all worked fine now ;)
When i´ve tried to install PHP selector,, from 5.6 to 7.3 included, installed 5.6, 7.0 and 7.1 NEVER install 7.2 and 7.3
Then.. i´ve updated 5.6, 7.0 and 7.1 perfectly in php selector.
After this.. i tried again in phpswitcher, and changed 5.6.37 to 7.1.25 and worked perfect.
Apparently the panel not allow PHP 7.2 and 7.3 for some reason.
Maybe a bug ?
Thanks
Fabian
-
DONE!
all worked fine now ;)
When i´ve tried to install PHP selector,, from 5.6 to 7.3 included, installed 5.6, 7.0 and 7.1 NEVER install 7.2 and 7.3
Then.. i´ve updated 5.6, 7.0 and 7.1 perfectly in php selector.
After this.. i tried again in phpswitcher, and changed 5.6.37 to 7.1.25 and worked perfect.
Apparently the panel not allow PHP 7.2 and 7.3 for some reason.
Maybe a bug ?
Thanks
Fabian
Got the same issues, I can't install php 7.2 or 7.3.
-
Ok I think I've figured it out. This work for me.
Stop ClamAV and AMaViS then install your PHP 7.2 or 7.3. It works for me. I think ClamAV and AMaViS eat up your memory and leave not enough to install PHP 7.2.
-
This does appear to be memory related. I struggled for days with this until I changed from 1GB to 2GB of memory. The issue went away once I did that.