You are here: Re: mysql5 with php4 « All PHP « IT news, forums, messages
Re: mysql5 with php4

Posted by J.O. Aho on 07/13/06 18:04

Eric wrote:

> We have a restriction on where we install from. We will loose our
> security certification if we stay too for from rhel's repo.

I'm not sure how far FC are considered from RHEL, but in my personal opinion
it's not that far as FC is the development environment for RHEL. but of course
check this up with those certificating you. But as you have from another RHEL
mysql5, then there shouldn't be an issue, was more thinking if you got the RPM
from mysql.com, which isn't fully compatible with RH.


> I had trouble when i try to recompile all of php.
> rpmbuild -ba php.spec
> ...
> /usr/src/redhat/BUILD/php-4.3.2
> + install -m 755 -d /var/tmp/php-root/etc/
> + install -m 644 php.ini-dist /var/tmp/php-root/etc/php.ini
> + install -m 755 -d /var/tmp/php-root/usr/lib/httpd/modules
> + install -m 755 build-apache/libs/libphp4.so
> /var/tmp/php-root/usr/lib/httpd/modules
> install: cannot stat `build-apache/libs/libphp4.so': No such file or
> directory
> error: Bad exit status from /var/tmp/rpm-tmp.45089 (%install)

Check if the libphp4.so has been placed somewhere else, I think it's placed
in /var/tmp/php-root/usr/lib/httpd/modules, and in such case I would comment
out the line
install -m 755 build-apache/libs/libphp4.so
in the php.spec.


> rpm -qa |grep httpd
> httpd-devel-2.0.46-56.ent
> httpd-2.0.46-56.ent

Not sure how it's in RHEL/FC nowadays, but on my installation modules for
apache2 is placed in /usr/lib/httpd/modules and not /etc/httpd/modules as it
used to be for apache1.3.


//Aho

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация