Re: Help on running external command / Partially solved

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Thank you for your answers.

I got it working with:
"//$username = 'lixo';

exec("su -c - vpopmail \"/var/qmail/bin/maildirmake /home/vpopmail/domains/wwlib.lan/\"$username");"

Now, if I run it from the shell, it creates the directory.
From a page on the web server it doesn't.

Directory /home/vpopmail/domains/wwlib.lan/ is owned by vpopmail.vchkpw (as well as my .php page) with 700 permission.

I even tried chmoding 777 to my page, but still, it doesn't create the directory.

Any ideas ?

Warm Regards,
Mário Gamito

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux