On Sep 27, 2008, at 2:26 AM, Mario Volke wrote:

> Hi,
>
> I think I've found a bug in the php5 (cli) package.
> I installed the php5 and the php5_cli package.
> The ini configuration files are in /sw/etc/php5/cli and in
> /sw/etc/php5/conf.d
>
> BUT
> when you type "php5 --ini" in the terminal you get:
>
> Configuration File (php.ini) Path: /etc/php5/cli
> Loaded Configuration File:         (none)
> Scan for additional .ini files in: /etc/php5/conf.d
> Additional .ini files parsed:      (none)
>
> These are the wrong paths. So I tried to understand the php5.info file
> (http://fink.cvs.sourceforge.net/fink/dists/10.4/unstable/main/finkinfo/languages/php5.info?view=markup
>  
> )
> When you look at lines 127-128
>
>  127   --with-config-file-path=%p/etc/php5/apache2 \
>  128   --with-config-file-scan-dir=%p/etc/php5/conf.d \
>
>
> everything seems to be ok. But at lines 202-203
>
>  202   --with-config-file-path=/etc/php5/cli \
>  203   --with-config-file-scan-dir=/etc/php5/conf.d \
>
>
> the paths seems to be wrong.
>
> Can someone help me. I think I'm not the only one who installed the  
> php5
> package.
>
> P.S: I have a general question:
> Will the configuration files (the php inis or the apache config files)
> be overridden everytime when I update the package?
>
>
>

They don't have to be.  Fink's ConfFiles option lets one preserve such  
files.  It's set up for apache2, but I don't think that's the case in  
php5 right now.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to