To resolve this issue, you can use the scripts provided to set the necessary variables. For PWS, run the following command:
$ . httpd-2.2/bin/envvars
Note: Ensure that there is a period followed by a space and then the script.
In Windows installations, you can use a
.bat version of these scripts, which can be run at the command line.
For example:
> tools/bin/tools-env.bat
After running the script to set the necessary variables, you should be able to execute the binaries as expected.
For example:
$ httpd-2.2/bin/httpd.worker -v
Server version: Apache/2.2.19 (Unix)
Server built: Jun 29 2011 17:42:35
If the issue persists, run the
fixrootpath.pl script after extracting the product files.