mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Dave Festing <dave_festing@hotmail.com>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] PTXdist PHP5 CLI mail()
Date: Thu, 20 Jun 2013 10:04:12 +0000 (UTC)	[thread overview]
Message-ID: <loom.20130620T115439-978@post.gmane.org> (raw)
In-Reply-To: <loom.20130614T104727-646@post.gmane.org>

Just for anyone who ends up here, the solution was to change the thttpd
start script to -u /the/directory/where/the/webpages/actually/are/located

Seems some things worked OK, just not system(), exec() and mail() when -u
didn't point to the webpage directory.

Even though safe-mode was off it seems like there was still a restriction on
the exec family of functions.

http://www.php.net/manual/en/features.safe-mode.php
http://www.php.net/manual/en/features.safe-mode.functions.php


-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2013-06-20 10:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-14  9:20 Dave Festing
2013-06-20 10:04 ` Dave Festing [this message]
     [not found] <mailman.9.1371204002.4501.ptxdist@pengutronix.de>
2013-06-14 10:57 ` Dennis.Herbrich
2013-06-14 11:15   ` Dave Festing

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20130620T115439-978@post.gmane.org \
    --to=dave_festing@hotmail.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox