Page 1 of 5

wp_w3all path config on subdomains and open_basedir

Posted: Thu Mar 03, 2016 11:20 am
by axew3
On subdomains installations if on configuration php.ini file is set the
open_basedir directive, wp_w3all will not include the necessary phpBB config file, because files inclusion is restricted to the directory assigned by open_basedir, so phpBB config file inclusion won't work.

To let wp_w3all include the config file between domains and subdomains, you need to comment off the open_basedir in your php.ini:

Code: Select all

;open_basedir =
or in apache httpd.conf add something like:

Code: Select all

<Directory /var/www/vhosts/domain.tld/httpdocs>
php_admin_value open_basedir none
</Directory>

Re: wp_w3all path config on subdomains and open_basedir

Posted: Thu Mar 03, 2016 2:15 pm
by lechoduchaudron
In what kind of folder (phpBB or wp) the php.ini to configure is stored ? Version 1.1.0 completely sucks when activated... Where can I find previous versions of your plugin ?

Thanx

Re: wp_w3all path config on subdomains and open_basedir

Posted: Thu Mar 03, 2016 2:21 pm
by axew3
No, the php.ini mean the php.ini of php! So it is on your PHP install folder, contained inside your programs folder. Look for it on your file system.

Or you need to edit it trough your domain control panel

Re: wp_w3all path config on subdomains and open_basedir

Posted: Thu Mar 03, 2016 2:25 pm
by lechoduchaudron
axew3 wrote:No, the php.ini mean the php.ini of php! So it is on your php install folder!
Install folder ? On phpBB you need to rename install folder to carry on, and under wp install folder is cleared after install... Do you mean your plugin install folder ?

Re: wp_w3all path config on subdomains and open_basedir

Posted: Thu Mar 03, 2016 2:38 pm
by axew3
if in subdomains scenario, so where you have a phpbb on a domain and wp on another domain installed, IF the php.ini file, that is the configuration file of php, (that have nothing to do with the plugin) have the directive open_basedir active, wp_w3all can't get the necessary file config required. You need to edit your php.ini file that is contained inside your php installation folder, or on plesk if you are on a server online, look into server setting to edit the php.ini file and edit it setting open_basedir it should be set to NONE, i suppose.


All this not affect if you aren't on subdomains installation.

Re: wp_w3all path config on subdomains and open_basedir

Posted: Thu Mar 03, 2016 2:41 pm
by axew3
Maybe you are setting a wrong path to your forum?