installation / config
Posted
#1029
(In Topic #221)

Standard member

verify configuration
NB: I'm a newb.I just want to clarify the correct config from the installation notes.
Some lines in the default PHP ini (/etc/php5/apache2/php.ini) file need changing:
upload_max_filesize = 2M → upload_max_filesize = 500M
post_max_size = 8M → post_max_size = 500M
;date.timezone = → date.timezone = "UTC" (to avoid errors on PHP startup)
; extension_dir = "./" → extension_dir = "usr/lib/php5/20121212"
;opcache.enable=0 → ;opcache.enable=1
In the above, line 3 & 4 stand out:
- line 3: there's no semicolon before the change (date.timezone = "UTC" (to avoid errors on PHP startup))
- line 4: there's a space after the semicolon and no semicolon shown in the change (
extension_dir = "usr/lib/php5/20121212")
- Should there be a semicolon with the change on line 3?
- Should there be a semicolon with the change on line 4?
- Should there be a space between the semicolon & "extension_dir =" on line 4?
Off-topic:
- What is comcode?
Thanks for any assistance.
Posted

Standard member

You may have inadvertantly caught an error though, on line 5 with the opcache.enable setting. The documentation says to change it from 0 to 1, but leaves the semi-colon there to keep it from being processed. That might be incorrect. It's not a make-or-break setting, but to enable it you would need to change the setting to 1 and remove the semi-colon. The setting you need will depend on your server configuration, but either way it won't prevent you from installing and using Composr.
For comcode, if you are familiar with any other popular message forum software then you may have heard of BBCode. Comcode is basically an extension of BBCode, which is just a type of markup language to allow the use common word processor type of styling like font type/size/color, bold/italic text, and left/right/centered text. BBCode is great for forum posts, but lacks some features that would be needed to create a well structured web page. Comcode has some extended capabilities that allow for well structured web pages. And because comcode is integrated with the WYSIWYG editor in Composr, you can simply create your content in a word processor-like environment and Composr translates it all to HTML behind-the-scenes for you. I would recommend checking out these tutorials:
Comcode help - Composr
Composr Tutorial: Comcode and the attachment system - Composr
Composr Tutorial: Advanced Comcode - Composr
Regards,
Jason
My ocPortal Sites: Holleywood Studio / Tech Fusion Online
My Composr Sites: NEWBotics Labs
Jason
My ocPortal Sites: Holleywood Studio / Tech Fusion Online
My Composr Sites: NEWBotics Labs
Posted

Standard member

I'm familiar with the concept of commenting out lines in config files or html - so, I understand what you're referring to with the semicolons, as well as the white space not being a consideration.
If we've exposed a minor bug then that's an added bonus to your insightful reply

I'm generally familiar with bbcode, therefore I am, likewise, familiar with comcode.
Thanks, again.
Posted

Site director

You may have inadvertantly caught an error though, on line 5 with the opcache.enable setting. The documentation says to change it from 0 to 1, but leaves the semi-colon there to keep it from being processed. That might be incorrect.
Thanks, it was indeed a documentation bug.
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
1 guest and 0 members have just viewed this.