PHP recommended settings test on instaltion

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
DA
Forum Members
Forum Members
Posts: 51
Joined: Sun Jul 30, 2006 3:56 am

PHP recommended settings test on instaltion

Post by DA »

Hi all ( again ) ,

On installing 1.03beta , the first page , where it tests and checks the settings etc . I received this . These three are the only yellows .

My question is , how important are they , and how do you fix them , or get them up to recommended .

Checking PHP memory limit (min 8M, recommend 16M)......................You have "8M"
Could not retrieve a value.... passing anyways

Checking max execution time (min 30s, recommend 45s),,,,,,,,,,,,,,,,,,,,,You have "30"

Checking max upload file size (min 2M)........................You have "2M"

Sorry if my questions see a little tediouse to you .

Incidentaly , 1.03beta installed flawlessly , one as an upgrade over 0.13 , and one as a new install .

Thanks again

DA
Last edited by DA on Tue Aug 01, 2006 2:50 pm, edited 1 time in total.
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: PHP recommended settings test on instaltion

Post by tsw »

these settings are important if you run large site or have some tasks that take long time to complete

PHP memory limit tells php not to use more memory than 8mb for one process (with lots of modules cmsms might need more)

max execution time tells php to stop script execution if it goes over this value (some tasks might take long, but usually this is just a good way to stop a runaway loop ;)

max upload file size limits size of files you can upload through image manager and file manager.


All these values can be edited in php.ini file (on linux machines its usually /etc/php/php.ini or similar)

hope this helps
DA
Forum Members
Forum Members
Posts: 51
Joined: Sun Jul 30, 2006 3:56 am

Re: PHP recommended settings test on instaltion

Post by DA »

Many thanks for that tsw .

Where do I find the php.ini ?
I am on a windows machine , and also not on a dedicated server .

Have a good day

DA
Last edited by DA on Wed Aug 02, 2006 12:20 am, edited 1 time in total.
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: PHP recommended settings test on instaltion

Post by tsw »

If you are on a hosted environment youll have to ask for server sysadmins to do the changes as you most probably dont have rights to do it yourself.

php.ini location on a windows server is a mystery to me, maybe find is your friend

hope this helps
3dcandy

Re: PHP recommended settings test on instaltion

Post by 3dcandy »

php.ini *should* be in the base php directory.
however, it can also be in the c:\windows\system or c:\windows\system32 directorys...

how did you install php, whatversion of windows and whatversion of php are you using...

on my system, php.ini is located in c:\php\

hope this helps, but of course there is always the search facility in windows...

:P
DA
Forum Members
Forum Members
Posts: 51
Joined: Sun Jul 30, 2006 3:56 am

Re: PHP recommended settings test on instaltion

Post by DA »

Hi 3dcandy ,

Thanks for that , but I do not have php.ini anywhere on my computer . I did the find thing and it did not come up .

We are on a ' hosted ' system and do not have access to the php.ini file . I will have to ask my service provider to make these changes , if possible , or do the htaccess file thing .

Have a good day

DA
3dcandy

Re: PHP recommended settings test on instaltion

Post by 3dcandy »

DA - yup, I reckon it will be in c:\php\ which of course you have no access to.
The values you have are standard php install values. I really doubt that you will be able to change them much or at all.
Best of luck...

:)
Locked

Return to “[locked] Installation, Setup and Upgrade”