php-general Digest 18 Dec 2005 02:23:10 -0000 Issue 3856

Topics (messages 227575 through 227582):

PHP programmers from hyderabad
        227575 by: Vikram Kumar

Re: Fatal error 'Unable to read from thread kernel pipe' when using mail() 
function
        227576 by: Stut

Callbacks in XML Parser
        227577 by: Amol Hatwar
        227579 by: comex

Re: PHP and Apache 2.2.0
        227578 by: Manuel Lemos
        227580 by: Kevin McBride
        227581 by: Manuel Lemos

Function Overloading
        227582 by: Labunski

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
hi!

We are looking for PHP programmers from hyderabd.

If you are an experienced PHP programmer, and have experience of developing
calendar or dairy , message board application, please send your CV to
[EMAIL PROTECTED]

All PHP programmers aare welcome to apply!.

Best regards,
Vikram.

--- End Message ---
--- Begin Message ---
I assume the lack of response to this means that nobody has come across this
problem before? Any pointers would be helpful - I'm losing hair fast!!

Cheers.

-Stut

On 16/12/05, Stut <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> I've just upgraded the PHP port installation on my server to v4.4.1 and
> the mail function has stopped working. I created a script that simply
> calls the mail function to send a test email ad this is what I get when
> I run it...
>
> [EMAIL PROTECTED]:~$ php test.php
> Fatal error 'Unable to read from thread kernel pipe' at line 1100 in
> file /usr/src/lib/libc_r/uthread/uthread_kern.c (errno = 0)
> Abort trap (core dumped)
>
> The email gets sent successfully on the CLI despite crashing. When the
> mail function is called from a web page it never gets sent and the
> script never finishes.
>
> I've googled for this error and all references I found that related to
> PHP basically say that it's due to Apache and PHP being compiled in
> different threading modes. This cannot be the case in this instance
> since Apache is using the preform MPM and even if it wasn't it's
> happening on the CLI where Apache is not involved.
>
> Any clues people might have as to the cause of this problem would be
> gratefully received.
>
> FYI: OS is FreeBSD v5.2 and Apache if v2.0.55
>
> Cheers.
>
> -Stut
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
Hi,

Is there a way in PHP5 where I can use the xml_parser's
xml_set_element_handler() inside a class definition like so:

xml_set_element_handler($this->xmlParser, "$this->startTag",
"$this->endTag");

For me, this code doesn't seem to work. I have to use functions in the
global scope.

Regards,

ah

--- End Message ---
--- Begin Message ---
> xml_set_element_handler($this->xmlParser, "$this->startTag",
> "$this->endTag");
xml_set_element_handler($this->xmlParser, array(&$this, 'startTag'),
array(&$this, 'endTag'));

--- End Message ---
--- Begin Message ---
Hello,

on 12/16/2005 12:36 PM Kevin McBride said the following:
I am curious to know if there are plans to make a module for Apache
2.2.0.  I couldn't find it in the anonymous CVS, but if it's already
there, can someone point to me where it is?

Use the same as for Apache 2.0 .


--

Regards,
Manuel Lemos

Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

--- End Message ---
--- Begin Message ---
Manuel Lemos wrote:

Use the same as for Apache 2.0 .


I get "garbled code" errors; tried it before I even posted to the list.

Here's an excerpt from the Apache download page:

Apache 2.2 add-in modules are not compatible with Apache 2.0 or 1.3 modules. If you are running third party add-in modules, you will need to obtain new modules written for Apache 2.2 from that third party before you attempt to upgrade from Apache 2.0.

--- End Message ---
--- Begin Message ---
Hello,

on 12/17/2005 04:58 PM Kevin McBride said the following:
Use the same as for Apache 2.0 .


I get "garbled code" errors; tried it before I even posted to the list.

Here's an excerpt from the Apache download page:

Apache 2.2 add-in modules are not compatible with Apache 2.0 or 1.3 modules. If you are running third party add-in modules, you will need to obtain new modules written for Apache 2.2 from that third party before you attempt to upgrade from Apache 2.0.

I built PHP 5.1 with Apache 2.2 following these instructions and it works:

http://ww.php.net/manual/en/install.unix.apache2.php

--

Regards,
Manuel Lemos

Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

--- End Message ---
--- Begin Message ---
"PHP does not support function overloading."
So, is there any other way of getting a number of parameters(variables) 
passed to a function?

aka.
function fruits($apple, $banana, $kiwi, $grape){

#should (somehow) output 4

}

OK. if it was an array, than I could use count($array), but now I'm stuck!

Thanks in advance! 

--- End Message ---

Reply via email to