On Mon, Oct 22, 2012 at 1:40 PM, ant <antofosm(a)gmail.com> wrote:
I'm new to the toolserver and I'm trying to install a web application.
I created a database on sql-s1-user to which I can connect via my PHP
code. Also I have a C program that needs to connect as well. If I call
the C program from the command line, it works perfectly. However, if it
is called from the PHP script using shell_exec() by the web server user,
I get the following error message:
The program is compiled for solaris?
Access denied for user
This is clearly wrong, as you have to provide a password in order to connect.
Maybe your program is relying in $HOME being set? I think you need to
get it from