Mock alternating /etc/php.ini file
Hi,
I have the following scenario. I'm trying to build some php-pear package with Mock for CentOS 4.x. PHP settings within php.ini has memory_limit = 8MB. This memory limit is too low to build the package. I don't want to change php package itself. I have tried: a) package with sed to replace memory setting - fails with access denied on /etc/php.ini b) package containing own /etc/php.ini - conflicts with php-common Any ideas? Thanks, David Hrbáč -- buildsys mailing list buildsys@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/buildsys |
Mock alternating /etc/php.ini file
On Tue, 19 Oct 2010 18:30:25 +0200
David Hrbáč <hrbac.conf@seznam.cz> wrote: > Hi, > I have the following scenario. I'm trying to build some php-pear > package with Mock for CentOS 4.x. PHP settings within php.ini has > memory_limit = 8MB. This memory limit is too low to build the > package. I don't want to change php package itself. I have tried: > a) package with sed to replace memory setting - fails with access > denied on /etc/php.ini Where did you put the sed? In %post of a a package buildrequired by your php-pear package (and which itself requires php-common) - which should work, or in %prep/%build/%install of the php-pear package - which shouldn't? Paul. -- buildsys mailing list buildsys@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/buildsys |
Mock alternating /etc/php.ini file
Dne 19.10.2010 18:59, Paul Howarth napsal(a):
> In %post of a a package buildrequired by > your php-pear package Good point, thanks for the hint. DH -- buildsys mailing list buildsys@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/buildsys |
| All times are GMT. The time now is 04:05 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.