Hi all,

Does somebody know how to configure the PATH for the wwwrun apache user? I have two perl version installed (in /usr/bin/ and in /usr/local/bin) and apache continues to use the (/usr/bin version) which is outdated!

Many thanks,

Sylvain

Recommended Answers

All 2 Replies

why not just remove the outdated one, and symlink it to the correct version?

rm -rf /usr/bin/perl;
ln -s /usr/bin/perl /usr/local/bin/perl;

you'll want to back up your old version of perl just in case. (never blindly run any script some just gives you)

This is what I finally did but I don't find it very elegant!
Thanks a lot however.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.