Page 1 of 1

Problem with apache & mysql version

Posted: 2011/08/08 21:03:29
by misaf
hi,
i install CentOS 6.0_i386 on my server and then install apache & mysql with command :

1.yum update

2. yum install mysql mysql-server

3. yum install httpd

but after installation, version of apache & mysql is very old, and i need install newer version

Apache 2.2.17
MySQL 5.1.56

this problem its for php anyway...

please help me :-(

Re: Problem with apache & mysql version

Posted: 2011/08/09 19:11:57
by hawaiian717
Neither of these are the correct version for CentOS 6 (or CentOS 5 for that matter). Versions included with CentOS 6 are:

Apache 2.2.15
PHP 5.3.2

Was this a clean install or did you attempt to upgrade from another distribution?

Re: Problem with apache & mysql version

Posted: 2011/08/09 20:24:20
by misaf
i used clean install,
if these are for centos 6 or 5 why on my dedicated server on hetzner.de datacenter was install apache 2.2.17 and php 5.3.6 ?

Re: Problem with apache & mysql version

Posted: 2011/08/09 22:17:45
by hawaiian717
Sorry, I misread your post's second line with the MySQL version as a PHP version. CentOS 6 comes with MySQL 5.1.47.

See this FAQ entry, which explains how package versions are handled in CentOS: Where can I get the latest version of XyZ.rpm for CentOS? I cannot find it anywhere.

Re: Problem with apache & mysql version

Posted: 2011/08/11 12:02:31
by pschaff
Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.

[quote]
misaf wrote:
i used clean install,
if these are for centos 6 or 5 why on my dedicated server on hetzner.de datacenter was install apache 2.2.17 and php 5.3.6 ?[/quote]
We can't say what the provider may have done on a dedicated server. I can find no later Apache packages for CentOS/EL-6 but the Atomic [url=http://wiki.centos.org/AdditionalResources/Repositories]repository[/url] has later PHP packages. Please note the warnings on the linked page before proceeding.

Problem with apache & mysql version

Posted: 2011/08/11 14:57:53
by gerald_clark
CentOS does not have an 'Apache' package.
It has 'httpd' 2.2.15.

If you have an 'Apache' package, you are not running CentOS.

Re: Problem with apache & mysql version

Posted: 2011/08/11 17:31:24
by pschaff
[quote]
gerald_clark wrote:
CentOS does not have an 'Apache' package.
It has 'httpd' 2.2.15.

If you have an 'Apache' package, you are not running CentOS.[/quote]
[code]
$ rpm -qip httpd-2.2.15-5.el6.centos.x86_64.rpm
Name : httpd Relocations: (not relocatable)
Version : 2.2.15 Vendor: CentOS
Release : 5.el6.centos Build Date: Thu 07 Jul 2011 06:31:46 AM EDT
Install Date: (not installed) Build Host: c6b6.bsys.dev.centos.org
Group : System Environment/Daemons Source RPM: httpd-2.2.15-5.el6.centos.src.rpm
Size : 3057369 License: ASL 2.0
Signature : RSA/8, Thu 07 Jul 2011 07:50:26 AM EDT, Key ID 0946fca2c105b9de
Packager : CentOS BuildSystem <http://bugs.centos.org>
URL : http://httpd.apache.org/
Summary : [b]Apache[/b] HTTP Server
Description :
The [b]Apache[/b] HTTP Server is a powerful, efficient, and extensible
web server.[/code]
:-)

Re: Problem with apache & mysql version

Posted: 2011/08/11 22:03:57
by misaf
yes,
i mean httpd

but in php 5.3.2 a lot of php functions was not work and in my company we have any problem with this functions.

any one known how we can install imagick on centos 6.0 ?

Re: Problem with apache & mysql version

Posted: 2011/08/11 22:13:18
by pschaff
[quote]
misaf wrote:
but in php 5.3.2 a lot of php functions was not work and in my company we have any problem with this functions.[/quote]
Do you mean [b]m[/b]any problems? CentOS-6.1 will have php-5.3.3-3.el6 - hopefully soon now - but there is no way to know if that will fix unspecified problems.

[quote]
any one known how we can install imagick on centos 6.0 ?[/quote]
EPEL has php-pecl-imagick-2.2.2-4.el6 but we are wandering rather far off the original topic. If you have additional questions not related to the httpd and mysql versions please start a fresh Topic.