https://github.com/frankusrs/Wakaba is my current project, I have made it to step 4 of the installation process, where it wants me to access wakaba.pl from my browser. it is supposed to execute, however all that seems to happen is it displays the contents of the file or attempts to download it. Any help would be appreciated.
Currently on Debian 8
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
The installation steps in that repo seem to assume that your webserver is already configured to run perl CGI scripts. This isn’t the case out of the box. With Apache, there are a few things you’ll need to do. First, enable handling CGI scripts by adding this to your Apache VirtualHost:
<Directory "/var/www/html">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
AddHandler cgi-script .pl
Order allow,deny
Allow from all
</Directory>
Then enable the CGI mod and restart Apache for your changes to take effect:
- a2enmod cgi
- service apache2 restart
Remember to make sure that the www-data user has correct permissions for the files as well.
You can find more information about using CGI scripts with Apache in this article:
While it targets Ubuntu, it will be very similar for Debian.
So that issue got resolved, I believe I am having an issue related to step 3 now, I am very inexperienced with sql and am not entirely sure what this error is asking of me.
Software error:
No SQL settings defined in the configuration at config_defaults.pl line 8. BEGIN failed–compilation aborted at config_defaults.pl line 154. Compilation failed in require at /var/www/html/wakaba.pl line 19. BEGIN failed–compilation aborted at /var/www/html/wakaba.pl line 19
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.