thanks for that information...

I do have full control of the Plesk server, but just not sure how to find
the information I need (never used Plesk before)

auto_start is turned off both in the old shared hosting as well as the new
hosting.

Links below show you full phpinfo

This link is for the NEW hosting on the server

http://test2.itlcarrier.com/phpinfo.php

This link is for the OLD hosting on the shared environment

http://www.spoc.co.nz/phpinfo.php

I am also trying to send a basic mail() message on the new server and not
working either...

if you could shed some light on these issues with the full php info provided
above would be awesome,

Much appreciated.


On Fri, Jan 21, 2011 at 4:56 PM, Cliff Black <[email protected]> wrote:

> Hi Brendon,
>
>
>
> Unless you have full control of the Plesk server you will be unable to edit
> the php.ini directly.
>
> As Plesk is essentially a permissions segmented control panel, which
> resides on an Apache/PHP stack and controls the VirtualHost directives when
> installed on a Linux server (for the Web server part anyway),
>
> editing the php.ini on the server will affect not only your own
> VirtualHost, but also everyone else’s – so not’s not something that should
> be done, and essentially can’t be from a Plesk client point of view.
>
>
>
> However, Plesk have implemented the ability to alter your own VirtualHost
> configuration – similar as you would on a standard LAMP server.
>
> The difference on a Plesk server is that you do not edit the VirtualHost
> file/directives themselves (located in the /conf dir), as they’ll get over
> written by Plesk on reloads etc,  but you add a vhost.conf file to your
> Plesk users /conf directory.
>
>
>
> The vhost.conf file is structured similarly to an Apache Vhost file, but
> you only add the directives you want to change.
>
>
>
> In your case:
>
>
>
> <Directory /var/www/vhosts/[domain.co.nz]/httpdocs>
>
>   php_admin_value session.save_path "/var/www/vhosts/[domain.co.nz
> ]/temp/session"
>
> </Directory>
>
>
>
> Of course your domain/locations may vary.
>
>
>
>
>
> Looking at your session variables currently set, I don’t see anything
> abnormal with the current configuration.
>
> It’s looks like a default  Plesk PHP setup (I run a few Plesk servers
> myself).
>
>
>
> Perhaps you should compare the settings on the previous server to see what
> is different (with exception to the session_save_path).
>
> First thing I would check is the auto_start setting – if that’s turned off
> on your current hosting, and you do not explicitly start a session on every
> page load, you will not be able to access/store session information.
>
>
>
> HTH
>
>
>
> ~ C
>
>
>
>
>
>
>
>
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Brendan Brink
> *Sent:* Friday, 21 January 2011 4:02 p.m.
> *To:* [email protected]
> *Subject:* [phpug] Session Issue
>
>
>
> hi there,
>
> I am migrating a system from shared hosting to its own server and having
> issues with sessions saving between pages. I am guessing I need to alter the
> php.ini file, but not sure how to do this on the server. Running Plesk on
> the new server.
>
> The current system phpinfo is as follows:
> session
>
> Session Support
>
> enabled
>
> Registered save handlers
>
> files user sqlite
>
> Registered serializer handlers
>
> php php_binary wddx
>
>
>
> *Directive*
>
> *Local Value*
>
> *Master Value*
>
> session.auto_start
>
> Off
>
> Off
>
> session.bug_compat_42
>
> Off
>
> Off
>
> session.bug_compat_warn
>
> On
>
> On
>
> session.cache_expire
>
> 180
>
> 180
>
> session.cache_limiter
>
> nocache
>
> nocache
>
> session.cookie_domain
>
> *no value*
>
> *no value*
>
> session.cookie_httponly
>
> Off
>
> Off
>
> session.cookie_lifetime
>
> 0
>
> 0
>
> session.cookie_path
>
> /
>
> /
>
> session.cookie_secure
>
> Off
>
> Off
>
> session.entropy_file
>
> *no value*
>
> *no value*
>
> session.entropy_length
>
> 0
>
> 0
>
> session.gc_divisor
>
> 1000
>
> 1000
>
> session.gc_maxlifetime
>
> 1440
>
> 1440
>
> session.gc_probability
>
> 1
>
> 1
>
> session.hash_bits_per_character
>
> 5
>
> 5
>
> session.hash_function
>
> 0
>
> 0
>
> session.name
>
> PHPSESSID
>
> PHPSESSID
>
> session.referer_check
>
> *no value*
>
> *no value*
>
> session.save_handler
>
> user
>
> files
>
> session.save_path
>
> *no value*
>
> *no value*
>
> session.serialize_handler
>
> php
>
> php
>
> session.use_cookies
>
> On
>
> On
>
> session.use_only_cookies
>
> Off
>
> Off
>
> session.use_trans_sid
>
> 0
>
> 0
>
>
>
>
> ____
>
> the phpinfo on the server is:
> session
>
> Session Support
>
> enabled
>
> Registered save handlers
>
> files user
>
> Registered serializer handlers
>
> php php_binary wddx
>
>
>
> *Directive*
>
> *Local Value*
>
> *Master Value*
>
> session.auto_start
>
> Off
>
> Off
>
> session.bug_compat_42
>
> Off
>
> Off
>
> session.bug_compat_warn
>
> On
>
> On
>
> session.cache_expire
>
> 180
>
> 180
>
> session.cache_limiter
>
> nocache
>
> nocache
>
> session.cookie_domain
>
> *no value*
>
> *no value*
>
> session.cookie_lifetime
>
> 0
>
> 0
>
> session.cookie_path
>
> /
>
> /
>
> session.cookie_secure
>
> Off
>
> Off
>
> session.entropy_file
>
> *no value*
>
> *no value*
>
> session.entropy_length
>
> 0
>
> 0
>
> session.gc_divisor
>
> 1000
>
> 1000
>
> session.gc_maxlifetime
>
> 1440
>
> 1440
>
> session.gc_probability
>
> 1
>
> 1
>
> session.hash_bits_per_character
>
> 5
>
> 5
>
> session.hash_function
>
> 0
>
> 0
>
> session.name
>
> PHPSESSID
>
> PHPSESSID
>
> session.referer_check
>
> *no value*
>
> *no value*
>
> session.save_handler
>
> files
>
> files
>
> session.save_path
>
> /var/lib/php/session
>
> /var/lib/php/session
>
> session.serialize_handler
>
> php
>
> php
>
> session.use_cookies
>
> On
>
> On
>
> session.use_only_cookies
>
> Off
>
> Off
>
> session.use_trans_sid
>
> 0
>
> 0
>
> _____________
>
> im guessing the issue has to do with the save_path setting or the
> save_handler.
>
> If anyone could assist me with how to FIND and update the php.ini file.
>
> Im using Dreamweaver.
>
> Would be most appreciated as its quite urgent.
>
> Thanks
> Brendan.
>
> --
> NZ PHP Users Group: http://groups.google.com/group/nzphpug
> To post, send email to [email protected]
> To unsubscribe, send email to
> [email protected]<nzphpug%[email protected]>
>
> --
> NZ PHP Users Group: http://groups.google.com/group/nzphpug
> To post, send email to [email protected]
> To unsubscribe, send email to
> [email protected]<nzphpug%[email protected]>




-- 
Kind Regards,

Brendan Brink

SMS Marketing Consultant | Manager
Sell2Cell Ltd.

021 0246 1646 | [email protected] | www.sell2cell.co.nz




  We provide customized, cost-effective SMS & Web Solutions
  Need a website? Need to integrate text-messaging into your business
  or website? Contact us today for a free no-obligation quote!

  VISIT OUR ASSOCIATED WEBSITES:   textvouchers.com | textguru.co.nz

WARNING This email contains information which is CONFIDENTIAL and may be
subject to LEGAL PRIVILEGE. If you are not the intended recipient, you must
not peruse, use, disseminate, distribute or copy the email or attachments.
If you have received this in error, please notify us immediately by return
email, facsimile, or telephone (call us collect).

-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to