Search

Hello,

I just wanted to install Symphony on my Debian Etch Enviroment.

I uploaded to the host, unpacked and chmod 777 the suggested folders - and now even the complete unpacked folder recursivly. I also changed PHP-Safemode to off.

The installer always tells me: Symphony does not have write permission to the root directory. Please modify permission settings on this directory. This is necessary only if you are not including a workspace, and can be reverted once installation is complete.

All folders are writeable with 777 and even if I change the owner to the apache user the error message appears.

Also the workspace folder is included and writeable.

drwxrwxrwx  5 www-data www-data  4096 2010-07-13 10:55 .
drwxr-xr-x 11    10072    10072  4096 2010-07-13 11:01 ..
drwxrwxrwx  9 www-data www-data  4096 2010-04-22 01:39 extensions
-rwxrwxrwx  1 www-data www-data   847 2010-02-16 23:11 index.php
-rwxrwxrwx  1 www-data www-data  1559 2010-07-13 11:30 install-log.txt
-rwxrwxrwx  1 www-data www-data  6645 2010-02-23 07:57 install.php
-rwxrwxrwx  1 www-data www-data 10559 2010-07-07 12:46 install.sql
-rwxrwxrwx  1 www-data www-data  1087 2010-02-16 23:11 LICENCE
-rwxrwxrwx  1 www-data www-data  4772 2010-02-23 02:16 README.markdown
drwxrwxrwx  6 www-data www-data  4096 2010-04-22 01:39 symphony
-rwxrwxrwx  1 www-data www-data 12502 2010-02-23 02:10 update.php
drwxrwxrwx  9 www-data www-data  4096 2010-04-22 01:41 workspace

It is a problem of the symphony installer.

Sorry, the directory listing is missing the line reaks.

Sorry, the directory listing is missing the line reaks.

Select it and click the “code” button above the textarea. It will indent the whole thing, enabling blocklevel code display.

One thing I am not seeing in your listing is the mode for the root directory of your installation (in this case .). What is it set to?

ok - i changed the post so you can see the root directory . which is also 777 and owned by the apache user.

Hi, I’m the guy trying to install Symphony on Datenfalke’s server.

I get the same permissions error when trying to run the installer (‘Symphony does not have write permission to the root directory’).

Any update on what might be causing this problem?

Looking forward to use Symphony, thanks in advance for any help.

I solved the problem.

The problem was a Openbasedir value which seems to be incompatible with symphony.

The standard Openbasedir value on my server looks like this:

php_admin_value open_basedir "/x/y/z/symphony/:/tmp/"

After adding an extra value without trailing / the symphony installer does not has a problem:

php_admin_value open_basedir "/x/y/z/symphony/:/x/y/z/symphony:/tmp/"

I am not sure why this problem occures. Other PHP software has not the problem.

Kind regards!

that does sound strange. I’ve only encountered the open_basedir issue when installing one build and using that across multiple domains on media temple (dv) servers.

Thanks datenfalke — problem solved.

Hi there.

I’m having the same problem.

What file should I edit to fix it ?

The standard Openbasedir value on my server looks like this:

phpadminvalue open_basedir “/x/y/z/symphony/:/tmp/”

After adding an extra value without trailing / the symphony installer does not has a problem:

phpadminvalue open_basedir “/x/y/z/symphony/:/x/y/z/symphony:/tmp/”

Thanx in advance.

Doesn’t the open_basedir directive usually contain . (aka the current directory)?

php_admin_value open_basedir ".:/tmp/"

Doing something like

php_admin_value open_basedir "/x/y/z/symphony/:/tmp/"

could potentially lead to security holes as all virtual servers on your machine have the ability to write to /x/y/z/symphony/.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details