|
Hi Aaron,
I use the 'whoami' command regularly on FreeBSD. But AFIAK, it has
never existed in PASE or QShell. Did you install/write your own whoami
tool? Or did IBM add one in a newer release? (I'm still stuck on v5r4,
and it's driving me nuts.)
But anyway, I'd start by checking to see if you have a 'whoami'.
Assuming that you don't, I'd try using the 'id' command instead. For
example:
echo exec('id -un');
This is off the top of my head, untested. Hope it helps.
On 12/9/2010 10:36 AM, Aaron Bartell wrote:
Hi all,user
I was able to get WordPress up and running on my IBM i with relative ease
and now I want to install additional plugins. The issue is that if the
profile used by the currently running script doesn't have access to thehttp://hecode.com/why-wordpress-asks-for-connection-info-when-i-try-to-install-new-plugin/
folder where the plugin is going to be installed, then it will prompt you
for FTP login information.
Here is an article that talks about the issue:
as
In the article then recommend creating a simple php script with the
following:
echo exec('whoami');
I did that, and it is executing successfully (no ZendServer error logs or
warnings) but it returns blanks, so that doesn't help. I have even gone
far as giving *PUBLIC all authority to the entire directory structurewith
the following command (running V6R1):
CHGAUT OBJ('/www/zendsvr') USER(*PUBLIC) DTAAUT(*RWX) OBJAUT(*ALL)
SUBTREE(*ALL)
Still no go.
Anybody else resolve this?
Aaron Bartell
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.