I have just installed WHM Cpanel on Centos 7
The PHP version is 5.5 is there any way you can downgrade the version to 5.3?
Yes, You can downgrade it if you want php 5.3 version. Please try to run easyapche scripts on your server through command line OR You can run recompile php on your server through WHM, easyapche options
Related
In short : So if I install php5-phalcon (3.2) on local machine with php 5.6, can I easily move code to machine with php7.0 or is code version specific?
Detail scenario :
Local machine has following configuration :
Ubuntu 14.04
PHP 5.6
Phalcon 3.2.2 (installed using command php5-phalcon)
Phalcon devtools 3.2.5
Docker Image / Server Image has following config :
Ubuntu 16.04
PHP 7.0
Phalcon 3.2.2 (installed using command php7.0-phalcon)
Phalcon devtools 3.2.5
My concern here is that if I create skeleton and work on that using phalcon at local machine, will those same files and skeleton work on Docker/Server machine.
Yes. Phalcon 3.2.2 is supported on both PHP 5.6 and PHP 7.0. So either of your machines will work as expected. However, I'll advice that you run the same version of PHP and Phalcon your environments to prevent inconsistencies.
It's like any other php extension in the sense that it is built for your current version of php.
You just don't install it using pecl.
In simple words, it will work with both php version irrespective where I write code. In details answer can be found : https://github.com/phalcon/phalcon-devtools/issues/1106
I've installed MariaDB 10.2 on a cPanel server using this procedure:
https://confluence2.cpanel.net/display/CKB/How+to+Replace+MySQL+with+MariaDB
But now, I want to downgrade to 10.1 since 10.2 isn't handled by cPanel / WHM.
I know it's technically impossible to "downgrade" so I want to uninstall 10.2 and then install 10.1 from WHM. I will restore the database from a SQL dump afterward.
Any way to do this? How do I uninstall 10.2 and get WHM to install 10.1? I want cPanel/WHM to handle the future MariaDB upgrades.
Thanks in advance!
It's quite strange you were able to install MariaDB 10.2 since the upgrade procedure from WHM only allows you to install MariaDB 10.x or MariaDB 10.1.x. If that happened then you probably have other CentOS repos added on the WHM server (like rpmforge/epel etc).
Do you experience any issues with the websites hosted on that server because of MariaDB 10.2 or you just want to be complaint with the recommended versions?!
As a downgrade procedure you will have to manually remove the .rpm packages for MariaDB 10.2 then download the MariaDB 10.1 packages and manually install them (you will need the yum download only plugin in order to save the .rpm packages without actually installing them).
I don't know the exact names of those packages but I think it would be better to open a support request on cPanel forums and the cPanel staff guys from there could connect to your server and help you with your issue.
I'm teaching myself PHP and I have no idea which version of Apache to download. Should I just select httpd-2.4.10.tar.bz2 and try to install it?
I need to install PHP 5.1.6, MySQL 5.0.95 and Apache/2.2.3 on my computer. Where could I get these versions? I tried to install Apache 2.3.3 on Wamp. Problem is it install but it doesn't want to run with PHP 5.1.6. When I try to select PHP 5.1.6 version I get the following message:
This version doesn't seem to be compatible with your actual Apache version.
What can I do to make it work? Thank you
Why not trying to install them separately ?
Apache 2.2.22 (can't find the 2.2.3): http://mirror.mkhelif.fr/apache//httpd/binaries/win32/
PHP 5.1.6: http://museum.php.net/php5/
MySQL 5.0.96 (can't find the 95): http://dev.mysql.com/downloads/mysql/5.0.html
I found out that it is problem combining that PHP version with that Apache version on Windows OS. I've solve the problem by using Apache 2.0.x
I got a MacMini at work for development, and was asked to follow this article to install SVN on it: http://developer.apple.com/tools/subversionxcode.html The article assumes that only Apache 1.3 was installed and asks the reader to install Apache 2. I've since learned that the MacMini has Apache 2 already installed. So basically I've installed two versions of Apache 2. The preinstalled one has access to PHP, so I wanted to remove my version, but I'm unsure of how.
My version has httpd.conf stored at:
/usr/local/apache2/conf/httpd.conf
And the preinstalled version has it stored at:
/etc/apache2/httpd.conf, which I believe is an alias for /private/etc/apache2/httpd.conf
Thanks for your help
Delete the Apache2 folder from the location you specified, /Library/StartupItems/Apache2, and /Library/Receipts/Apache2.pkg according to:
http://www.glinder.com/bulkfiles/UNIXInfo/Apache2_Install_Guide.pdf