[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: webcollab, php5.0 and ctype [SOLVED]



Fixed the problem.

In case somebody else is interested:

PHP loads different modules depending on how it is called. From the
command line it looks at /etc/php5.0/conf.d , when called via apache2 it
looks at /etc/php5.0/apache2/conf.d . Altough most (all?) modules are
added to /etc/php5.0/conf.d automaticaly, none are added to the apache2
setup by default. Add a link in /etc/php5.0/apache2/conf.d and restart
apache to get it working.

Nico

On Tue, 2006-01-31 at 14:05 +0100, Nico De Ranter wrote:
> Hi,
> 
> I'm trying to install webcollab running on Debian Sarge (with php5.0
> installed from http://people.debian.org/~dexter .  Webcollab depends on
> php5.0-ctype however even after installing that package (and rebooting
> just in case) ctype still doesn't seem to be available.
> 
> When I do 'php -m' I get a long list of modules but ctype is not in the
> list. there is a .ini file in the /etc/php5.0/conf.d directory that
> seems to be correct (it looks the same as for the other modules) and the
> ctype.so file is available.  Anybody any idea why ctype doesn't get
> loaded (I don't know much about php)?
> 
> # more /etc/php5.0/conf.d/500ctype.ini
> extension=ctype.so
> 
> # ls -l /usr/lib/php5.0/20041030/
> total 3748
> -rw-r--r--  1 root root   28316 Oct 27 13:34 bcmath.so
> -rw-r--r--  1 root root   12120 Oct 27 13:33 bz2.so
> -rw-r--r--  1 root root   23176 Oct 27 13:33 calendar.so
> -rw-r--r--  1 root root    9180 Oct 27 13:32 ctype.so
> ...
> 
> Thanks in advance,
> 
> Nico
> 
> -- 
> ---------------------------------------------------------
>  "It has been said that there are only two businesses that
>   refer to customers as users: illegal drug trade and
>                the computer industry."
> ---------------------------------------------------------
> Nico De Ranter
> Senior System Administrator
> Sony Service Center (NSCE)
> The Corporate Village, Da Vincilaan 7-D1
> B-1935 Zaventem, Belgium
> Telephone: +32 (0)2 700 86 41 Fax: +32 (0)2 700 86 22
> 
> 
> 
-- 
---------------------------------------------------------
 "It has been said that there are only two businesses that
  refer to customers as users: illegal drug trade and
               the computer industry."
---------------------------------------------------------
Nico De Ranter
Senior System Administrator
Sony Service Center (NSCE)
The Corporate Village, Da Vincilaan 7-D1
B-1935 Zaventem, Belgium
Telephone: +32 (0)2 700 86 41 Fax: +32 (0)2 700 86 22




Reply to: