Dear Karel,

Thank you very much for your suggestion.
To follow up your suggestion, I install FC4. The php file in Fedora Core 4 are:
[root@sip ~]# rpm -qa|grep php
php-bcmath-5.0.4-10
php-odbc-5.0.4-10
php-soap-5.0.4-10
php-5.0.4-10
php-snmp-5.0.4-10
php-ldap-5.0.4-10
php-dba-5.0.4-10
php-xmlrpc-5.0.4-10
php-imap-5.0.4-10
php-gd-5.0.4-10
php-pear-5.0.4-10
php-ncurses-5.0.4-10
php-pgsql-5.0.4-10
php-mbstring-5.0.4-10
php-mysql-5.0.4-10
php-xml-5.0.4-10
php-devel-5.0.4-10
[root@sip ~]# rpm -qa|grep mysql
mod_auth_mysql-2.6.1-4
mysql-bench-4.1.11-2
mysql-server-4.1.11-2
mysql-devel-4.1.11-2
mysqlclient10-devel-3.23.58-6
freeradius-mysql-1.0.2-2
mysql-4.1.11-2
libdbi-dbd-mysql-0.7.1-3
php-mysql-5.0.4-10
mysqlclient10-3.23.58-6
[root@sip ~]#
Then, I tried to install serweb again. But I have still have error message. This is the error message :

[root@sip httpd]# tail -f error_log
[Wed Sep 13 17:44:23 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Wed Sep 13 17:44:23 2006] [notice] LDAP: SSL support unavailable
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/classkit.so' - /usr/lib/php/modules/classkit.so: cannot open shared object file: Permission denied in Unknown on line 0
[Wed Sep 13 17:44:23 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Sep 13 17:44:24 2006] [notice] Apache/2.0.54 (Fedora) configured -- resuming normal operations
[Wed Sep 13 17:44:52 2006] [error] [client 202.95.149.251] File does not exist: /var/www/html/serweb/htmladmin
[Wed Sep 13 17:44:52 2006] [error] [client 202.95.149.251] File does not exist: /var/www/html/favicon.ico
[Wed Sep 13 17:46:50 2006] [error] [client 202.95.149.251] File does not exist: /var/www/html/favicon.ico
[Wed Sep 13 17:46:56 2006] [error] [client 202.95.149.251] File does not exist: /var/www/html/serweb/htmladmin, referer: http://sip.pcr.ac.id/serweb/
[Wed Sep 13 17:46:57 2006] [error] [client 202.95.149.251] File does not exist: /var/www/html/favicon.ico

I have tried top analyze the error, but I can not. What`s wrong?
I have add "extension=classkit.so" in php.ini and I have tried to change owner of classkit.so file :
# chown apache classkit.so
# chmod 777 classkit.so

But, still doesn`t work. What happen? Would you mind help me again, Karel...Please


Thank you very much.

Regards,


Ferianto


Karel Kozlik <karel@iptel.org> wrote:
Hi,
yes this is the bug in classkit extension. It does not work correctly in
php5.1. So I suggest to downgrade to php 5.0 (or 4.x - there you do not
need classkit extension)

Karel

