Re: [users@httpd] Apache won't start after install on Unix-like system

2016-03-18 Thread Yehuda Katz
Are you running on mac? A quick Google search shows several possibilities, all homebrew related. http://stackoverflow.com/questions/31036704/starting-apache-httpd-with-homebrew-php55-dyld-library-not-loaded-usr-local - Y On Fri, Mar 18, 2016 at 11:43 AM, Roparzh Hemon wrote: > I get the follow

Re: [users@httpd] Environment variable set by "apr_env_set()" not accesible by C function "getenv()" within CGI program

2016-03-18 Thread Eric Covener
On Thu, Mar 17, 2016 at 3:38 PM, wrote: > Hi, > > I have an Apache modul where I set an environment variable: > > apr_env_set("FOO", "BAR", ...); > > This variable is accesible by PHP: > > print(getenv("FOO")); // --> BAR > ?> > > but not by a simple CGI program written in C: > > #include >

[users@httpd] Environment variable set by "apr_env_set()" not accesible by C function "getenv()" within CGI program

2016-03-18 Thread obsd
Hi, I have an Apache modul where I set an environment variable: apr_env_set("FOO", "BAR", ...); This variable is accesible by PHP: BAR ?> but not by a simple CGI program written in C: #include #include int main(int argc, char* argv[]) { printf("Content-Type: text/html;charset=utf-8\n\

Re: [users@httpd] Apache won't start after install on Unix-like system

2016-03-18 Thread Roparzh Hemon
Thank you for your help Luca! As a matter of fact, I eventually succeeded in solving my problem before reading your post by restarting from scratch and re-making all the installs. For the record, here is the current output of otool : $ otool -L bin/httpd bin/httpd: /usr/lib/libpcre.0.dylib (co