php.ini effects and setup
Posted: Thu Dec 30, 2010 9:07 am
Hello,
While installing cmsms I got a message that three values are not meeting the required value:
and ran phpinfo() This script was telling these values where set. Than I looked at CMSMS SI:
So what next? I searched the forum and found a post telling to put the php.ini into the admin-folder. Did so and ran SI again. Values are set according to php.ini However, Imagemanager was showing a logon screen and no thumbs where created when using Album. This used to work before moving php.ini to the admin-folder.
Before I figured out what was wrong, a lot of time was spent, also by one of the people from the Dutch forum. This was a quite frustrating process.
What I don't understand, is why SI does not take the values from php.ini when the file is in the root and phpinfo() does show the set values. Second, what makes Imagemanger showing the logon screen when php.ini is in the admin-folder?
Hope some of the system engineers are willing to help me on this one.
Gregor
While installing cmsms I got a message that three values are not meeting the required value:
I created a php.ini with the appropriate valuesupload_max_filesize
post_max_size
max_execution_time
Code: Select all
upload_max_filesize = 10M
post_max_size = 10M
max_execution_time = 60
Here you can see other values. After a chat with the provider, I came to know that these are the values set for the whole server.----------------------------------------------
Cms Version: 1.9.2
Installed Modules:
* Album: 0.9.3
* CMSMailer: 2.0
* FCKeditorX: 1.1.0
* Guestbook: 1.3.0
* MenuManager: 1.7.4
* ModuleManager: 1.4
* News: 2.11
* NMS: 2.3.2
* nuSOAP: 1.0.2
* Search: 1.6.8
* ThemeManager: 1.1.3
* TinyMCEAdv: 2.2.2
* AjaxMadeSimple: 0.3.1
* FrontEndUsers: 1.12.6
* Captcha: 0.4.3
* FormBuilder: 0.6.4
* Comments: 1.9.2
* FileManager: 1.0.3
* Printing: 1.1.1
* CGExtensions: 1.22.1
* Questions: 1.0.3
* RateThis: 1.0
* Uploads: 1.11.5
* CGFeedMaker: 1.0.11
* HitCounter: 1.1
* Banners: 2.3.6
* NFS: 1.0
* Polls: 0.3.2
* Slide: 1.0
* iCal: 0.1
* TinyMCE: 2.8.2
* FormBrowser: 0.3.2
* CGCalendar: 1.5.6
Config Information:
* php_memory_limit: 120M
* process_whole_template: true
* output_compression: false
* max_upload_size: 1000000
* default_upload_permission: 664
* url_rewriting: none
* page_extension:
* query_var: page
* image_manipulation_prog: GD
* auto_alias_content: true
* locale:
* default_encoding: utf-8
* admin_encoding: utf-8
* set_names: false
Php Information:
* phpversion: 5.2.14
* md5_function: On (True)
* gd_version: 2
* tempnam_function: On (True)
* magic_quotes_runtime: Off (False)
* E_STRICT: 0
* memory_limit: 32M
* max_execution_time: 30
* output_buffering: On
* safe_mode: Off (False)
* file_uploads: On (True)
* post_max_size: 8M
* upload_max_filesize: 2M
* session_save_path: /tmp (1777)
* session_use_cookies: On (True)
* xml_function: On (True)
Server Information:
* Server Api: cgi
* Server Db Type: MySQL (mysql)
* Server Db Version: 5.0.91
----------------------------------------------
So what next? I searched the forum and found a post telling to put the php.ini into the admin-folder. Did so and ran SI again. Values are set according to php.ini However, Imagemanager was showing a logon screen and no thumbs where created when using Album. This used to work before moving php.ini to the admin-folder.
Before I figured out what was wrong, a lot of time was spent, also by one of the people from the Dutch forum. This was a quite frustrating process.
What I don't understand, is why SI does not take the values from php.ini when the file is in the root and phpinfo() does show the set values. Second, what makes Imagemanger showing the logon screen when php.ini is in the admin-folder?
Hope some of the system engineers are willing to help me on this one.
Gregor