31,013
edits
mNo edit summary |
No edit summary |
||
| Line 133: | Line 133: | ||
$ cd dolibarr ; touch htdocs/conf/conf.php ; chown www-data htdocs/conf/conf.php | $ cd dolibarr ; touch htdocs/conf/conf.php ; chown www-data htdocs/conf/conf.php | ||
</source> | </source> | ||
Note: For Ubuntu no | Note: For Ubuntu no need of htdocs, you just have to make dolibarr root by placing all files and folders of htdocs in /var/www/dolibarr then from browser do <MyIP>/dolibarr/index.php (see this discussion as reference to this addendum [http://askubuntu.com/questions/874456/php-code-displays-in-browser?noredirect=1#comment1357943_874456]) | ||
* As a root user, create a directory that will be used to save all files generated and stocked by Dolibarr (PDf invoices, uploaded images, ...), and attribute to this directory a owner that must be the web server (example www-data on Debian, apache on Mandriva, RedHat, Fedora...). The web server must have write permission into this directory. It is recommanded to use a directory outside of your directory of web pages, for example - "/var/lib/dolibarr/documents" | * As a root user, create a directory that will be used to save all files generated and stocked by Dolibarr (PDf invoices, uploaded images, ...), and attribute to this directory a owner that must be the web server (example www-data on Debian, apache on Mandriva, RedHat, Fedora...). The web server must have write permission into this directory. It is recommanded to use a directory outside of your directory of web pages, for example - "/var/lib/dolibarr/documents" | ||
| Line 144: | Line 144: | ||
<source lang="ini"> | <source lang="ini"> | ||
http://127.0.0.1/dolibarr/htdocs/ | http://127.0.0.1/dolibarr/htdocs/ | ||
</source> | |||
or if you didn't create the htdocs directory | |||
<source lang="ini"> | |||
http://127.0.0.1/dolibarr/ | |||
</source> | </source> | ||