On Monday 30 January 2006 22.35, Ryan Tandy wrote:
> Dan Johansson wrote:
> >On Monday 30 January 2006 15.35, ellotheth rimmwen wrote:
> >>On 1/29/06, Dan Johansson <[EMAIL PROTECTED]> wrote:
> >>>Fatal error: Call to undefined function ctype_print()
> >>>in
> >>>/var/www/localhost/htdocs/squirrelmail/plugins/gpg/gpg_hook_functions.ph
> >>>p on line 842
> >>
> >>Did you compile PHP5 with support for the character type functions
> >>(USE="ctype")?
> >
> >Now I have (;-) But I get the same result.
> >

> >
> >Do I miss an USE-flag for ctype_print() to function correctly?
> >
> >Regards,
>
> Try re-merging Squirrelmail so it can link against the new php build.

Did not help. (:-(

The error does not seem to be Squirrelmail - but the PHP5 ebuild. I created a 
small php-script like this:
<?php
        echo ctype_print("Dan Johansson");
?>

If I execute this on the commendline like this "php <x.php" it works, but if I 
access the file through apache it does not. To further investigate I changed 
my script to:

<?php
        phpinfo();
?>

and behold, in the "apache output" it says in the "Configure Command" 
--disable-ctype and in the "commandline output" it says "ctype functions => 
enabled"

I'm now going to look into the ebuild to see why PHP5 builds the cli and 
apache2 parts differently.

-- 
Dan Johansson, <http://www.dmj.nu>
***************************************************
This message is printed on 100% recycled electrons!
***************************************************

Attachment: pgptbk7O19ouh.pgp
Description: PGP signature

Reply via email to