How To Upgrade Php4 To Php5 On CentOS 4.6
Jul 7, 2008How to upgrade php4 to php5 on CentOS 4.6?
View 4 RepliesHow to upgrade php4 to php5 on CentOS 4.6?
View 4 RepliesIs it possible/advsisable to run them both on a Cpanel Server?
View 3 Replies View RelatedI'm wondering if anyone here has successfully used PHP 4 and 5 on CentOS 5 with cPanel.
I believe the OS does not have official RPMs for PHP4. Would I run into any problems if I use 3rd party RPMs?
[url]
I know it can be done, I'm just looking for any insight from someone who has tried it.
I am on a softlayer server with centos 4.x installed. I have a custom php 4.4.6 installed along with eaccelerator 0.95. This is what I need:
PHP 5 with:
zlib
jpeg
mysql
freetype
gd
my current configure string is:
'./configure'
'--with-apxs2=/usr/sbin/apxs'
'--with-mysql'
'--enable-wddx'
'--with-ldap=shared'
'--with-mysql--enable-memory-limit'
'--enable-shmop'
'--enable-calendar'
'--enable-dbx'
'--enable-dio'
'--enable-mbstring'
'--with-zlib'
'--enable-exif'
'--with-gd=/usr/local'
I want to update to PHP5, but I want to make sure I have all the extras I need. I'm also worried that if I install PHP5 that eaccelerator will break. Will that need to be reinstalled?
Could someone walk me through this procedure? I can ask SoftLayer to upgrade PHP5, but I doubt they will touch eaccelerator.
I have an apache2/php5/mysql5 setup working fine.
I need to install php4 alongside php5. In the tutorials section i saw methods for people who already have php4 installed but not php5. I need to do this the other way around,
First off my error: apache force downloads .php4 files
Background:
Im attempting to run php4 and php5 at the same time. I had php 5 installed with the server when I got it.
I have installed php 4 from the source like this:
Code:
./configure --with-apxs=/usr/local/apache/bin/apxs --prefix=/PHP4 --without-mysql
I then copied the php.ini file to /PHP4/php.ini
In my httpd.conf Im loading and adding both php 4/5 modules like so:
Code:
LoadModule php4_module libexec/libphp4.so
LoadModule php5_module libexec/libphp5.so
AddModule mod_php4.c
AddModule mod_php5.c
Then later in the httpd.conf Im trying to tell apache to handle .php4 files with PHP 4 and .php with PHP5
Code:
AddType application/x-httpd-php .php
AddType application/x-httpd-php4 .php4
I restarted apache to load the new conf. .php files still use PHP5, but for some reason .php4 files are being downloaded, not running with PHP 4.
If I use htaccess to application/x-httpd-php4 php, .php files also force download. What am I missing?
We have a client which site requires PHP4, not PHP5 to run. Can we run both PHP versions alongside each other? Apparently, their site will only work in PHP4. We are running Plesk 8.3.0 for Linux.
View 8 Replies View Relatedi am getting Internal Server Error while accessing php5 pages.
cat .htaccess
AddHandler application/x-httpd-php5 .php
Premature end of script headers: /usr/local/cpanel/cgi-sys/php5
We have a server runing both php4 + php5 and had someone set it up that way when we got the server. but now i cant find who did it for us. And would like to hear how to do it. Im not the best with this kind of stuff and thats why i hire someone to do it lasttime
I been reading on cpanel.net but nothing is up to date!
Is there any difference in performance if you upgrade from php4 to php5? Or can it reduce the average server load?
View 12 Replies View RelatedI have a client who is currently running their own linux machine and has php4 installed (mad I know ) Anyways, I have been asked to make some scripts for them, however I am wanting to use php5 rather than php4 as that is what I am accustomed to not to mention it's still got support for it. Does anyone know of any good online resources on how to upgrade to php5? or better still, how to install php5 and run both 4 and 5 on the same server (using Apache)
View 5 Replies View Relatedin latest cPanel, there is option to compile both php4 & php5. by default .php page will be parsed by php5 and .php4 will be parsed by php4 engine.
but i want to reverse the method. by default .php should be parsed by php4 engine and .phpx or .php5 should be parsed by php5 engine.
how can I do this?
can't i install apache 2x while using both php4 & php5. cPanel did not recommend apache 2x with php4.
I have an application that runs on PHP4 but the server I have has PHP5.
The server has the following packages:
php-mbstring-5.0.4-10.5
php-5.0.4-10.5
php-mysql-5.0.4-10.5
php-gd-5.0.4-10.5
php-pear-5.0.4-10.5
php-ldap-5.0.4-10.5
I need to downgrade to the following packages so I can use the application:
php-mbstring-4.3.11-2.8
php-ldap-4.3.11-2.8
php-pear-4.3.11-2.8
php-gd-4.3.11-2.8
php-4.3.11-2.8
php-mysql-4.3.11-2.8
The papplication is not available for PHP5.
When I start uninstalling packages is giving the following errors:
[root@localhost ~]# rpm -e php-5.0.4-10.5
error: Failed dependencies:
php >= 4.0.4 is needed by (installed) squirrelmail-1.4.7-4.fc4.noarch
php = 5.0.4-10.5 is needed by (installed) php-pear-5.0.4-10.5.i386
php = 5.0.4-10.5 is needed by (installed) php-mysql-5.0.4-10.5.i386
php = 5.0.4-10.5 is needed by (installed) php-mbstring-5.0.4-10.5.i386
What will be the best way to downgrade these packages?
My server currently has php 4.4.7 installed. I was wondering what potential issues (if any) there might be upgrading to 5.2.9?
Is there anything that might break code written for php4? (other than predefined functions with identical names)
I have suPHP installed in FastCGI mode. PHP5 is my default installation but I have it setup so that PHP4 can also run. At least that is my intention.
I have PHP5 working without a problem.
PHP4 is loading if I add the directinf x-httpd-php4 .php into my .htaccess file.
HOWEVER: PHP (via phpinfo) is trying to load the config file from /usr/local/etc/php5/cgi/php.ini when it should be from ....php4/cgi/php.ini
Where do I go to fix this? Or is there a second directive that I need to load in the .htaccess file?
Also... In either php5 or php4, if I put a php.ini file into a directory, it is suppose to load that one. However, it is not doing this either.
1) Download PHP 5.x and do the usual
cd /usr/local/src
[url]
2) Compile php as in a new directory such as /usr/local/php5
Use the same ./configure line required but with the following changes:
--prefix=/usr/local/php5 --exec-prefix=/usr/local/php5 --program-suffix=5 --enable-force-cgi-redirect --enable-discard-path
3) Compile and install
make
make install
IMP Steps :
cp php.ini-dist /usr/local/php5/lib/php.ini
cp /usr/local/php5/bin/php5 /usr/local/cpanel/cgi-sys/php5
chown root:wheel /usr/local/cpanel/cgi-sys/php5
4) Edit httpd.conf and add lines below::
AddHandler application/x-http-php5 .php5
Action application/x-http-php5 /cgi-sys/php5
Just use .php5 and it will invoke php5.
# CGI configuration for PHP4
Action application/x-httpd-php4 /cgi-sys/php4
AddType application/x-httpd-php4 .php4 .php .php3 .php2 .phtml
# LibPHP5 configuration
LoadModule php5_module modules/libphp5.so
AddType application/x-httpd-php .php5
I currently have PHP 4.3.11 installed on my CentOS box and would also like to have PHP 5 installed for users to enable on their domains if they wish. I know GoDaddy offers their customers the option to enable PHP 5 parsing by tweaking the htaccess file in their root directories a tad. See their knowledgebase article: [url]
I would like to do something similar but before doing so would like to know if this is even worth doing and if so, what advantages it would offer our customers who program. Do scripts written in php4x work on php5 servers? Is it to the point now where web hosts should be phasing out php4 in lieu of php5? Are there any guides for accomplishing this that might help me out?
running to Apache 2 servers and proxying one to the other isn't the way I would like to do this.
I already have PHP 4 installed on my server and now i want to install php5 on same apache instance but different port.I want to configure the system so that on one port php4 runa dn on second port PHP5 run.
View 1 Replies View RelatedCentOS - I had php4 running and php5 as cgi but then decided I wanted to have it the other way around i.e. run php5 standard and php4 as cgi.
php5 is now running fine but php4 bombed with this error:
Code:
Unexpected character in input: '?' (ASCII=15) state=1 in /usr/local/cpanel/cgi-sys/php4
I fixed it by doing the following:
EDIT php.ini file:
Normally in /usr/local/php4/lib/php.ini
Under
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;
UNCOMMENT this line
Code:
;cgi.fix_pathinfo=0
(i.e. remove the ";" infront)
and
CHANGE 0 to 1:
Code:
cgi.fix_pathinfo=1
This is for Linux and must be done with root via SSH
Not sure if this will help anyone, but I thought I'd post it anyway.
The problem appeared from register globals, in the shop oscommerce after the actualization PHP to the version 4.4.5 information appears me: FATAL ERROR: register_globals is disabled in php.ini, please enable it! and if I add: php_flag register_globals On to the file .htaccess this: one can not display page.
View 1 Replies View RelatedI have a slight problem I can manage most of the features on a VPS server, but I want to upgrade php4 to php5 on the server.
Problem is I have no idea where to start, Im using plesk control panel using WebFusion hosting.
Does anyone have any idea, articles etc. I have had a look online but come up with nothing that simply walks me through what I have to do.
I upgraded to php 5.2.3 and it broke my apache somehow.
Here is the error i get in WHM when tring to restart.
Code:
Waiting for httpd to restart.... . . . . . . . . . . finished.
httpd statusroot 14613 1.0 2.1 23736 22060 ? S 02:55 0:00 /usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd
root 14626 1.2 1.0 20896 10408 ? Ss 02:55 0:00 /usr/local/apache/bin/httpd -DSSL
httpd: [ != HTTP/1..] httpd has failed, please contact the sysadmin
Im running CentOS with apache 1.3 and trying to run Php5 with whm 11.2.0 and cpanel 11.6.0.
Ive tried everything from loading the least amount of modules to trying to go back to php 4.3 but nothing seems to work and i get the same error no matter which way i go.
My zend is the latest required for php5 too.
Here is a tail from my apache error log.
Code:
[Sat Aug 4 02:55:13 2007] [notice] FastCGI: process manager initialized (pid 14627)
[Sat Aug 4 02:55:13 2007] [notice] Apache/1.3.37 (Unix) PHP/5.2.3 mod_gzip/1.3.26.1a mod_fastcgi/2.4.2 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 F$
[Sat Aug 4 02:55:13 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Sat Aug 4 02:55:13 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sat Aug 4 02:55:28 2007] [notice] child pid 14633 exit signal Segmentation fault (11)
[Sat Aug 4 02:56:14 2007] [notice] child pid 14634 exit signal Segmentation fault (11)
I have apache 1.3 and PHP 4.4 installed on my CentOS 4.4
Can I install apache 2.2 and PHP 5.x on the same server? I want to test my scripts for compatibility and also to check the performance.
I dont want to break my current setup because it's a production server.
how do i install php5 on my linux vps centos OS i want to do that installing because right now using php4 and i want to upgrade to php5 and mySql 5 to my vps. i'm on self managed/unmanage server
View 10 Replies View Relatedwith installing PHP5 on CentOS? I tried this:
Quote:
$ yum --enablerepo=centosplus --exclude=php-domxml install php*
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package php-pear-Cache.noarch 0:1.5.5-0.1.RC4.el4.centos set to be updated
---> Package php-odbc.x86_64 0:5.1.6-3.el4s1.7 set to be updated
---> Package php-pear-Net-Curl.noarch 0:1.2.3-2.el4.centos set to be updated
---> Package php-mhash.x86_64 0:5.1.6-1.el4.centos set to be updated
---> Package php-dbase.x86_64 0:5.1.6-1.el4.centos set to be updated
---> Package php-mysql.x86_64 0:5.1.6-3.el4s1.7 set to be updated
---> Package php-gd.x86_64 0:5.1.6-3.el4s1.7 set to be updated
---> Package php-pear-XML-Beautifier.noarch 0:1.1-1.el4.centos set to be updated
---> Package php-mcrypt.x86_64 0:5.1.6-1.el4.centos set to be updated
---> Package php-pear-HTTP.noarch 0:1.4.0-7.el4.centos set to be updated
---> Package php-xml.x86_64 0:5.1.6-3.el4s1.7 set to be updated
---> Package php-pear-XML-Serializer.noarch 0:0.18.0-2.el4.centos set to be updated
---> Package php-pecl-apc.x86_64 0:3.0.12-1.el4.centos set to be updated
---> Package php-pear-Validate-Finance-CreditCard.noarch 0:0.5.2-1.el4.centos set to be updated
---> Package php-pear-Date.noarch 0:1.4.6-1.el4.centos set to be updated
---> Package php-pear-XML-Parser.noarch 0:1.2.7-4.el4.centos set to be updated
---> Package php-soap.x86_64 0:5.1.6-3.el4s1.7 set to be updated
---> Package php-pear-Net-Socket.noarch 0:1.0.6-5.el4.centos set to be updated
---> Package php-pear-XML-Util.noarch 0:1.1.1-1.el4.centos set to be updated
---> Package php-pgsql.x86_64 0:5.1.6-3.el4s1.7 set to be updated
---> Package php-pear-MDB2.noarch 0:2.2.2-2.el4.centos set to be updated
---> Package php-eaccelerator.x86_64 0:5.1.6_0.9.5-1.el4.centos set to be updated
---> Package php-pear-PHP-Compat.noarch 0:1.5.0-1.el4.centos.1 set to be updated
---> Package php-pear-HTTP-Request.noarch 0:1.4.0-1.el4.centos set to be updated
---> Package php-pecl-mailparse.x86_64 0:2.1.1-4.el4.centos set to be updated
---> Package php-pear-XML-RSS.noarch 0:0.9.10-2.el4.centos set to be updated
---> Package php-dba.x86_64 0:5.1.6-3.el4s1.7 set to be updated
---> Package php-common.x86_64 0:5.1.6-3.el4s1.7 set to be updated
---> Package php-ncurses.x86_64 0:5.1.6-3.el4s1.7 set to be updated
---> Package php-pear-HTML-Table.noarch 0:1.7.5-1.el4.centos set to be updated
---> Package php.x86_64 0:5.1.6-3.el4s1.7 set to be updated
---> Package php-pear-DB.noarch 0:1.7.6-6.el4.centos set to be updated
---> Package php-pear-Mail-Mime.noarch 0:1.3.1-8.el4.centos set to be updated
---> Package php-pear-Auth-SASL.noarch 0:1.0.2-4.el4.centos set to be updated
---> Package php-pear-Mail.noarch 0:1.1.14-1.el4.centos set to be updated
---> Package php-pear-PHPUnit.noarch 0:1.3.2-1.el4.centos.1 set to be updated
---> Package php-pear-Net-URL.noarch 0:1.0.14-1.el4.centos set to be updated
---> Package php-pear-Console-Table.noarch 0:1.0.5-2.el4.centos.1 set to be updated
---> Package php-pear-Net-DIME.noarch 0:0.3-1.el4.centos set to be updated
---> Package php-pear-Pager.noarch 0:2.4.2-1.el4.centos set to be updated
---> Package php-pdo.x86_64 0:5.1.6-3.el4s1.7 set to be updated
---> Package php-pear-Log.noarch 0:1.9.9-1.el4.centos set to be updated
---> Package php-bcmath.x86_64 0:5.1.6-3.el4s1.7 set to be updated
---> Package php-pear-Benchmark.noarch 0:1.2.6-1.el4.centos set to be updated
---> Package php-snmp.x86_64 0:5.1.6-3.el4s1.7 set to be updated
---> Package php-pear-Net-SMTP.noarch 0:1.2.8-5.el4.centos set to be updated
---> Package php-pear.noarch 1:1.4.11-1.el4s1.1 set to be updated
---> Package php-xmlrpc.x86_64 0:5.1.6-3.el4s1.7 set to be updated
---> Package php-pear-DB-QueryTool.noarch 0:1.0.3-1.el4.centos set to be updated
---> Package php-pear-PHPUnit2.noarch 0:2.3.6-1.el4.centos set to be updated
---> Package php-devel.x86_64 0:5.1.6-3.el4s1.7 set to be updated
---> Package php-mbstring.x86_64 0:5.1.6-3.el4s1.7 set to be updated
---> Package php-pear-Payment-Process.noarch 0:0.6.5-1.el4.centos set to be updated
---> Package php-pear-Net-FTP.noarch 0:1.3.2-1.el4.centos set to be updated
---> Package php-pear.x86_64 0:4.3.9-3.22.5 set to be updated
---> Package php-cli.x86_64 0:5.1.6-3.el4s1.7 set to be updated
---> Package php-readline.x86_64 0:5.1.6-1.el4.centos set to be updated
---> Package php-pear-Console-Getargs.noarch 0:1.3.3-1.el4.centos set to be updated
---> Package php-imap.x86_64 0:5.1.6-3.el4s1.7 set to be updated
---> Package php-pecl-zip.x86_64 0:1.8.0-1.el4.centos set to be updated
---> Package php-pear-Validate.noarch 0:0.6.4-1.el4.centos set to be updated
---> Package php-pear-Date-Holidays.noarch 0:0.16.1-1.el4.centos set to be updated
---> Package php-pear-HTML-Common.noarch 0:1.2.3-2.el4.centos set to be updated
---> Package php-pear-PHP-CompatInfo.noarch 0:1.4.0-1.el4.centos set to be updated
---> Package php-ldap.x86_64 0:5.1.6-3.el4s1.7 set to be updated
---> Package php-pear-Image-GraphViz.noarch 0:1.2.1-1.el4.centos set to be updated
---> Package php-tidy.x86_64 0:5.1.6-1.el4.centos set to be updated
--> Running transaction check
--> Processing Conflict: php-pecl-apc conflicts php-eaccelerator
--> Processing Dependency: autoconf for package: php-devel
--> Processing Dependency: libexslt.so.0()(64bit) for package: php-xml
--> Processing Dependency: libmcrypt.so.4()(64bit) for package: php-mcrypt
--> Processing Dependency: php-pecl(Xdebug) for package: php-pear-PHPUnit2
--> Processing Dependency: graphviz for package: php-pear-Image-GraphViz
--> Processing Dependency: libmhash.so.2()(64bit) for package: php-mhash
--> Processing Dependency: net-snmp for package: php-snmp
--> Processing Dependency: libpq.so.4()(64bit) for package: php-pgsql
--> Processing Dependency: libltdl.so.3()(64bit) for package: php-mcrypt
--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: php-mysql
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-pear
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: php-mysql
--> Processing Dependency: automake for package: php-devel
--> Processing Dependency: libnetsnmp.so.5()(64bit) for package: php-snmp
--> Processing Dependency: libtidy-0.99.so.0()(64bit) for package: php-tidy
--> Processing Dependency: libxslt.so.1()(64bit) for package: php-xml
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package libtidy.x86_64 0:0.99.0-9.20051025.el4.centos.3 set to be updated
---> Package postgresql-libs.x86_64 0:8.1.9-1.el4s1.1 set to be updated
---> Package net-snmp-libs.x86_64 0:5.1.2-11.EL4.10 set to be updated
---> Package libxslt.x86_64 0:1.1.11-1 set to be updated
---> Package libtool-libs.x86_64 0:1.5.6-4.EL4.1.c4.4 set to be updated
---> Package autoconf.noarch 0:2.59-5 set to be updated
---> Package automake.noarch 0:1.9.2-3 set to be updated
---> Package mysql.x86_64 0:5.0.27-1.el4.centos set to be updated
---> Package net-snmp.x86_64 0:5.1.2-11.EL4.10 set to be updated
---> Package libmcrypt.x86_64 0:2.5.7-4.el4.centos set to be updated
---> Package mhash.x86_64 0:0.9.2-4 set to be updated
--> Running transaction check
--> Processing Conflict: php-pecl-apc conflicts php-eaccelerator
--> Processing Dependency: libgpg-error.so.0()(64bit) for package: libxslt
--> Processing Dependency: php-pecl(Xdebug) for package: php-pear-PHPUnit2
--> Processing Dependency: libgcrypt.so.11()(64bit) for package: libxslt
--> Processing Dependency: graphviz for package: php-pear-Image-GraphViz
--> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14)(64bit) for package: mysql-server
--> Processing Dependency: mysql = 4.1.20-2.RHEL4.1 for package: mysql-server
--> Processing Dependency: libpq.so.3()(64bit) for package: dovecot
--> Processing Dependency: libmysqlclient.so.14()(64bit) for package: mysql-server
--> Processing Dependency: libmysqlclient_r.so.14()(64bit) for package: mysql-server
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-pear
--> Processing Dependency: mysql = 4.1.20-2.RHEL4.1 for package: mysql-devel
--> Processing Dependency: libmysqlclient.so.14()(64bit) for package: perl-DBD-MySQL
--> Processing Dependency: libmysqlclient_r.so.14(libmysqlclient_14)(64bit) for package: mysql-server
--> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14)(64bit) for package: dovecot
--> Processing Dependency: libmysqlclient.so.14()(64bit) for package: dovecot
--> Processing Dependency: m4 for package: autoconf
--> Processing Dependency: libsensors.so.3()(64bit) for package: net-snmp
--> Processing Dependency: libgcrypt.so.11(GCRYPT_1.2)(64bit) for package: libxslt
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package mysqlclient14.x86_64 0:4.1.22-1.el4s1.1 set to be updated
---> Package postgresqlclient7.x86_64 0:7.4.14-1.el4s1.1.el4.centos set to be updated
---> Package mysql-server.x86_64 0:5.0.27-1.el4.centos set to be updated
---> Package m4.x86_64 0:1.4.1-16 set to be updated
---> Package lm_sensors.x86_64 0:2.8.7-2.40.3 set to be updated
---> Package libgcrypt.x86_64 0:1.2.0-3 set to be updated
---> Package mysql-devel.x86_64 0:5.0.27-1.el4.centos set to be updated
---> Package perl-DBD-MySQL.x86_64 0:3.0008-1.el4.centos set to be updated
---> Package libgpg-error.x86_64 0:1.0-1 set to be updated
--> Running transaction check
--> Processing Conflict: php-pecl-apc conflicts php-eaccelerator
--> Processing Dependency: php-pecl(Xdebug) for package: php-pear-PHPUnit2
--> Processing Dependency: graphviz for package: php-pear-Image-GraphViz
--> Processing Dependency: perl(:MODULE_COMPAT_5.8.8) for package: perl-DBD-MySQL
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-pear
--> Processing Dependency: kernel-utils for package: lm_sensors
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package kernel-utils.x86_64 1:2.4-13.1.99 set to be updated
---> Package perl.x86_64 4:5.8.8-4.el4s1 set to be updated
--> Running transaction check
--> Processing Conflict: php-pecl-apc conflicts php-eaccelerator
--> Processing Dependency: graphviz for package: php-pear-Image-GraphViz
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-pear
--> Processing Dependency: php-pecl(Xdebug) for package: php-pear-PHPUnit2
--> Finished Dependency Resolution
Error: php-pecl-apc conflicts with php-eaccelerator
Error: Missing Dependency: php-pecl(Xdebug) is needed by package php-pear-PHPUnit2
Error: Missing Dependency: graphviz is needed by package php-pear-Image-GraphViz
Error: Missing Dependency: php = 4.3.9-3.22.5 is needed by package php-pear
Anyone know how to resolve these dependencies?
I have a server running cPanel.
At the moment, I am been hosted on an unmanaged server (dedicated).
My server provider is offering $25/hour for managed support.
My Kernal and Centos have not been updated for a while and I am looking to upgrade both of them. I am wondering how long would these 2 jobs normally take?
I'm trying to upgrade centos 3.8 to 4.5 but seem stuck here
I did a :
yum update --all
(nothing to be upgraded)
root@server [~]# rpm -Uvh --force yum-2.4.3-3.el4.centos.noarch.rpm centos-release-4-4.3.i386.rpm
error: Failed dependencies:
python-elementtree is needed by yum-2.4.3-3.el4.centos
python-sqlite is needed by yum-2.4.3-3.el4.centos
root@server [~]# rpm -Uvh [url]
Retrieving [url]
error: Failed dependencies:
python-abi = 2.3 is needed by python-elementtree-1.2.6-5.el4.centos
root@server [~]# rpm -Uvh [url]
Retrieving
[url]
error: Failed dependencies:
libsqlite3.so.0 is needed by python-sqlite-1.1.7-1.2.1
I wanted the database to 5.0.67-community version last update and do the best version available. OS: CENTOS 5.3 i686 standard is. And PHP version 5.2.9 and Kernel version 2.6.18-128.1.6.el5 I can version this database to mysql-5.1.35 updates can If you can help there. and if this is not good please help me that what version that this current version is better I do updates. You're commands and write how it can be done.
View 14 Replies View Relatedwhy a VPS host wouldn't upgrade a VPS from CentOS 4.7 to 5.4? Is there some technical explanation that I'm not privy to?
Hello,
Unfortunately we cannot upgrade the OS on our VPS product. If you would like to go up to CentOS 5, you will need to purchase a dedicated server and we would then be able to migrate all of your accounts to that dedicated server.
Is this something you are interested in? I can get you over to our sales team to discuss getting a dedicated server if you would like.
Regards,
xxxxxxxxxxx
I replied asking if they offered CentOS 5 VPS and this was his reply:
Hello,
Yes, that is correct. As far as I know, that is in development, but I couldn't even begin to speculate when that will be finalized.
Did you wish to be upgraded to a dedicated server?
Regards,
xxxxxxxxxxx
Aside from the extremely annoying upsell at the end of each e.mail, I'm inclined to think I'm going to have to change VPS providers.
With Windows, it's simple to know when you need to upgrade the memory on a server. On Linux, apparently alot of RAM is reserved for cache?
Anyways, I currently have 2GB of RAM in a server and am wondering when the RAM should be upgraded. The server has became quite unstable and server load is always below 2, usually around 0.60 - 1.20.
Here's the current memory usage from PHPSysInfo (picture below):
[url]
Would you recommend I upgrade the RAM to help with stability?
I am planning on upgrading to php 5. I really don't need to upgrade to mysql 5 but do you guys think I will face problems with PHP 5.2.9 and Mysql 4.1.20 working together...
I am planning on doing the upgrade like this (if I decide to upgrade PHP and MYSQL all together)
1. STEP
nano /etc/yum.repos.d/CentOS-Base.repo
2. STEP
change the enabled=0 to 1 as follows
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
priority=2
protect=1
4.STEP
yum install php-xml
5.STEP
yum update httpd* php* mysql*
and restart the server do you guys think I will face any problems.
If I am only upgrading the php to latest I am planning on doing
1.STEP
I will do the 2.STEP above
2.STEP
wget -q -O - http://www.atomicorp.com/installers/atomic.sh |sh
yum install php-xml php-pdo
yum install php-pear
mv /etc/php.ini.rpmnew /etc/php.ini
and reboot