php-install Digest 29 Mar 2003 21:10:51 -0000 Issue 1312
Topics (messages 10449 through 10452):
Re: Cannot send session cookie - headers already sent by
10449 by: Jeffrey_N_Dyke.Keane.com
compile problems with mysql - php4.3.1
10450 by: Willie Klein
10451 by: Willie Klein
Need some help!!!
10452 by: Taaniel Jakobs
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
this means there has been content already sent to the browser. even you
have a space in your file before the <? opening tag... this error will
occur. check this file as well as any included file. it looks like the
issue is in file1.php.
HTH
jeff
"Atif Jakupovic"
<[EMAIL PROTECTED] To: [EMAIL PROTECTED]
-sc.gc.ca> cc:
Subject: [PHP-INST] PHP: Cannot send
session cookie - headers already
03/28/2003 01:14 sent by
PM
Hi everybody,
Please, could you help me to find out why I'm getting an error message
like one below.
Warning: session_start() [function.session-start]: Cannot send
session
cookie - headers already sent by (output started at file1.php:2) in
InitSession.php on line 2.
It was working fine few days ago.
Thank you,
Atif
--- End Message ---
--- Begin Message ---
Hi All;
This is driving me crazy. I've been seaching the various newsgroups and
forums for days and have found similar problems but no answers.
I have been trying to install php 4.3.1 I am using Redhat 8 Apache 2.x with
MySQL4.0.12. I have gotten the same error with Redhatt 7.3 apache 1.3.x and
MySQL 3.23.56. I configure ./configure --with
apxs2 --with-mysql --enable-track-vars The configure runs and make errors
out with:
ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
/usr/local/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:103: the use of
`tempnams dangerous, better use `mkstemp'
php4.2.x will compile
So I try to tell it where mysql is and I'm not sure what it wants.
/var/lib/mysql is where the data is, the mysqld is in /usr/sbin and the
header
file mysql.h is in /usr/include/mysql, the mysql client is in /usr/bin I've
givin it all those directorys and configure still tells me it can't find the
headers.
So if someone could give me a hint about this I would appreciate it.
Again this all worked fine with php4.2.x
--- End Message ---
--- Begin Message ---
Well yet more researching and I've found various threads at bugs.php.net
All claim this is not a php bug. I don't pretend to know. (Although it does
work with older versions of php). Anyway the gist of the threads there say
the compiler shouldn't stop on this warning, but it does. My gcc version is
3.2-7 . The Redhat 8 machine. There are some cryptic references to libtool
in some of the threads but I've looked at that and I don't understand how to
use it or how it would help. There must be an answer to this but I can't
figure it out.
Any help greatly apreciated.
"Willie Klein" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi All;
>
> This is driving me crazy. I've been seaching the various newsgroups and
> forums for days and have found similar problems but no answers.
>
> I have been trying to install php 4.3.1 I am using Redhat 8 Apache 2.x
with
> MySQL4.0.12. I have gotten the same error with Redhatt 7.3 apache 1.3.x
and
> MySQL 3.23.56. I configure ./configure --with
> apxs2 --with-mysql --enable-track-vars The configure runs and make errors
> out with:
> ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
> /usr/local/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:103: the use of
> `tempnams dangerous, better use `mkstemp'
>
> php4.2.x will compile
>
> So I try to tell it where mysql is and I'm not sure what it wants.
> /var/lib/mysql is where the data is, the mysqld is in /usr/sbin and the
> header
> file mysql.h is in /usr/include/mysql, the mysql client is in /usr/bin
I've
> givin it all those directorys and configure still tells me it can't find
the
> headers.
>
> So if someone could give me a hint about this I would appreciate it.
>
> Again this all worked fine with php4.2.x
>
>
>
>
>
--- End Message ---
--- Begin Message ---
Hello! I needet to re-install php on my comp, and I just can't get it to work.
I am using win98 with PWS 4.0 and the newest version of PHP.
I get DNS error.
The page can not be shown.
Anybody?
--- End Message ---