DIY: Run Abyss + PHP + MySQL on Linux

 
Post new topic   Reply to topic    Aprelium Forum Index -> Tutorials
View previous topic :: View next topic  

Would you be interested in running Abyss on Linux if you knew how?
Yes
83%
 83%  [ 5 ]
No
0%
 0%  [ 0 ]
Not sure
16%
 16%  [ 1 ]
Total Votes : 6

Author Message
pkSML
-


Joined: 29 May 2006
Posts: 941
Location: Michigan, USA

PostPosted: Thu Aug 08, 2019 1:46 pm    Post subject: DIY: Run Abyss + PHP + MySQL on Linux Reply with quote

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 View user's profile Send private message Visit poster's website
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1255

PostPosted: Sun Aug 11, 2019 12:01 pm    Post subject: Re: DIY: Run Abyss + PHP + MySQL on Linux Reply with quote

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 View user's profile Send private message
devastator82
-


Joined: 10 Mar 2006
Posts: 31
Location: Lithuania

PostPosted: Sat Feb 05, 2022 9:39 am    Post subject: Reply with quote

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 View user's profile Send private message
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1255

PostPosted: Mon Feb 07, 2022 9:55 pm    Post subject: Reply with quote

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 View user's profile Send private message
devastator82
-


Joined: 10 Mar 2006
Posts: 31
Location: Lithuania

PostPosted: Tue Feb 08, 2022 6:55 am    Post subject: Reply with quote

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 View user's profile Send private message
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1255

PostPosted: Tue Feb 08, 2022 10:05 pm    Post subject: Reply with quote

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 View user's profile Send private message
pkSML
-


Joined: 29 May 2006
Posts: 941
Location: Michigan, USA

PostPosted: Sun Feb 13, 2022 3:20 am    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Tutorials All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group