wp_w3all path config on subdomains and open_basedir

User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

wp_w3all path config on subdomains and open_basedir

Post 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>
lechoduchaudron
User w
User w
Posts: 17
Joined: Tue Feb 09, 2016 1:30 pm

Re: wp_w3all path config on subdomains and open_basedir

Post 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
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: wp_w3all path config on subdomains and open_basedir

Post 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
lechoduchaudron
User w
User w
Posts: 17
Joined: Tue Feb 09, 2016 1:30 pm

Re: wp_w3all path config on subdomains and open_basedir

Post 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 ?
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: wp_w3all path config on subdomains and open_basedir

Post 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.
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: wp_w3all path config on subdomains and open_basedir

Post by axew3 »

Maybe you are setting a wrong path to your forum?
Locked