Hi,
In our server CentOS 5 is installed. Some of our web pages are compatible with php4 but in centOS 5 , php5 is installed and we cannot see our pages. I want to remove php5 and install php4 but i could not find php4 rpm for CentOS 5. Can anybody help me?
Thanks
Can Çizer
Can Cizer wrote:
In our server CentOS 5 is installed. Some of our web pages are compatible with php4 but in centOS 5 , php5 is installed and we cannot see our pages. I want to remove php5 and install php4 but i could not find php4 rpm for CentOS 5. Can anybody help me?
depending on what you are trying to achieve, consider setting up a Xen c4 instance inside the c5 host.
Can Cizer wrote:
Hi,
In our server CentOS 5 is installed. Some of our web pages are compatible with php4 but in centOS 5 , php5 is installed and we cannot see our pages. I want to remove php5 and install php4 but i could not find php4 rpm for CentOS 5. Can anybody help me?
Fix you pages to work with PHP5 as well as PHP4, it should be pretty easy.
Thanks
Can Çizer
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
John Allen wrote on Thu, 18 Oct 2007 15:02:48 +0100:
Fix you pages to work with PHP5 as well as PHP4, it should be pretty easy.
Indeed. Watch the error messages and then fix one by one. Most likely there's a MySQL driver problem.
Kai
This can be a solution,nevertheless the codes were not written by myself. Some of them were taken as already written. I found some php4 rpms for Centos 5. If i change php-mysql-4 rpm with php-mysql-5 , can there be any problem?
On 10/18/07, Kai Schaetzl maillists@conactive.com wrote:
John Allen wrote on Thu, 18 Oct 2007 15:02:48 +0100:
Fix you pages to work with PHP5 as well as PHP4, it should be pretty
easy.
Indeed. Watch the error messages and then fix one by one. Most likely there's a MySQL driver problem.
Kai
-- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Can Cizer wrote:
This can be a solution,nevertheless the codes were not written by myself. Some of them were taken as already written. I found some php4 rpms for Centos 5. If i change php-mysql-4 rpm with php-mysql-5 , can there be any problem?
Sure, there could be many problems ... all the other things that are included (mysql, apache, etc.) expect php-5 and not php-4.
If you have a long term requirement for php-4, you should use CnetOS-4.x (currently 4.5 ... which will be supported until 2012) instead of CentOS-5 as it contains php-4.
On 10/18/07, *Kai Schaetzl* <maillists@conactive.com mailto:maillists@conactive.com> wrote:
John Allen wrote on Thu, 18 Oct 2007 15:02:48 +0100: > Fix you pages to work with PHP5 as well as PHP4, it should be pretty easy. Indeed. Watch the error messages and then fix one by one. Most likely there's a MySQL driver problem.
Can Cizer wrote on Fri, 19 Oct 2007 10:01:53 +0300:
I found some php4 rpms for Centos 5. If i change php-mysql-4 rpm with
php-mysql-5 , can there be any problem?
Sorry, I can't answer this. If these have been built for CentOS5 they should work. You should uninstall the 5 package before you apply the 4 package and vice versa. Btw, I think I remember having heard about a PHP4 compatibility mode in 5 if I recall that right, you may want to look for more on this in the documentation on php.net.
Kai
Can Cizer wrote:
Hi,
In our server CentOS 5 is installed. Some of our web pages are compatible with php4 but in centOS 5 , php5 is installed and we cannot see our pages. I want to remove php5 and install php4 but i could not find php4 rpm for CentOS 5. Can anybody help me?
Thanks
Can Çizer
PHP 4 will no longer be supported soon and most scripts have been updated to work on PHP 5. If you still insist on using PHP 4 you can always download and build it from source. Use the checkinstall script and you can even make your own RPMs.