How to point my phpbb installation to subfolder?

May 29, 2018 489 views
Apache Ubuntu 16.04

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

My web root, 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, 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?

1 Answer

I see below in my apache error log

[Tue May 29 01:14:08.528051 2018] [:error] [pid 32223] [client] PHP Fatal error: Uncaught Error: Call to undefined function mysqlconnect() in /var/www/html/india/includes/db/mysql.php:47\nStack trace:\n#0 /var/www/html/india/common.php(109): dbalmysql->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

Have another answer? Share your knowledge.