-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
external storage on remote webserver? (failed coding attempt) #506
Comments
Don't know anything about S3-storage or PHP programming, but you could:
Should be possible with Linux and Windows as a server. |
Thanks for the tips, but pitifully I only have non-root access on that
Linux server, so I cannot mount any filesystem.
I can run my own services and cron jobs, but all with regular user rights
Le 08/09/2021 à 15:21, marioscube a écrit :
…
Don't know anything about S3-storage or PHP programming, but you could:
* mount the S3-storage as a volume on your server and point COPS to
that mountpoint.
* use webDAV. Use webDAV mount on your server and point COPS to that
mountpoint.
Should be possible with Linux and Windows as a server.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#506 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANZVSQURXBCKWDK4PNQFD3UA5PM3ANCNFSM5DJUHHXA>.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Included in release 2.7.1 at https://github.com/mikespub-org/seblucas-cops |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
My local COPS server is working (great! Thanks to all devs!). Now I'd like to get this setup: one server, hosting php code + database + thumbnails, accessing all ebooks and images from a remote static web server (typically a S3 storage).
Can anybody help? Or would even anybody kindly implement this for me (and many others that would enjoy benefiting from S3 cheap storage)? I'm a real newbee with PHP , and I tried what I could... Would it be interested to include that feature in the main branch of the project?
Reading through the code (I am a programmer but not in PHP), I had the feeling that very few things would need to be changed:
$config['external_storage'] = 'https://mys3torage.com/mybucket'
in config_local.phpAnd
allow_url_fopen=1
so that in Book.php GetImageSize and imagecreatefromjpeg (both in getThumbnail) would work.The site is still working on my remote server, but I got no thumbnail at all. Like if I had changed nothing (and I did clear the cache :) )
Thanks in advance!
The text was updated successfully, but these errors were encountered: