Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter moderninfluence

    (@moderninfluence)

    This error is under the “Root Directory” category

    Hey moderninfluence,

    Checkout this question on the FAQs page I believe it may help or provide some clues about this issue:

    -> Browse to: https://lifeinthegrid.com/duplicator-faq
    -> Find question: “I get an error/warning about permissions what should I do?”

    Let me know if this helps!

    apologies to Cory – I thought i’d explain how I the same problem on my Linux machine. (if you are a guru type person then omit reading any further)
    [Fail] Is Writable by PHP

    this bamboozled me for a while

    duplicator is a stable and established plugin so the problem had to be with my setup

    I am running XAMPP on linux Mint 18

    I was running XAMPP version 1.7.3

    I then upgraded xampp to version 7.0.9-1

    same problem: [Fail] Is Writable by PHP

    investigated via command line:

    from /opt $ stat -c “%a %n” lampp/*

    this produced the following list:

    755 lampp/apache2
    755 lampp/bin
    755 lampp/build
    755 lampp/cgi-bin
    644 lampp/COPYING.thirdparty
    755 lampp/ctlscript.sh
    755 lampp/docs
    755 lampp/error
    755 lampp/etc
    755 lampp/htdocs
    755 lampp/icons
    755 lampp/img
    755 lampp/include
    755 lampp/info
    777 lampp/lampp
    755 lampp/lib
    755 lampp/libexec
    755 lampp/licenses
    755 lampp/logs
    755 lampp/man
    700 lampp/manager-linux-x64.run
    755 lampp/manual
    755 lampp/modules
    755 lampp/mysql
    755 lampp/pear
    755 lampp/php
    755 lampp/phpmyadmin
    755 lampp/proftpd
    644 lampp/properties.ini
    644 lampp/README-wsrep
    644 lampp/RELEASENOTES
    755 lampp/sbin
    755 lampp/share
    755 lampp/temp
    700 lampp/uninstall
    600 lampp/uninstall.dat
    755 lampp/var

    I find Octal permission permissions so much easier to understand and this has now given me a list of the permissions in that directory

    Peruse them:

    I noted /htdocs had permissions of 755 which is correct

    However: before investigating too much i changed the htdocs folder from 755 to 777 (not to be recommended in nearly all events)
    THUS:
    $ cd lampp

    $ sudo chmod -R 777 /htdocs

    Then ran the installer.php file again

    The process completed successfully

    SO this solved the problem for me PROBLEM SOLVED (for me)

    database created ok

    NOTE: IMPORTANT: if you use this method then take the time to change /htdocs permissions back to 755 – SAFETY first

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Fail] Is Writable by PHP’ is closed to new replies.