We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
How to Use PHP 5.3
How to Use PHP 5.3
Hello
I want to use PHP 5.3. Can anyone please tell me how can I use that with my installation without any error.
Thanks
I want to use PHP 5.3. Can anyone please tell me how can I use that with my installation without any error.
Thanks
Re: How to Use PHP 5.3
You can downgrade php, but you'll probably have to fix some errors. It's not going to be a one-click solution. What OS are you using?
Re: How to Use PHP 5.3
Hello
I'm using cent os 6 64 bit minimal. Currently I applied below commands for downgrade and it seems it is working. Is this a correct method? Is there will be any error later?
service httpd stop
yum -y remove php*
yum -y install php php-bcmath php-cli php-common php-gd php-imap php-mbstring php-mcrypt php-mysql php-pdo php-soap php-tidy php-xml php-xmlrpc php-pecl-apc phpMyAdmin roundcubemail
mv -f /etc/php.ini.rpmsave /etc/php.ini
mv -f /etc/roundcubemail/db.inc.php.rpmsave /etc/roundcubemail/db.inc.php
mv -f /etc/roundcubemail/main.inc.php.rpmsave /etc/roundcubemail/main.inc.php
mv -f /etc/phpMyAdmin/config.inc.php.rpmsave /etc/phpMyAdmin/config.inc.php
mv -f /etc/httpd/conf.d/roundcubemail.conf.rpmsave /etc/httpd/conf.d/roundcubemail.conf
mv -f /etc/httpd/conf.d/phpMyAdmin.conf.rpmsave /etc/httpd/conf.d/phpMyAdmin.conf
service httpd start
I'm using cent os 6 64 bit minimal. Currently I applied below commands for downgrade and it seems it is working. Is this a correct method? Is there will be any error later?
service httpd stop
yum -y remove php*
yum -y install php php-bcmath php-cli php-common php-gd php-imap php-mbstring php-mcrypt php-mysql php-pdo php-soap php-tidy php-xml php-xmlrpc php-pecl-apc phpMyAdmin roundcubemail
mv -f /etc/php.ini.rpmsave /etc/php.ini
mv -f /etc/roundcubemail/db.inc.php.rpmsave /etc/roundcubemail/db.inc.php
mv -f /etc/roundcubemail/main.inc.php.rpmsave /etc/roundcubemail/main.inc.php
mv -f /etc/phpMyAdmin/config.inc.php.rpmsave /etc/phpMyAdmin/config.inc.php
mv -f /etc/httpd/conf.d/roundcubemail.conf.rpmsave /etc/httpd/conf.d/roundcubemail.conf
mv -f /etc/httpd/conf.d/phpMyAdmin.conf.rpmsave /etc/httpd/conf.d/phpMyAdmin.conf
service httpd start
Re: How to Use PHP 5.3
You said it seems to be working, no errors right now. So, good on you mate. If a vesta update breaks it (have you paid attention to paths where you installed to?) you'll have to fix it then.
Re: How to Use PHP 5.3
I don't know where it installed! Can I stop PHP update by vesta anyway?
Thanks
Thanks
Re: How to Use PHP 5.3
Code: Select all
find / -name "php"
Code: Select all
/usr/bin/php
/usr/lib64/php
/usr/local/vesta/src/deb/php
/usr/local/vesta/php
/usr/local/vesta/php/bin/php
/usr/local/vesta/php/lib/php
/usr/local/vesta/php/include/php
/usr/local/vesta/php/php
/usr/share/php
/var/lib/php
Re: How to Use PHP 5.3
What is the SSH command for manual updates?