VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
Hi all
The question is: having CentOS 7 is it a chance to get PHP 5.3.3 using this selector or no way and wasted time? I'm really need 5.3.3
The question is: having CentOS 7 is it a chance to get PHP 5.3.3 using this selector or no way and wasted time? I'm really need 5.3.3
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
hello
i got error after install VestaCP PHP Selector.
phpMyAdmin - Error
Error during session start; please check your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser.
session_start(): open(SESSION_FILE, O_RDWR) failed: Permission denied (13)
i try everything but not fix. please help me with it.
im using centos 6.10
and install this
https://github.com/001101/Vesta-CP-PHP- ... .6-and-5.5
now unable to open phpMyAdmin
i got error after install VestaCP PHP Selector.
phpMyAdmin - Error
Error during session start; please check your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser.
session_start(): open(SESSION_FILE, O_RDWR) failed: Permission denied (13)
i try everything but not fix. please help me with it.
im using centos 6.10
and install this
https://github.com/001101/Vesta-CP-PHP- ... .6-and-5.5
now unable to open phpMyAdmin
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
Found a great solution. I’m really happy and it works perfectly. And even has much, much better functionality, easy of use and UI. The name is FastPanel. It is completely free and works fantastic.
(SOLVED)you don't have permission to access /phpmyadmin/ on this server.
Hi Guys! today i will tell you that how you can get rid of dont have permission to accesss phpmyadmin once you downgrade from php 8.1 to any version of php,
Please note - i tried this on vestacp fresh install- PHP version installed 8.1(so do it at your own risk , i am not a coder or linux admin but i spent almost 3 days to find out the solution of this issue...it may help you, dont forget to say thanks :)
so lets get started
#First downgrade php by this tuotorial
#downgrade from 7.3 to 5.6 or any other version
first remove php .....
yum remove "php-*" -y
then disable & enable the version you want..
yum --disablerepo=remi-php73 --enablerepo=remi-php56 install php php-gd php-mbstring php-mysql php-curl php-mcrypt
https://www.linuxhelp.com/how-to-upgrad ... centos-7-6
#Checkyour php Version Now
php -v
#Then disabled all variant - one by one
yum-config-manager --disable remi-php55
yum-config-manager --disable remi-php56
yum-config-manager --disable remi-php70
yum-config-manager --disable remi-php71
yum-config-manager --disable remi-php72
yum-config-manager --disable remi-php73
https://www.mysterydata.com/how-to-inst ... s-vestacp/
#Then enable the main PHP repo (Check your php version first by php -v command
yum-config-manager --enable remi-php73
#now remove phpmyadmin
yum remove phpmyadmin
#Re-install phpmyadmin
yum install phpmyadmin
#open your phpmyadmin.conf file by this command
vi /etc/httpd/conf.d/phpMyAdmin.conf
#now under user share change this
<Directory /usr/share/phpMyAdmin/>
AddDefaultCharset UTF-8
<IfModule mod_authz_core.c>
# Apache 2.4
<RequireAny>
#Require ip 127.0.0.1
#Require ip ::1
Require all granted
</RequireAny>
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
Deny from All
Allow from 127.0.0.1
Allow from ::1
</IfModule>
</Directory>
<Directory /usr/share/phpMyAdmin/setup/>
<IfModule mod_authz_core.c>
# Apache 2.4
<RequireAny>
#Require ip 127.0.0.1
#Require ip ::1
Require all granted
</RequireAny>
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
Deny from All
Allow from 127.0.0.1
Allow from ::1
</IfModule>
</Directory>
#save and exit the file by this command
:wq
#then restart the server
service httpd restart
check the phpmyadmin ...enjoy:)
Please note - i tried this on vestacp fresh install- PHP version installed 8.1(so do it at your own risk , i am not a coder or linux admin but i spent almost 3 days to find out the solution of this issue...it may help you, dont forget to say thanks :)
so lets get started
#First downgrade php by this tuotorial
#downgrade from 7.3 to 5.6 or any other version
first remove php .....
yum remove "php-*" -y
then disable & enable the version you want..
yum --disablerepo=remi-php73 --enablerepo=remi-php56 install php php-gd php-mbstring php-mysql php-curl php-mcrypt
https://www.linuxhelp.com/how-to-upgrad ... centos-7-6
#Checkyour php Version Now
php -v
#Then disabled all variant - one by one
yum-config-manager --disable remi-php55
yum-config-manager --disable remi-php56
yum-config-manager --disable remi-php70
yum-config-manager --disable remi-php71
yum-config-manager --disable remi-php72
yum-config-manager --disable remi-php73
https://www.mysterydata.com/how-to-inst ... s-vestacp/
#Then enable the main PHP repo (Check your php version first by php -v command
yum-config-manager --enable remi-php73
#now remove phpmyadmin
yum remove phpmyadmin
#Re-install phpmyadmin
yum install phpmyadmin
#open your phpmyadmin.conf file by this command
vi /etc/httpd/conf.d/phpMyAdmin.conf
#now under user share change this
<Directory /usr/share/phpMyAdmin/>
AddDefaultCharset UTF-8
<IfModule mod_authz_core.c>
# Apache 2.4
<RequireAny>
#Require ip 127.0.0.1
#Require ip ::1
Require all granted
</RequireAny>
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
Deny from All
Allow from 127.0.0.1
Allow from ::1
</IfModule>
</Directory>
<Directory /usr/share/phpMyAdmin/setup/>
<IfModule mod_authz_core.c>
# Apache 2.4
<RequireAny>
#Require ip 127.0.0.1
#Require ip ::1
Require all granted
</RequireAny>
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
Deny from All
Allow from 127.0.0.1
Allow from ::1
</IfModule>
</Directory>
#save and exit the file by this command
:wq
#then restart the server
service httpd restart
check the phpmyadmin ...enjoy:)
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
Hi,
I installed PHP Selector on my production server. Now on SSH when i command php -v its showing php version 7.4.23 and when i used php script <?php phpinfo() ?> to check then its showing 5.6.40 version. how i can set 7.4.23 as default?? even when i try to change version then nothing happened.
I installed PHP Selector on my production server. Now on SSH when i command php -v its showing php version 7.4.23 and when i used php script <?php phpinfo() ?> to check then its showing 5.6.40 version. how i can set 7.4.23 as default?? even when i try to change version then nothing happened.
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
I need check it, maybe you have some issues with remi repo version and this overwrite some thingshonir wrote: ↑Mon Nov 01, 2021 6:48 amHi,
I installed PHP Selector on my production server. Now on SSH when i command php -v its showing php version 7.4.23 and when i used php script <?php phpinfo() ?> to check then its showing 5.6.40 version. how i can set 7.4.23 as default?? even when i try to change version then nothing happened.
I supose you had 7.4 version because you upgrade it manually ? or your vestacp installer install it by default ?
Patch your ubuntu 16 or mysq5.7 -> viewtopic.php?f=20&t=13239
Transfer accounts from cPanel -> viewtopic.php?f=19&t=11075
Transfer accounts from cPanel -> viewtopic.php?f=19&t=11075
-
- Posts: 7
- Joined: Mon May 02, 2022 4:56 am
- Contact:
- Os: CentOS 7x
- Web: apache + nginx
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
after installing the script i see a 500 error
In the error_log I see the following:
any ideas?...
In the error_log I see the following:
Code: Select all
[Mon May 09 22:39:45.905293 2022] [fcgid:warn] [pid 27706:tid 139955812632320] (104)Connection reset by peer: [client 190.158.204.148:17776] mod_fcgid: error reading data from FastCGI server
[Mon May 09 22:39:45.905353 2022] [core:error] [pid 27706:tid 139955812632320] [client 190.158.204.148:17776] End of script output before headers: index.php
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
Have you tried doing this: viewtopic.php?f=19&t=10854#p40742
-
- Posts: 7
- Joined: Mon May 02, 2022 4:56 am
- Contact:
- Os: CentOS 7x
- Web: apache + nginx
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
hellosandro wrote: ↑Wed May 11, 2022 12:57 pmHave you tried doing this: viewtopic.php?f=19&t=10854#p40742
I did what you said and the result is as follows:
Code: Select all
[root@server root]# apachectl configtest
[Wed May 11 13:19:47.693242 2022] [so:warn] [pid 11236:tid 139884554270912] AH01574: module ruid2_module is already loaded, skipping
Syntax OK
Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.
This is an alert (not an error) message and shows that the Apache configuration is OK.
Since Apache is not starting, the problem is in the configuration file of the domains you have in Vesta.
I think the first step is to check the configuration files of all domains that use the sk template.
Since Apache is not starting, the problem is in the configuration file of the domains you have in Vesta.
I think the first step is to check the configuration files of all domains that use the sk template.