[Users] serweb: DB.php is missing on my system, XML_RPC, and now runkit
Ronald Wiplinger
ronald at elmit.com
Mon Sep 25 03:46:18 CEST 2006
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) [<a
href='function.require-once'>function.require-once</a>]: 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() [<a
href='function.require'>function.require</a>]: 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?
>
> Also, increase the memory allocated for php, which is default 8MB to
> 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
>> Warning: require_once(DB.php) [<a
>> href='function.require-once'>function.require-once</a>]: 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() [<a
>> href='function.require'>function.require</a>]: 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 at 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¤È 06:07:37
> avast! - copyright (c) 1988-2006 ALWIL Software.
> http://www.avast.com
>
>
>
>
--
Ronald Wiplinger (CEO of ELMIT)
http://www.elmit.com http://voip.elmit.com http://e-paper.elmit.com
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.
If you send us an e-mail, our system will send you a confirmation message back. Just reply to this confirmation message please.
After receiving this confirmation message, our system will send the hold message (one) and all future messages (after the received confirmation message) to me without asking you again.
More information about the Users
mailing list