Dear Karel,<br><br>Thank you very much for your suggestion. <br>To follow up your suggestion, I install FC4. The php file in Fedora Core 4 are:<br> <div class="MsoPlainText"><span style="font-family: "Arial Unicode MS";">[root@sip ~]# rpm -qa|grep php<br> php-bcmath-5.0.4-10<br> php-odbc-5.0.4-10<br> php-soap-5.0.4-10<br> php-5.0.4-10<br> php-snmp-5.0.4-10<br> php-ldap-5.0.4-10<br> php-dba-5.0.4-10<br> php-xmlrpc-5.0.4-10<br> php-imap-5.0.4-10<br> php-gd-5.0.4-10<br> php-pear-5.0.4-10<br> php-ncurses-5.0.4-10<br> php-pgsql-5.0.4-10<br> php-mbstring-5.0.4-10<br> php-mysql-5.0.4-10<br> php-xml-5.0.4-10<br> php-devel-5.0.4-10<br> [root@sip ~]# rpm -qa|grep mysql<br> mod_auth_mysql-2.6.1-4<br> mysql-bench-4.1.11-2<br> mysql-server-4.1.11-2<br> mysql-devel-4.1.11-2<br> mysqlclient10-devel-3.23.58-6<br> freeradius-mysql-1.0.2-2<br> mysql-4.1.11-2<br> libdbi-dbd-mysql-0.7.1-3<br> php-mysql-5.0.4-10<br> mysqlclient10-3.23.58-6<br> [root@sip ~]#<br> </span></div> Then, I
tried to install serweb again. But I have still have error message. This is the error message :<br><br>[root@sip httpd]# tail -f error_log<br>[Wed Sep 13 17:44:23 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK<br>[Wed Sep 13 17:44:23 2006] [notice] LDAP: SSL support unavailable<br>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<br>[Wed Sep 13 17:44:23 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.<br>[Wed Sep 13 17:44:24 2006] [notice] Apache/2.0.54 (Fedora) configured -- resuming normal operations<br>[Wed Sep 13 17:44:52 2006] [error] [client 202.95.149.251] File does not exist: /var/www/html/serweb/htmladmin<br>[Wed Sep 13 17:44:52 2006] [error] [client 202.95.149.251] File does not exist: /var/www/html/favicon.ico<br>[Wed Sep 13 17:46:50 2006] [error] [client
202.95.149.251] File does not exist: /var/www/html/favicon.ico<br>[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/<br>[Wed Sep 13 17:46:57 2006] [error] [client 202.95.149.251] File does not exist: /var/www/html/favicon.ico<br><br>I have tried top analyze the error, but I can not. What`s wrong?<br>I have add "extension=classkit.so" in php.ini and I have tried to change owner of classkit.so file :<br># chown apache classkit.so<br># chmod 777 classkit.so<br><br>But, still doesn`t work. What happen? Would you mind help me again, Karel...Please<br><br><br>Thank you very much.<br><br>Regards,<br><br><br>Ferianto<br><br><br><b><i>Karel Kozlik <karel@iptel.org></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Hi,<br>yes this is the bug in classkit extension. It does not work correctly in
<br>php5.1. So I suggest to downgrade to php 5.0 (or 4.x - there you do not <br>need classkit extension)<br><br>Karel<br><br>Ferianto siregar napsal(a):<br>> Dear all,<br>> <br>> Thank you very much to Karel Kozlik and all of you who always <br>> kind-hearted to help me. Thank you very much.<br>> <br>> Karel, I have tried your suggestion in installing serweb. I have <br>> installed the DB-1.7.6 and classkit-0.4 .<br>> This is the installation message :<br>> Build complete.<br>> (It is safe to ignore warnings about tempnam and tmpnam).<br>> <br>> running: make <br>> INSTALL_ROOT="/var/tmp/pear-build-root/install-classkit-0.4" insta ll<br>> Installing shared extensions: <br>> /var/tmp/pear-build-root/install-classkit-0.4/ usr/lib/php/modules/<br>> running: find "/var/tmp/pear-build-root/install-classkit-0.4" -ls<br>> 362402 8 drwxr-xr-x 3 root root 4096 Sep 12 16:54 <br>>
/var/tmp/pear -build-root/install-classkit-0.4<br>> 362423 8 drwxr-xr-x 3 root root 4096 Sep 12 16:54 <br>> /var/tmp/pear -build-root/install-classkit-0.4/usr<br>> 362424 8 drwxr-xr-x 3 root root 4096 Sep 12 16:54 <br>> /var/tmp/pear -build-root/install-classkit-0.4/usr/lib<br>> 362425 8 drwxr-xr-x 3 root root 4096 Sep 12 16:54 <br>> /var/tmp/pear -build-root/install-classkit-0.4/usr/lib/php<br>> 362426 8 drwxr-xr-x 2 root root 4096 Sep 12 16:54 <br>> /var/tmp/pear -build-root/install-classkit-0.4/usr/lib/php/modules<br>> 362422 60 -rwxr-xr-x 1 root root 49885 Sep 12 16:54 <br>> /var/tmp/pear <br>> -build-root/install-classkit-0.4/usr/lib/php/modules/classkit.so<br>> <br>> Build process completed successfully<br>> Installing <br>> '/var/tmp/pear-build-root/install-classkit-0.4//usr/lib/php/modules/c <br>> lasskit.so'<br>> install ok:
classkit 0.4<br>> Segmentation fault<br>> But when I tried to run it in the browser, the error message.<br>> The message says :<br>> Function aggregate_methods() doesn't exists. Try install Classkit <br>> extension. http://pecl.php.net/package/classkit<br>> I have add "extension=classkit.so" in php.ini file. But why this message <br>> still appear?<br>> When I tried to look the error_log file in /var/log/httpd/, I got this <br>> error message:<br>> <br>> [Tue Sep 12 16:59:45 2006] [notice] Digest: generating secret for digest <br>> authentication ...<br>> [Tue Sep 12 16:59:45 2006] [notice] Digest: done<br>> [Tue Sep 12 16:59:45 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK<br>> [Tue Sep 12 16:59:45 2006] [notice] LDAP: SSL support unavailable<br>> PHP Warning: PHP Startup: Unable to load dynamic library <br>> '/usr/lib/php/modules/classkit.so' - /usr/lib/php/modules/classkit.so: <br>> cannot open shared
object file: Permission denied in Unknown on line 0<br>> [Tue Sep 12 16:59:45 2006] [notice] mod_python: Creating 4 session <br>> mutexes based on 256 max processes and 0 max threads.<br>> [Tue Sep 12 16:59:45 2006] [notice] Apache/2.0.54 (Fedora) configured -- <br>> resuming normal operations<br>> [Tue Sep 12 17:00:04 2006] [error] [client 202.95.149.251] File does not <br>> exist: /var/www/serweb/html/favicon.ico<br>> [Tue Sep 12 17:00:12 2006] [error] [client 202.95.149.251] File does not <br>> exist: /var/www/serweb/html/favicon.ico<br>> Sep 12 11:56:07 sip kernel: audit(1158036967.878:16): avc: denied { <br>> read } for pid=2958 comm="httpd" name="classkit.so" dev=hdb6 <br>> ino=1499281 scontext=root:system_r:httpd_t:s0 <br>> tcontext=root:object_r:tmp_t:s0 tclass=file<br>> Sep 12 11:56:07 sip kernel: audit(1158036967.878:17): avc: denied { <br>> read } for pid=2958 comm="httpd" name="classkit.so" dev=hdb6 <br>>
ino=1499281 scontext=root:system_r:httpd_t:s0 <br>> tcontext=root:object_r:tmp_t:s0 tclass=file<br>> Sep 12 11:56:11 sip kernel: audit(1158036971.482:18): avc: denied { <br>> read } for pid=2978 comm="httpd" name="classkit.so" dev=hdb6 <br>> ino=1499281 scontext=root:system_r:httpd_t:s0 <br>> tcontext=root:object_r:tmp_t:s0 tclass=file<br>> Sep 12 11:56:11 sip kernel: audit(1158036971.482:19): avc: denied { <br>> read } for pid=2978 comm="httpd" name="classkit.so" dev=hdb6 <br>> ino=1499281 scontext=root:system_r:httpd_t:s0 <br>> tcontext=root:object_r:tmp_t:s0 tclass=file<br>> As I read from the error message, the file classkit.so can not be <br>> loaded? Why? Would you mind give me a solution? Please....<br>> <br>> Thank you very much,<br>> <br>> Regards,<br>> <br>> <br>> Ferianto<br>> <br>> */<br>> Karel Kozlik <karel@iptel.org>/* wrote:<br>> <br>> Hi,<br>> <br>> > Thank you
much for your help. I am very happy to read this relpy<br>> message<br>> > from you . Thanks you..thank you very much.<br>> > Karel, may I ask you again..Please..<br>> > What you mean by pear library?<br>> > I am using Fedora Core 5 and I found these packages are installed<br>> in my<br>> <br>> sorry, I don't know Fedora<br>> <br>> ><br>> > Do you mean that pear library is *php-pear-1.4.6-2 *that is<br>> installed?<br>> <br>> I think so.<br>> <br>> Karel<br>> <br>> > or I have install pear again?<br>> > Please help me..Karel.. I too lack. Please...<br>> ><br>> > Thank you very much..Thank you.<br>> ><br>> ><br>> > Regards,<br>> ><br>> > Ferianto<br>> ><br>> > */Karel Kozlik /* wrote:<br>> ><br>> > Hi,<br>>
><br>> > > 1. I have downloaded from pear.net the DB packet. The version<br>> of the<br>> > > packet is DB-1.7.6. I have untar it in root directory. I can<br>> > found the<br>> > > file DB.php in it. But I am confused, where should I place this<br>> > > DB.php file? So I can solve this error? Would ypu mind telling<br>> > me..Please..<br>> > > Sould I have internet connection to install it? Because I do not<br>> > have<br>> > > internet connection now.<br>> ><br>> > Please read the documentation!<br>> > http://pear.php.net/manual/en/installation.cli.php<br>> ><br>> > You should not untar the file in clasic way. You should use:<br>> > pear install .tgz<br>> > instead. You have to have 'pear' binary installed before, of<br>> course. I<br>> > don't know
what OS are you useing. There should be some package<br>> > containing the 'pear' binary. If there is not, read the instructions<br>> > here:<br>> > http://pear.php.net/manual/en/installation.getting.php<br>> ><br>> ><br>> > > 2. Would you mind telling me what you mean by "fix include_path<br>> > in your<br>> > > php.ini".<br>> > > Would you mind give me an example? Please...<br>> ><br>> > This mean if you have your pear library in diferent directory (e.g.<br>> > /usr/share/foo/bar/pear) you have to append this directory to<br>> > 'include_path' variable within php.ini (php configuration file). Read<br>> > the comments within php.ini for more info.<br>> ><br>> > regards Karel<br>> ><br>> ><br>> ><br>>
------------------------------------------------------------------------<br>> > Do you Yahoo!?<br>> > Everyone is raving about the all-new Yahoo! Mail.<br>> ><br>> ><br>> <br>> <br>> ------------------------------------------------------------------------<br>> Get your own web address for just $1.99/1st yr < <br>> http://us.rd.yahoo.com/evt=43290/*http://smallbusiness.yahoo.com/domains>. <br>> We'll help. Yahoo! Small Business <br>> <http: //us.rd.yahoo.com/evt="41244/*http://smallbusiness.yahoo.com/">.<br></http:></karel@iptel.org></blockquote><br><p> 
                <hr size=1>Yahoo! Messenger with Voice. <a href="http://us.rd.yahoo.com/mail_us/taglines/postman1/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com">Make PC-to-Phone Calls</a> to the US (and 30+ countries) for 2¢/min or less.