Quote:
Originally Posted by cbj4074
As far as I know, you will not be able to use suPHP on any of the sites that must access the shared Drupal code-base. You will likely be required to set the PHP mode to one of the other options on the Sites -> [choose domain] page within ISPConfig, such as Fast-CGI.
Personally, I would not configure the shared Drupal code-base as an actual "Website" (unless you require end-user [as opposed to root] FTP/sFTP access to the files). Instead, I would install Drupal to /usr/share/drupal or similar.
|
if not configure the shared drupal codebase as an actual website, then how to install the codebase site and configure it by login to the site? use
http://localhost for this?
Quote:
|
Then, all you should need to do is add the necessary shared Drupal directories to PHP's open_basedir directive for each site (Home -> Sites -> [domain.tld] -> Options [tab]). Here's an example of adding the necessary Roundcube directories to the open_basedir directive in order for users to be able to access Webmail from a given virtual host:
|
do you mean add to "Apache directives" text field under Options tab? is this equivalent to edit httpd.conf? or .htaccess file?
Quote:
Code:
<Directory /var/www/domain.tld/web/>
php_admin_value safe_mode off
php_admin_value register_globals off
php_admin_value magic_quotes_gpc off
php_admin_value display_errors off
php_admin_value upload_tmp_dir "/var/www/clients/client2/web1/tmp"
php_admin_value open_basedir "/tmp:/etc/roundcube/:/usr/share/roundcube:/var/log/roundcube:/var/lib/roundcube:/var/lib/roundcube/skins:/var/lib/roundcube/skins/default/templates:/var/lib/roundcube/plugins:/var/lib/roundcube/config:/var/lib/roundcube/bin:/var/lib/roundcube/program:/var/log/roundcube:/usr/share/php:/usr/share/pear:/var/www/clients/client2/web1/web:/var/www/clients/client2/web1/tmp"
</Directory>
|
is "php_admin_value open_basedir "/tmp:/etc/roundcube/:/usr/share/roundcube:/var/log/roundcube:/var/lib/roundcube:/var/lib/roundcube/skins:/var/lib/roundcube/skins/default/templates:/var/lib/roundcube/plugins:/var/lib/roundcube/config:/var/lib/roundcube/bin:/var/lib/roundcube/program:/var/log/roundcube:/usr/share/php:/usr/share/pear:/var/www/clients/client2/web1/web:/var/www/clients/client2/web1/tmp"
" equivalent to the content in the "PHP open_basedir" field under Options tab?