|
how do you set php directives in php.ini when using php 5?
i have php.ini files in my site (it's hosted on a shared reseller server) serva.
example:
register_globals = 0
allow_url_fopen = 0
session.use_only_cookies = 1
post_max_size = 64M
upload_max_filesize = 10M
the above works fine when i'm using php 4 as default. but as a couple of new modules i now use etc require PHP 5, i am now using php5. altho i have not renamed all the extensions to .php5 (couldn't be bothered as it's too much trouble) instead i use .htaccess with the following >
RewriteEngine On
AddHandler application/x-httpd-php5 .php
but after doing that the php settings in the php.ini file no longer work.
also i have noticed, that since changing to use php5, i now have to set folder permissions to 777 in order for the script to be able to write to those folders.. on php4, i can set them to 755 (which is more secure)
__________________
Smartfactory.ca Module Development Team.
ImpressCMS.org Impress CMS Project: Making a lasting impression!
surpass server: SH106
|