Author |
|
jcy005 Newbie
Joined: 05 August 2021 Location: Thailand
Online Status: Offline Posts: 2
|
Posted: 06 August 2021 at 2:04am | IP Logged
|
|
|
I have an installation running on window ( Apache2.4.47 , php 7.4.19)
and am looking to change the directory where files are stored.
I create inc_settings_path.php
with
<?php $dataPath = 'E:/data';
I installed via package and am running apache2.
Problem with upload file.
- Image --> can not view or download.
What do I need to edit to modify the data directory?
Thanks!
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 06 August 2021 at 2:49am | IP Logged
|
|
|
First of all, make sure you actually move or copy data directory of WebMail Pro into the new location, and that its path is specified correctly. Assuming you're able to log into admin interface, that part should be fine.
Also, you may need to ensure write permissions are set correctly, i.e. webserver and PHP are able to write to data directory. For example, try changing admin password from within adminpanel and see if you're able to save settings.
If the issue is specifically about files while changing configuration files works, make sure write permissions are set recursively for data directory; setting Full Control permission to Everyone user temporarily for testing purposes can be a good idea.
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|
jcy005 Newbie
Joined: 05 August 2021 Location: Thailand
Online Status: Offline Posts: 2
|
Posted: 06 August 2021 at 3:05am | IP Logged
|
|
|
Thanks for your help.
|
Back to Top |
|
|