Re: [PHP] [SOLVED]mail command failing

2010-06-29 Thread Mike Wright
Mike Wright wrote: Hi all, I'm very puzzled by this. I've been using the php mail command for years but now I can't get it to work and can't figure out how to diagnose the problem. I can access the mail server with "/usr/bin/mailx" and by telnet "localho

Re: [PHP] mail command failing

2010-06-29 Thread Mike Wright
Ashley Sheridan wrote: On Tue, 2010-06-29 at 10:00 -0700, Mike Wright wrote: Hi all, I'm very puzzled by this. I've been using the php mail command for years but now I can't get it to work and can't figure out how to diagnose the problem. php-5.2.29 on fedora10 with

[PHP] mail command failing

2010-06-29 Thread Mike Wright
mail using php by using 'exec (" echo $body | mailx -s $subject $recipient")'. php-5.2.29 on fedora10 with apache 2.2.14. Can this be selinux related? Any ideas or troubleshooting tips? Thanks, Mike Wright -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] bug in mkdir? [SOLVED]

2010-06-10 Thread Mike Wright
Ashley Sheridan wrote: On Thu, 2010-06-10 at 11:32 -0700, Mike Wright wrote: Hi all, Using 5.2.9 I'm trying to create a directory but it is being created with incorrect permissions. I'm following the online manual. This is the command being used: mkdir('/srv/

[PHP] bug in mkdir?

2010-06-10 Thread Mike Wright
drwxr-x--- 2 apache apache 4096 2010-06-10 10:33 R1276190214358 Isn't that supposed to be 0770 instead of 0750? Either the manual is wrong, the command is broken, or I'm screwing it up (most likely). Thanks for any help, Mike Wright -- PHP General Mailing List (http://www.php.net