From ronald@elmit.com Fri Sep 22 01:40:36 2006 From: Ronald Wiplinger To: sr-users@lists.kamailio.org Subject: [Users] serweb: DB.php is missing on my system Date: Fri, 22 Sep 2006 07:43:16 +0800 Message-ID: <45132394.8040309@elmit.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1277340037==" --===============1277340037== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit [Fri Sep 22 06:54:42 2006] [error] [client 192.168.250.108] PHP Warning: require_once(DB.php) [function.require-once]: failed to open stream: No such file or directory in /srv/www/serweb/html/main_prepend.php on line 38 [Fri Sep 22 06:54:42 2006] [error] [client 192.168.250.108] PHP Fatal error: require_once() [function.require]: Failed opening required 'DB.php' (include_path='.:/usr/share/php5:/usr/share/php5/PEAR') in /srv/www/serweb/html/main_prepend.php on line 38 # locate DB.php /usr/share/php5/PEAR/PEAR/DependencyDB.php How can I get it? In the meantime I have tried to turn off loging in config.php: $config->enable_loging = false; $config->log_file = "/var/log/serweb"; but get still the same error. SuSE 10.1 installed pear5 (there is no 'pear') # pear5 list Installed packages, channel pear.php.net: ========================================= Package Version State Archive_Tar 1.3.1 stable Console_Getopt 1.2 stable PEAR 1.4.6 stable # pear5 list-all PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 8208 bytes) in /usr/share/php5/PEAR/PEAR/Registry.php on line 1048 What do I need to do? bye Ronald --===============1277340037==-- From daniel@voice-system.ro Fri Sep 22 07:31:12 2006 From: Daniel-Constantin Mierla To: sr-users@lists.kamailio.org Subject: Re: [Users] serweb: DB.php is missing on my system Date: Fri, 22 Sep 2006 08:33:32 +0300 Message-ID: <451375AC.6070901@voice-system.ro> In-Reply-To: <45132394.8040309@elmit.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0775642374==" --===============0775642374== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit you have to install DB package from php pear repository. I guess the command is: pear install DB Also, increase the memory allocated for php, which is default 8MB to at least 16 (in your php.ini file). Cheers, Daniel On 09/22/06 02:43, Ronald Wiplinger wrote: > > > [Fri Sep 22 06:54:42 2006] [error] [client 192.168.250.108] PHP > Warning: require_once(DB.php) [ href='function.require-once'>function.require-once]: failed to > open stream: No such file or directory in > /srv/www/serweb/html/main_prepend.php on line 38 > [Fri Sep 22 06:54:42 2006] [error] [client 192.168.250.108] PHP Fatal > error: require_once() [ href='function.require'>function.require]: Failed opening required > 'DB.php' (include_path='.:/usr/share/php5:/usr/share/php5/PEAR') in > /srv/www/serweb/html/main_prepend.php on line 38 > > # locate DB.php > /usr/share/php5/PEAR/PEAR/DependencyDB.php > > How can I get it? > > > In the meantime I have tried to turn off loging in config.php: > $config->enable_loging = false; > $config->log_file = "/var/log/serweb"; > > but get still the same error. > > SuSE 10.1 installed pear5 (there is no 'pear') > # pear5 list > Installed packages, channel pear.php.net: > ========================================= > Package Version State > Archive_Tar 1.3.1 stable > Console_Getopt 1.2 stable > PEAR 1.4.6 stable > # pear5 list-all > PHP Fatal error: Allowed memory size of 8388608 bytes exhausted > (tried to allocate 8208 bytes) in > /usr/share/php5/PEAR/PEAR/Registry.php on line 1048 > > > > What do I need to do? > > bye > > Ronald > > _______________________________________________ > Users mailing list > Users(a)openser.org > http://openser.org/cgi-bin/mailman/listinfo/users > --===============0775642374==-- From ronald@elmit.com Mon Sep 25 03:43:32 2006 From: Ronald Wiplinger To: sr-users@lists.kamailio.org Subject: Re: [Users] serweb: DB.php is missing on my system, XML_RPC, and now runkit Date: Mon, 25 Sep 2006 09:46:18 +0800 Message-ID: <451734EA.5020603@elmit.com> In-Reply-To: <451375AC.6070901@voice-system.ro> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1807880540==" --===============1807880540== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Daniel-Constantin Mierla wrote: > you have to install DB package from php pear repository. I guess the=20 > command is: > > pear install DB I did that and come three lines further: [Mon Sep 25 09:31:11 2006] [error] [client 192.168.250.108] PHP=20 Warning: require_once(XML/RPC.php) [function.require-once]: failed to open=20 stream: No such file or directory in=20 /srv/www/serweb/html/main_prepend.php on line 41 [Mon Sep 25 09:31:11 2006] [error] [client 192.168.250.108] PHP Fatal=20 error: require_once() [function.require]: Failed opening required=20 'XML/RPC.php' (include_path=3D'.:/usr/share/php5:/usr/share/php5/PEAR') in=20 /srv/www/serweb/html/main_prepend.php on line 41 I added pear install XML_RPC and now it stops with a screen display: Function aggregate_methods() doesn't exists. Try install Classkit=20 extension. http://pecl.php.net/package/classkit classkit is discontinued, but suggests to use runkit. I downloaded runkit and tried: # pear install runkit 14 source files, building running: phpize sh: phpize: command not found ERROR: `phpize' failed I tried to find it: # pear install phpize No releases available for package "pear.php.net/phpize" Cannot initialize 'phpize', invalid or missing package file Package "phpize" is not valid install failed What is the right way to do? > > Also, increase the memory allocated for php, which is default 8MB to=20 > at least 16 (in your php.ini file). > Done! Thanks! bye Ronald > Cheers, > Daniel > > On 09/22/06 02:43, Ronald Wiplinger wrote: >> >> >> [Fri Sep 22 06:54:42 2006] [error] [client 192.168.250.108] PHP=20 >> Warning: require_once(DB.php) [> href=3D'function.require-once'>function.require-once]: failed to=20 >> open stream: No such file or directory in=20 >> /srv/www/serweb/html/main_prepend.php on line 38 >> [Fri Sep 22 06:54:42 2006] [error] [client 192.168.250.108] PHP Fatal=20 >> error: require_once() [> href=3D'function.require'>function.require]: Failed opening=20 >> required 'DB.php'=20 >> (include_path=3D'.:/usr/share/php5:/usr/share/php5/PEAR') in=20 >> /srv/www/serweb/html/main_prepend.php on line 38 >> >> # locate DB.php >> /usr/share/php5/PEAR/PEAR/DependencyDB.php >> >> How can I get it? >> >> >> In the meantime I have tried to turn off loging in config.php: >> $config->enable_loging =3D false; >> $config->log_file =3D "/var/log/serweb"; >> >> but get still the same error. >> >> SuSE 10.1 installed pear5 (there is no 'pear') >> # pear5 list >> Installed packages, channel pear.php.net: >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> Package Version State >> Archive_Tar 1.3.1 stable >> Console_Getopt 1.2 stable >> PEAR 1.4.6 stable >> # pear5 list-all >> PHP Fatal error: Allowed memory size of 8388608 bytes exhausted=20 >> (tried to allocate 8208 bytes) in=20 >> /usr/share/php5/PEAR/PEAR/Registry.php on line 1048 >> >> >> >> What do I need to do? >> >> bye >> >> Ronald >> >> _______________________________________________ >> Users mailing list >> Users(a)openser.org >> http://openser.org/cgi-bin/mailman/listinfo/users >> > > > > --- > avast! Antivirus: Inbound message clean. > Virus Database (VPS): 0638-1, 2006/09/22 > Tested on: 2006/9/25 =C2=A4W=C2=A4=C3=88 06:07:37 > avast! - copyright (c) 1988-2006 ALWIL Software. > http://www.avast.com > > > > --=20 Ronald Wiplinger (CEO of ELMIT) http://www.elmit.com http://voip.elmit.com http://e-paper.elmit.com=20 Tel. (M) +886.939.775.516 (O) +886.2.2835.7765 (ENUM) or FWD 511208 - I'm a SpamCon Foundation Member, #694, Verify it at http://www.spamcon.org PS: Spam prevention! Our system is protected with a spam prevention program.=20 If you send us an e-mail, our system will send you a confirmation message bac= k. Just reply to this confirmation message please.=20 After receiving this confirmation message, our system will send the hold mess= age (one) and all future messages (after the received confirmation message) t= o me without asking you again. --===============1807880540==-- From ronald@elmit.com Mon Sep 25 04:07:46 2006 From: Ronald Wiplinger To: sr-users@lists.kamailio.org Subject: Re: [Users] serweb: DB.php is missing on my system, XML_RPC, and now runkit Date: Mon, 25 Sep 2006 10:10:15 +0800 Message-ID: <45173A87.1030500@elmit.com> In-Reply-To: <451734EA.5020603@elmit.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1181613187==" --===============1181613187== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Ronald Wiplinger wrote: > Daniel-Constantin Mierla wrote: >> you have to install DB package from php pear repository. I guess the >> command is: >> >> pear install DB > I did that and come three lines further: > > [Mon Sep 25 09:31:11 2006] [error] [client 192.168.250.108] PHP > Warning: require_once(XML/RPC.php) [ href='function.require-once'>function.require-once]: failed to > open stream: No such file or directory in > /srv/www/serweb/html/main_prepend.php on line 41 > [Mon Sep 25 09:31:11 2006] [error] [client 192.168.250.108] PHP Fatal > error: require_once() [ href='function.require'>function.require]: Failed opening required > 'XML/RPC.php' (include_path='.:/usr/share/php5:/usr/share/php5/PEAR') > in /srv/www/serweb/html/main_prepend.php on line 41 > > I added pear install XML_RPC and now it stops with a screen display: > Function aggregate_methods() doesn't exists. Try install Classkit > extension. http://pecl.php.net/package/classkit > > classkit is discontinued, but suggests to use runkit. > > I downloaded runkit and tried: > # pear install runkit > 14 source files, building > running: phpize > sh: phpize: command not found > ERROR: `phpize' failed > > I tried to find it: > # pear install phpize > No releases available for package "pear.php.net/phpize" > Cannot initialize 'phpize', invalid or missing package file > Package "phpize" is not valid > install failed > > > > What is the right way to do? I found that I have to install php-devel, now I am here: # pear install runkit 14 source files, building running: phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20050922 Zend Extension Api No: 220051025 ERROR: `phpize' failed Any hints how to solve that? bye Ronald --===============1181613187==-- From ronald@elmit.com Wed Oct 11 12:26:15 2006 From: Ronald Wiplinger To: sr-users@lists.kamailio.org Subject: Re: [Users] serweb: DB.php is missing on my system, XML_RPC, and now runkit Date: Wed, 11 Oct 2006 17:29:28 +0800 Message-ID: <452CB978.70504@elmit.com> In-Reply-To: <451734EA.5020603@elmit.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0017449844==" --===============0017449844== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Ronald Wiplinger wrote: > Daniel-Constantin Mierla wrote: >> you have to install DB package from php pear repository. I guess the >> command is: >> >> pear install DB > I did that and come three lines further: > > [Mon Sep 25 09:31:11 2006] [error] [client 192.168.250.108] PHP > Warning: require_once(XML/RPC.php) [ href='function.require-once'>function.require-once]: failed to > open stream: No such file or directory in > /srv/www/serweb/html/main_prepend.php on line 41 > [Mon Sep 25 09:31:11 2006] [error] [client 192.168.250.108] PHP Fatal > error: require_once() [ href='function.require'>function.require]: Failed opening required > 'XML/RPC.php' (include_path='.:/usr/share/php5:/usr/share/php5/PEAR') > in /srv/www/serweb/html/main_prepend.php on line 41 > > I added pear install XML_RPC and now it stops with a screen display: > Function aggregate_methods() doesn't exists. Try install Classkit > extension. http://pecl.php.net/package/classkit > > classkit is discontinued, but suggests to use runkit. > > I downloaded runkit and tried: > # pear install runkit > 14 source files, building > running: phpize > sh: phpize: command not found > ERROR: `phpize' failed > > I tried to find it: > # pear install phpize > No releases available for package "pear.php.net/phpize" > Cannot initialize 'phpize', invalid or missing package file > Package "phpize" is not valid > install failed > > > > What is the right way to do? I found that I have to install php-devel, now I am here: # pear install runkit 14 source files, building running: phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20050922 Zend Extension Api No: 220051025 ERROR: `phpize' failed Any hints how to solve that? bye Ronald _______________________________________________ Users mailing list Users(a)openser.org http://openser.org/cgi-bin/mailman/listinfo/users --- avast! Antivirus: Inbound message clean. Virus Database (VPS): 0638-1, 2006/09/22 Tested on: 2006/9/25 ¤W¤È 10:15:31 avast! - copyright (c) 1988-2006 ALWIL Software. http://www.avast.com --===============0017449844==--