http://www.apachefriends.org/winxampp/r ... n-perl.txt
- Code: Select all
ENGLISH: Simply extract this add-on in your current XAMPP-Directory.
All older files are overwritten. Then start the "setup_xampp.bat"
to configure XAMPP with Perl. Now restart the apache. After that with the
"setup_xampp.bat" file, you can choice "with mod_perl" or "without mod_perl".
Documentroot mod_perl = .\xampp\htdocs\modperl\
Documentroot mod_perl [perl-asp] = .\xampp\htdocs\modperlasp\
URL = http://localhost/perl/
URL [perl-asp] = http://localhost/asp/
Configuration file = .\xampp\apache\conf\extra\perl.conf
PerlHOME = .\xampp\perl
If that does not work and you can try again without harm, then perhaps it is time to uninstall XAMPP in the Program Files folder and reinstall to the C:\ drive, only this time use the EXE (7zip) version of XAMPP not the Installer version.
Here's how.
Go to the XCP and Stop all XAMPP components then un-tick any Svc boxes.
Close the XCP.
Delete the C:\Program Files\xampp folder.
Download the EXE (7zip) file and extract to C:\ drive - it will create C:\xampp and put all the file where they should be.
Now run the setup_xampp.bat file in the xampp folder only once, to set all the paths in XAMPP correctly.
Now start Apache and MySQL from the XCP.
Next go to http://localhost, select your language and then test your install by clicking on all the demos etc. in the XAMPP Welcome Page.
When you are happy that XAMPP is installed properly and working then, and only then, extract the perl addon again following the readme instructions above.
Test perl is installed properly by clicking on the Perl link in the XAMPP Welcome Page.
Then add your own script.cgi to either the htdocs folder or the cgi-bin and test it again - you know how to do that now.