Re: [PHP] PHP Sessions Not Saving

2003-02-04 Thread Jonathan Wright
At around Tue, Feb 04, 2003 at 02:06:35PM +0800, Jason Wong constructed the following 
notation:
  
   Recompile, why?  How about a link?
  
   ln -s /sbin/sendmail /usr/sbin/sendmail
 
  During the ./configure part of the installation, PHP checks for
  sendmail, but only in /sbin/sendmail. If it doesn't find it, the
  function mail() isn't complied in.
 
  I just get 'call to undefined function mail()' in x/y.php on z.
 
 But according to the manual configure should check both locations?

I can't remember where i saw it (i think it was on a mailing list), but
someone said it'll only check /sbin/sendmail, which seams to be the
case. sendmail.path is set to '/usr/sbin/sendmail' in php.ini, but that
doesn't has an effect.

well, either way it hasn't been compiled in so a recompile will be
needed. it's only a 10 minute job anyway. 

-- 
jonathan wright  [EMAIL PROTECTED] | www.djnauk.co.uk
--
life has no meaning unless we can enjoy what we've been given

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] PHP Sessions Not Saving

2003-02-03 Thread Chris Shiflett
--- Jonathan Wright [EMAIL PROTECTED] wrote:
 i'm having problems with sessions. I've set up the server
 (httpd-2.0.44) with php (4.3.0) and switched on sessions.

I would recommend not using Apache 2 with PHP right now.
Stick with the latest stable 1.3.x version.

Chris

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] PHP Sessions Not Saving

2003-02-03 Thread Jonathan Wright
At around Mon, Feb 03, 2003 at 10:42:47AM -0800, Chris Shiflett constructed the 
following notation:
 --- Jonathan Wright [EMAIL PROTECTED] wrote:
  i'm having problems with sessions. I've set up the server
  (httpd-2.0.44) with php (4.3.0) and switched on sessions.
 
 I would recommend not using Apache 2 with PHP right now.
 Stick with the latest stable 1.3.x version.
 
 Chris

Aside from this, PHP's running like a dream. I haven't had a single
problem (other than mail() not working, but I found that's because I use
/usr/sbin/sendmail, not /sbin/sendmail, so I'll just need to recompile).

Although it's running under httpd, surley the fact that PHP's not
writing to the files on the drive (only 'touch'ing them so to speak) is
more of a PHP problem than an Apache problem?

Thanks,

-- 
jonathan wright  [EMAIL PROTECTED] | www.djnauk.co.uk
--
life has no meaning unless we can enjoy what we've been given

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] PHP Sessions Not Saving

2003-02-03 Thread Greg Donald
On Mon, 3 Feb 2003, Jonathan Wright wrote:

Aside from this, PHP's running like a dream. I haven't had a single
problem (other than mail() not working, but I found that's because I use
/usr/sbin/sendmail, not /sbin/sendmail, so I'll just need to recompile).

Recompile, why?  How about a link?

ln -s /sbin/sendmail /usr/sbin/sendmail


-- 
Greg Donald
http://destiney.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] PHP Sessions Not Saving

2003-02-03 Thread Jonathan Wright
At around Mon, Feb 03, 2003 at 04:20:03PM -0600, Greg Donald constructed the following 
notation:
 On Mon, 3 Feb 2003, Jonathan Wright wrote:
 
 Aside from this, PHP's running like a dream. I haven't had a single
 problem (other than mail() not working, but I found that's because I use
 /usr/sbin/sendmail, not /sbin/sendmail, so I'll just need to recompile).
 
 Recompile, why?  How about a link?
 
 ln -s /sbin/sendmail /usr/sbin/sendmail

During the ./configure part of the installation, PHP checks for
sendmail, but only in /sbin/sendmail. If it doesn't find it, the
function mail() isn't complied in.

I just get 'call to undefined function mail()' in x/y.php on z.

-- 
jonathan wright  [EMAIL PROTECTED] | www.djnauk.co.uk
--
life has no meaning unless we can enjoy what we've been given

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] PHP Sessions Not Saving

2003-02-03 Thread Greg Donald
 During the ./configure part of the installation, PHP checks for
 sendmail, but only in /sbin/sendmail. If it doesn't find it, the
 function mail() isn't complied in.
 
 I just get 'call to undefined function mail()' in x/y.php on z.

Ok, make your link this way then:

ln -s /usr/sbin/sendmail /sbin/sendmail 

--
Greg Donald



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] PHP Sessions Not Saving

2003-02-03 Thread Jason Wong
On Tuesday 04 February 2003 06:30, Jonathan Wright wrote:
 At around Mon, Feb 03, 2003 at 04:20:03PM -0600, Greg Donald constructed the 
following notation:
  On Mon, 3 Feb 2003, Jonathan Wright wrote:
  Aside from this, PHP's running like a dream. I haven't had a single
  problem (other than mail() not working, but I found that's because I use
  /usr/sbin/sendmail, not /sbin/sendmail, so I'll just need to recompile).
 
  Recompile, why?  How about a link?
 
  ln -s /sbin/sendmail /usr/sbin/sendmail

 During the ./configure part of the installation, PHP checks for
 sendmail, but only in /sbin/sendmail. If it doesn't find it, the
 function mail() isn't complied in.

 I just get 'call to undefined function mail()' in x/y.php on z.

But according to the manual configure should check both locations?

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
Romeo wasn't bilked in a day.
-- Walt Kelly, Ten Ever-Lovin' Blue-Eyed Years With Pogo
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: Re: [PHP] PHP Sessions Not Saving

2003-02-03 Thread nick
This is a system automated E-Mail reply.

If you email is a request for support then please visit the below URL and lodge 
your support request.
If you cannot access the below URL, then please email [EMAIL PROTECTED] for prompt 
support.
http://www.wildcomm.net/support.php

If this is not a support related E-Mail then disregard this E-Mail.

Regards.
Support Response
Wildthing Communications 
Mob: 0421 556847
PO Box 1841
SUNSHINE PLAZA
Maroochydore
QLD 4558
http://www.wildcomm.net
ICQ# 64851373





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php