Where is the PHP.ini file ?

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

Where is the PHP.ini file ?

Post by DA »

Hi all ,

Probably a stupid question , but as the tite says , where is this elusive php.ini file to be found ?

I want to make some suggested changes in it . We are hosted with IX Webhosting on a Linux setup .

Many thanks

DA
cyberman

Re: Where is the PHP.ini file ?

Post by cyberman »

When you only have "normally" webhosting without server access, you can't found php.ini  :). The place for php.ini on server is depending from the used linux distribution.

You can only try to overwrite some defaults with an entry in .htaccess ...
DA
Forum Members
Forum Members
Posts: 51
Joined: Sun Jul 30, 2006 3:56 am

Re: Where is the PHP.ini file ?

Post by DA »

Hi cyberman ,

Thanks for that . It is not available to me than .

Can I change these recomended settings in th htaccess file ? , and how do I do it / ( smile )

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"

Many thanks for your help

DA
cyberman

Re: Where is the PHP.ini file ?

Post by cyberman »

DA wrote: Can I change these recomended settings in th htaccess file ? , and how do I do it / ( smile )
Create a file named .htaccess and put it in the root of CMSms.
Checking PHP memory limit (min 8M, recommend 16M)......................You have "8M"
Write this inside .htaccess

Code: Select all

php_value memory_limit 16M 
Checking max execution time (min 30s, recommend 45s),,,,,,,,,,,,,,,,,,,,,You have "30"
The same here

Code: Select all

php_value max_execution_time 60
Checking max upload file size (min 2M)........................You have "2M"
And once again

Code: Select all

php_value upload_max_filesize 10M
But it will only work if your webhost has "AllowOverride On" in their httpd config.
DA
Forum Members
Forum Members
Posts: 51
Joined: Sun Jul 30, 2006 3:56 am

Re: Where is the PHP.ini file ?

Post by DA »

Hi Cyberman ,

Thanks very much for that , greatly appreciated .

Have a good day

DA
Locked

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