Translations of this page?:

Configuration by php.ini

There are some PHP configuration options available in the php.ini file which are relevant for Feng Office. To access this file you need FTP access to the server Feng Office is running on (which is typically reserved to the webmaster).

PLEASE NOTE: There may be several php.ini files in different directories on a webserver which may interfere which each other. If changing the parameter values in your php.ini has no effect then it's very likely that there is another php.ini on your server. Maybe your hosting provider offers a control panel where you can define these values globally.

Document Size

To allow the upload of bigger files in the documents section (“Max filesize”) try to adjust the following paramters:

  • max_execution_time
  • post_max_size
  • upload_max_filesize

Memory Size

Feng Office consumes about 10 MB of memory. If your server is set to the standard memory limit of 8 MB you may get an error message during the installation process saying:

Allowed memory size of 8388608 bytes exhausted.

This can be solved by raising the memory limit as follows:

memory_limit=32

Discussion

PLEASE NOTE: Comments to the wiki should only contain suggestions and questions that help us to improve the manual (and not the software). These comments will be deleted as soon as the information has been integrated into the manual.

Posts that do not contribute to the DOCUMENTATION of the project will be DELETED.

Ask QUESTIONS on the product here.
Report BUGS here.
Propose NEW FEATURES here.


Justinas Dūdėnas, 2009-08-31 17:10

For those using shared hosting it would be nice to explain that they can adjust PHP limits by inserting values into .htaccess file. If that file doesn't exist, they can create it in opengoo instalation folder. Desired values could look like that:

php_value upload_max_filesize 50M8
php_value post_max_size 50M
php_value max_execution_time 800
php_value memory_limit 64M

Of course these values are just an example.

Jan Störger, 2010-04-30 05:23

Changing the php.ini settings does not affect this problem. It says that the upload file size limit is 10MB no matter what we set. Larger uploads still fail.

Marcos Saiz, 2010-04-30 13:01

Changing php.ini solves the issue in most scenarios I tried.

Omer, 2010-09-02 03:28

editing php.ini doesn't work for me … plz provide some solution…

Marcos Saiz, 2010-09-02 08:58

Using ini_set in your PHP scripts might work

Balazs Kerulo, 2010-11-30 09:00

Any conclusions? I want to raise my 2MB upload limit. The first try failed.

Francisco Ponce de León, 2010-11-30 09:34

If you mean in the trial version, you should contact sales@fengoffice.com

Harshul Patel, 2010-12-23 16:13

Can you please tell me the files in which I can edit the max_upload_filesize so that I can upload 5-10MB files. php.ini doesn't works on windows shared hosting also .htaccess failed… please help

Francisco Ponce de León, 2011-01-05 10:11

If you are using the ProgressBar plugin, there is a variable named $MAX_SIZE (ln 18) in the upload.pl file, which defines the max upload size for this feature.

David ilicz Klementa, 2011-01-13 11:20

Please note, that if you're running FO on Apache using mpm-worker and mod_fcgid, it is necessary to set up FcgidMaxRequestLen parameter. Before 2.3.6 the default value was 1GB, but later the default value changed to 128kB. Therefore if tried to upload file larger than the value, the server returns error 500.

For more information see http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#fcgidmaxrequestlen

André Mota, 2011-01-18 18:19

The upload_max_filesize default parameter is set to 10M, and the upload limit is 2M? Does the php.ini file make any effect in existing Feng Office installations? Thanks!

Francisco Ponce de León, 2011-01-31 12:32

It does, but so does the parameter post_max_size value, which should be the same as the upload_max_filesize

BaselE, 2011-02-17 19:27

How can I put a title in the center of the page.

for example if my companies name is “Test 02 Company”.

I'd like “Test 02” on the top portion where its all white..

So no matter where the user goes.. it will always say on the top center of the screen: “Test 02 Company”

Francisco Ponce de León, 2011-02-21 13:07

You would have to dig into the code to do this.. Otherwise, feel free to contact sales@fengoffice.com for a custom development

Enter your comment
 
php.ini.txt · Last modified: 2014-04-07 14:25 by nicolas
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported


Terms of Service | Privacy and Security policies | Copyright © 2014 fengoffice.com