Hmmm, well now I'm rather perplexed. I have 4 perl binaries on my system:

/usr/bin/perl,
/usr/bin/perl5.6.0,
/usr/local/bin/perl,
and /usr/local/bin/perl5.6.1

Now the perl files are the same size in each respective directory (I made sure, using 'diff'). I then removed /usr/bin/perl (since I still had the perl5.6.0 binary as a backup) and replaced it with a link to /usr/local/bin/perl. I verify that it was functioning properly by running 'perl -v' and it now tells me that it is version 5.6.1 AND when I do a 'perl -V' I get the new paths.

heres where I'm going crazy:

I now go to startup my apache with '/etc/init.d/httpd start' and it gives me the same error message as I was getting in my original post. Even though /usr/bin/perl is a link to /usr/local/bin/perl, Apache is looking for the 5.6.0 perl paths. Does apache get its path information from a different place? please help.

(BTW thank you so much for your help so far)
Brian


In reply to Re: Re: Re: Re: Re: Re: Problems with environment variables. by as0k
in thread Problems with environment variables. by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.