Ferianto siregar napsal(a):
> Dear all,
>
> Thank you very much to Karel Kozlik and all of you who always
> kind-hearted to help me. Thank you very much.
>
> Karel, I have tried your suggestion in installing serweb. I have
> installed the DB-1.7.6 and classkit-0.4 .
> This is the installation message :
> Build complete.
> (It is safe to ignore warnings about tempnam and tmpnam).
>
> running: make
> INSTALL_ROOT="/var/tmp/pear-build-root/install-classkit-0.4" insta ll
> Installing shared extensions:
> /var/tmp/pear-build-root/install-classkit-0.4/ usr/lib/php/modules/
> running: find "/var/tmp/pear-build-root/install-classkit-0.4" -ls
> 362402 8 drwxr-xr-x 3 root root 4096 Sep 12 16:54
> /var/tmp/pear -build-root/install-classkit-0.4
> 362423 8 drwxr-xr-x 3 root root 4096 Sep 12 16:54
> /var/tmp/pear -build-root/install-classkit-0.4/usr
> 362424 8 drwxr-xr-x 3 root root 4096 Sep 12 16:54
> /var/tmp/pear -build-root/install-classkit-0.4/usr/lib
> 362425 8 drwxr-xr-x 3 root root 4096 Sep 12 16:54
> /var/tmp/pear -build-root/install-classkit-0.4/usr/lib/php
> 362426 8 drwxr-xr-x 2 root root 4096 Sep 12 16:54
> /var/tmp/pear -build-root/install-classkit-0.4/usr/lib/php/modules
> 362422 60 -rwxr-xr-x 1 root root 49885 Sep 12 16:54
> /var/tmp/pear
> -build-root/install-classkit-0.4/usr/lib/php/modules/classkit.so
>
> Build process completed successfully
> Installing
> '/var/tmp/pear-build-root/install-classkit-0.4//usr/lib/php/modules/c
> lasskit.so'
> install ok: classkit 0.4
> Segmentation fault
> But when I tried to run it in the browser, the error message.
> The message says :
> Function aggregate_methods() doesn't exists. Try install Classkit
> extension. http://pecl.php.net/package/classkit
> I have add "extension=classkit.so" in php.ini file. But why this message
> still appear?
> When I tried to look the error_log file in /var/log/httpd/, I got this
> error message:
>
> [Tue Sep 12 16:59:45 2006] [notice] Digest: generating secret for digest
> authentication ...
> [Tue Sep 12 16:59:45 2006] [notice] Digest: done
> [Tue Sep 12 16:59:45 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
> [Tue Sep 12 16:59:45 2006] [notice] LDAP: SSL support unavailable
> PHP Warning: PHP Startup: Unable to load dynamic library
> '/usr/lib/php/modules/classkit.so' - /usr/lib/php/modules/classkit.so:
> cannot open shared object file: Permission denied in Unknown on line 0
> [Tue Sep 12 16:59:45 2006] [notice] mod_python: Creating 4 session
> mutexes based on 256 max processes and 0 max threads.
> [Tue Sep 12 16:59:45 2006] [notice] Apache/2.0.54 (Fedora) configured --
> resuming normal operations
> [Tue Sep 12 17:00:04 2006] [error] [client 202.95.149.251] File does not
> exist: /var/www/serweb/html/favicon.ico
> [Tue Sep 12 17:00:12 2006] [error] [client 202.95.149.251] File does not
> exist: /var/www/serweb/html/favicon.ico
> Sep 12 11:56:07 sip kernel: audit(1158036967.878:16): avc: denied {
> read } for pid=2958 comm="httpd" name="classkit.so" dev=hdb6
> ino=1499281 scontext=root:system_r:httpd_t:s0
> tcontext=root:object_r:tmp_t:s0 tclass=file
> Sep 12 11:56:07 sip kernel: audit(1158036967.878:17): avc: denied {
> read } for pid=2958 comm="httpd" name="classkit.so" dev=hdb6
> ino=1499281 scontext=root:system_r:httpd_t:s0
> tcontext=root:object_r:tmp_t:s0 tclass=file
> Sep 12 11:56:11 sip kernel: audit(1158036971.482:18): avc: denied {
> read } for pid=2978 comm="httpd" name="classkit.so" dev=hdb6
> ino=1499281 scontext=root:system_r:httpd_t:s0
> tcontext=root:object_r:tmp_t:s0 tclass=file
> Sep 12 11:56:11 sip kernel: audit(1158036971.482:19): avc: denied {
> read } for pid=2978 comm="httpd" name="classkit.so" dev=hdb6
> ino=1499281 scontext=root:system_r:httpd_t:s0
> tcontext=root:object_r:tmp_t:s0 tclass=file
> As I read from the error message, the file classkit.so can not be
> loaded? Why? Would you mind give me a solution? Please....
>
> Thank you very much,
>
> Regards,
>
>
> Ferianto
>
> */
> Karel Kozlik /* wrote:
>
> Hi,
>
> > Thank you much for your help. I am very happy to read this relpy
> message
> > from you . Thanks you..thank you very much.
> > Karel, may I ask you again..Please..
> > What you mean by pear library?
> > I am using Fedora Core 5 and I found these packages are installed
> in my
>
> sorry, I don't know Fedora
>
> >
> > Do you mean that pear library is *php-pear-1.4.6-2 *that is
> installed?
>
> I think so.
>
> Karel
>
> > or I have install pear again?
> > Please help me..Karel.. I too lack. Please...
> >
> > Thank you very much..Thank you.
> >
> >
> > Regards,
> >
> > Ferianto
> >
> > */Karel Kozlik /* wrote:
> >
> > Hi,
> >
> > > 1. I have downloaded from pear.net the DB packet. The version
> of the
> > > packet is DB-1.7.6. I have untar it in root directory. I can
> > found the
> > > file DB.php in it. But I am confused, where should I place this
> > > DB.php file? So I can solve this error? Would ypu mind telling
> > me..Please..
> > > Sould I have internet connection to install it? Because I do not
> > have
> > > internet connection now.
> >
> > Please read the documentation!
> > http://pear.php.net/manual/en/installation.cli.php
> >
> > You should not untar the file in clasic way. You should use:
> > pear install .tgz
> > instead. You have to have 'pear' binary installed before, of
> course. I
> > don't know what OS are you useing. There should be some package
> > containing the 'pear' binary. If there is not, read the instructions
> > here:
> > http://pear.php.net/manual/en/installation.getting.php
> >
> >
> > > 2. Would you mind telling me what you mean by "fix include_path
> > in your
> > > php.ini".
> > > Would you mind give me an example? Please...
> >
> > This mean if you have your pear library in diferent directory (e.g.
> > /usr/share/foo/bar/pear) you have to append this directory to
> > 'include_path' variable within php.ini (php configuration file). Read
> > the comments within php.ini for more info.
> >
> > regards Karel
> >
> >
> >
> ------------------------------------------------------------------------
> > Do you Yahoo!?
> > Everyone is raving about the all-new Yahoo! Mail.
> >
> >
>
>
> ------------------------------------------------------------------------
> Get your own web address for just $1.99/1st yr <
> http://us.rd.yahoo.com/evt=43290/*http://smallbusiness.yahoo.com/domains>.
> We'll help. Yahoo! Small Business
> .


Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.