Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
885 views
in Q2A Core by
I am trying to create multiple sites of q2a on the same domain.
One site will be on the root and all the other will be created in different directories.
Each site is on different directory and it has symbolic links to the source files that are in a directory outside of the public_html directory.
Each directory has its own config file which point to its own database.
I install the main site on the root and later I duplicated the database to use it in another q2a site in another directory.
The site on the root seems to work fine, but the other site doesn't function and in the error log I get the following errors:

 

[13-Apr-2015 09:39:53 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
[13-Apr-2015 09:39:53 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0

 

Any ideas what am I doing wrong?
Q2A version: 1.6.3

1 Answer

+1 vote
by

use "RewriteBase /" to handle permalinks. guide: http://question2answer.org/htaccess.php

and I think the warning is because of "sqlite" extension is not configured. if you have access to server configuration find correct path and make the configurations(google the problem). if it only shows up in your sub-directories and not root installation it might be from Q2A script itself. I haven't checked the changes in new version's code yet.

...