Hi,

You gave me the right hint. I did not have ctype support built in into my
PHP.
The code is now running on a different server with ctype support. Now
everything is working fine.

Thanks very much for your help,
Rolf




Michael Patrick-3 wrote:
> 
> rolfneumann2 wrote:
>> This call to ctype_alnum is done by Zend_Filter::isAlnum so it now finds
>> the
>> class definition. It looks as if i don't have ctype support built in. The
>> PHP online manual tells me that since version 4.3.0 this should be built
>> in.
>> I checked my version again, its 5.1.2 (not 5.1.6 as stated first). But
>> still
>> no ctype support.
> 
> "Beginning with PHP 4.2.0 these functions are enabled by default. For 
> older versions you have to configure and compile PHP with 
> --enable-ctype. You can disable ctype support with --disable-ctype.
> 
> The windows version of PHP has built in support for this extension. You 
> do not need to load any additional extension in order to use these 
> functions.
> 
>      Note: Builtin support for ctype is available with PHP 4.3.0."
> 
> 
> I take that line about 4.3.0 to apply to the Windows version of the 
> pre-compiled binaries, which are configured a certain way at compile time.
> 
> The section 'beginning with PHP 4.2.0...' above indicates that for a 
> stock, from PHP.net source build of PHP that the ctype extension would 
> be enabled.  Your webhost may or may not ( probably not ) be running a 
> stock, from source build of PHP.  More likely they are running a package 
> that came with their OS distribution and might be configured differently 
> than the stock PHP.net version.
> 
> For example, the FreeBSD port of PHP that I run includes the config 
> argument --disable-all which shuts off the extensions.  I can then 
> install just the I want ( this is how I have ctype on my system ).
> 
> To see a list of what extensions you have access to, do a page with 
> phpinfo();  in it.  You'll get a long HTML page with stuff like
> 
> BZip2 Support         Enabled
> Stream Wrapper support        compress.bz2://
> Stream Filter support         bzip2.decompress, bzip2.compress
> BZip2 Version         1.0.2, 30-Dec-2001
> ctype functions       enabled
> date/time support     enabled
> 
> If phpinfo(); doesn't show ctype then you may want to follow whatever 
> process your webhost has for people to request additional extensions. 
> If you look at the top of the phpinfo(); dump you should have a system
> line
> 
> FreeBSD server.domain.org 4.10-STABLE FreeBSD 4.10-STABLE #0: Thu Aug i386
> 
> which may tell you the OS, version and architecture which is information 
>   you could use to perhaps help them find the correct extension package 
> to consider.
> 
> Michael
> p.s. I am aware I use the words may, maybe, likely, probably quite a bit 
> in this e-mail.. its just the result of dealing with an unknown entity ( 
> your web host ).
> 
> 

-- 
View this message in context: 
http://www.nabble.com/static-call-Zend_Filter%3A%3AisRegex-does-not-work-tf2340320s16154.html#a6582859
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to