You probably already know this but php as an add-in module pays no attention
to suexec, it always operates as the user/group of the server.  You can get
around this supposedly by compiling and running php as a cgi but you also
take a pretty serious performance hit.  If I were serious about developing a
php interface to vpopmail/qmail, I'd start by running a second instance of
apache dedicated to the project with the user and group of vpopmail.  This
should alleviate your permission problems.

John

----- Original Message -----
From: "Paul - Zenith Tech Inc" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 11, 2001 12:30 PM
Subject: vpopmail with PHP


> Hi,
>
> Has anybody used the vpopmail libraries through a PHP script?
>
> When trying to add a domain, I get this error from PHP
>
>     vpopmail error: Unable to chdir to vpopmail/domains directory
>
> I changed the permission on domains (and the subdirs) to 777 but this made
> no difference.
>
> Does anybody know the cause of this?
>
> Thanks,
> Paul
>

Reply via email to