View previous topic :: View next topic |
Would you be interested in running Abyss on Linux if you knew how? |
Yes |
|
71% |
[ 5 ] |
No |
|
14% |
[ 1 ] |
Not sure |
|
14% |
[ 1 ] |
|
Total Votes : 7 |
|
Author |
Message |
pkSML -
Joined: 29 May 2006 Posts: 955 Location: Michigan, USA
|
Posted: Thu Aug 08, 2019 1:46 pm Post subject: DIY: Run Abyss + PHP + MySQL on Linux |
|
|
Hello. A couple years ago I wanted to move my Abyss server from home running Windows to a cloud VPS running Linux for reliability and performance. Since I knew nothing about Linux, this entailed ascending the learning curve. Since learning the foundations of Linux, I wouldn't have it any other way!
I have put together a series of videos so that you can tinker with Abyss on Linux in a home environment and eventually move to the cloud yourself.
The link to the videos is https://abyssvids.pksml.net
There is a link to download each video on its respective page.
Feel free to leave me some feedback on this thread. You can also suggest topics for future videos.
Enjoy! _________________ Stephen
Need a LitlURL?
http://CodeBin.yi.org |
|
Back to top |
|
|
admin Site Admin
Joined: 03 Mar 2002 Posts: 1306
|
Posted: Sun Aug 11, 2019 12:01 pm Post subject: Re: DIY: Run Abyss + PHP + MySQL on Linux |
|
|
pkSML,
These are great videos! Thank you for taking the time to prepare them and for making them available.
BTW, your post has been made sticky. _________________ Follow @abyssws on Twitter
Subscribe to our newsletter
_________________
Forum Administrator
Aprelium - https://aprelium.com |
|
Back to top |
|
|
devastator82 -
Joined: 10 Mar 2006 Posts: 31 Location: Lithuania
|
Posted: Sat Feb 05, 2022 9:39 am Post subject: |
|
|
Today i faced one serious problem.
I have configured web server like from this videos.
But, when i set openbasedir on php, i cant upload files.
I have tried to set /public_html or inside /home, uploads not working. |
|
Back to top |
|
|
admin Site Admin
Joined: 03 Mar 2002 Posts: 1306
|
Posted: Mon Feb 07, 2022 9:55 pm Post subject: |
|
|
devastator82 wrote: | Today i faced one serious problem.
I have configured web server like from this videos.
But, when i set openbasedir on php, i cant upload files.
I have tried to set /public_html or inside /home, uploads not working. |
open_basedir PHP directive sets hard limits on directories that PHP can access. So it can happen that such a setting disables uploads since they may be stored elsewhere outside of the allowed directories.
Disaling open_dirbase and reenabling it carefully after verifying all your paths usage is the way to go.
https://www.php.net/manual/en/ini.core.php#ini.open-basedir _________________ Follow @abyssws on Twitter
Subscribe to our newsletter
_________________
Forum Administrator
Aprelium - https://aprelium.com |
|
Back to top |
|
|
devastator82 -
Joined: 10 Mar 2006 Posts: 31 Location: Lithuania
|
Posted: Tue Feb 08, 2022 6:55 am Post subject: |
|
|
Thank you very much for suggestions.
I have set open base dir inside htdocs folder, and upload tmp folder inside.
Now uploads working properly. |
|
Back to top |
|
|
admin Site Admin
Joined: 03 Mar 2002 Posts: 1306
|
Posted: Tue Feb 08, 2022 10:05 pm Post subject: |
|
|
devastator82 wrote: | Thank you very much for suggestions.
I have set open base dir inside htdocs folder, and upload tmp folder inside.
Now uploads working properly. |
Great! Thank you for your feedback. _________________ Follow @abyssws on Twitter
Subscribe to our newsletter
_________________
Forum Administrator
Aprelium - https://aprelium.com |
|
Back to top |
|
|
pkSML -
Joined: 29 May 2006 Posts: 955 Location: Michigan, USA
|
Posted: Sun Feb 13, 2022 3:20 am Post subject: |
|
|
devastator82 wrote: | Thank you very much for suggestions.
I have set open base dir inside htdocs folder, and upload tmp folder inside.
Now uploads working properly. |
Glad you fixed your issue. I'm guessing you'll find information related to your error in your PHP error logfile also. I refer to it often when writing code lol.
I set up Abyss to use a custom PHP error file. When setting up the interpreter, I use something like this in the "Arguments" section:
Code: | -d error_log=/public_html/logs/mysite-php_errors.log -d cgi.fix_pathinfo=0 -d upload_tmp_dir=/public_html/mysite/temp |
(Note that you *might* have to list the logfile directory in the open_basedir setting...)
The benefit of doing it this way is that the logfile will be time-stamped. That helps me to know what errors were added most recently.
Notice I set the upload temp directory as an argument as well. You can set almost any PHP.ini setting in a per-host manner using arguments. _________________ Stephen
Need a LitlURL?
http://CodeBin.yi.org |
|
Back to top |
|
|
|