Question

How to point my phpbb installation to subfolder?

Hi all,

I just migrated my Wordpress blog from Godaddy to DO and so far I am amazed to see the performance and kicking myself for not doing it so long. But, it is never too late :) … Well, I have moved the entire website now to my droplet and everything works fine for me.

However, I had a phpBB forum running on my site which does not work anymore after migration. The phpbb installation was in a sub folder of my domain and accessible via sub folder URL. Like www.exampleblog.com/forums

My web root, www.exampleblog.com had the wordpress installed which I have been able to successfull migrate. However, I copied the database of forum and files as well to the same path on my droplet but when I try to open www.exampleblog.com/forums, I get 500 Internal Server error.

I believe I am missing some Apache configuration and have not setup any site as I do not know what I have to do to make it work. I have only made config settings for Apache to serve from Varnish cache and have not done anything for this sub-folder where Phpbb is present

Can anyone please help?


Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I see below in my apache error log

[Tue May 29 01:14:08.528051 2018] [:error] [pid 32223] [client 127.0.0.1:48106] PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/html/india/includes/db/mysql.php:47\nStack trace:\n#0 /var/www/html/india/common.php(109): dbal_mysql->sql_connect(‘xxxforums.db…’, ‘xxxforums’, ‘t8xd4ddddx’, ‘cccdddddd’, ‘’, false, false)\n#1 /var/www/html/india/viewtopic.php(17): include(‘/var/www/html/i…’)\n#2 {main}\n thrown in /var/www/html/india/includes/db/mysql.php on line 47