php-install Digest 24 Apr 2001 15:53:18 -0000 Issue 276

Topics (messages 2862 through 2867):

Re: connecting to DB from apache
        2862 by: B. van Ouwerkerk

upload file configuration
        2863 by: Michal Izydorski

conflicting types for 'RETCODE'
        2864 by: Chris Lee

tforum
        2865 by: Rob Wilks

Re: Recompile PHP RPM with -DEAPI?
        2866 by: Michiel de Roo

Parse Error for a weirdo!
        2867 by: ouarz.net

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]


----------------------------------------------------------------------



>I am getting the following error when trying to run for the first time
>admin.php from nuke 4.2;
>
>Fatal error.  Call to undefined function: mysql+pconnect() in
>/var/www/html/mainfile.php

Check this lists archive, look at some tutorials.

www.devshed.com www.phpbuilder.com www.phpnewbie.com

Bye,


B.





Hello everybody.

I'm not so shure that email is for this list.

I want to configure upload file that I'll be able to save files to
user-permission directories with this user's permission, not by
chmod, but automaticaly, by the Apache-PHP engine.
I saw it worked, but I don't know how - corporate secret.
I suppose that is apache running with specific user UID, but there
were many users on this server, where it worked.
Some ideas?


Regards, Mike






Dear all,

OS: Redhat Linux 7.1 / i386

I want to compile PHP 4.04pl1 with the the following config:
./configure --enable-track-vars --with-sybase=/usr/local/freetds 
--with-ibm-db2=/home/db2inst1/sqllib 

After I run MAKE, the following error occur:

In file included from /home/db2inst1/sqllib/include/sqlcli1.h:42,
                 from /usr/src/php-4.0.4pl1/ext/odbc/php_odbc.h:160,
                 from internal_functions.c:39:
/home/db2inst1/sqllib/include/sqlcli.h:344: conflicting types for
`RETCODE'
/usr/local/freetds/include/sybdb.h:72: previous declaration of
`RETCODE'
make[2]: *** [internal_functions.lo] Error 1
make[2]: Leaving directory `/usr/src/php-4.0.4pl1/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php-4.0.4pl1/main'
make: *** [all-recursive] Error 1


I checked the source code and found

/sqlcli.h
typedef signed short RETCODE;

/sydbd.h
typedef int RETCODE;

Can I change the typedef to signed short in sysdb.h file?
Any other workaround.

Many thanks in advance for newbie question.

Regards,
Chris Lee





I'm probably out of my depth here, but please have a look at my forum at
http://forum.celinestar.org.uk.  The error messages are like this:

Warning:  0 is not a MySQL result index in functions.php on line 16
Warning:  0 is not a MySQL result index in functions.php on line 21
Warning:  Oops, php3_SetCookie called after header has been sent in
functions.php on line 556
Warning:  Oops, php3_SetCookie called after header has been sent in
functions.php on line 562
Warning:  Oops, php3_SetCookie called after header has been sent in
functions.php on line 581
Warning:  Oops, php3_SetCookie called after header has been sent in
functions.php on line 584

There are errors like this throughout the forum.  I was using it to post
messages one day and refreshed it and it came out with all the error
messages.

I have no idea what to do with this.  Any help would be appreciated.  Please
note that I do not have much experience in mySQL/PHP.

Sn|-|op
mailto:[EMAIL PROTECTED]
http://www.robwilks.co.uk
ICQ#:3229926 AIM:ExhibitQRob





Use options:

--with-apxs
--enable-rule=EAPI (maybe needed or maybe already set by apxs)

Michiel.





Myke Carter <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
>
> I just joined this list because I'm having trouble getting my Red Hat
Linux 6.2 /
> Apache 1.3.12 / PHP3 / MySQL installation to function with SSL and
VeriSign trial
> site ID certificates.
>
> Once the certificate is in place I need to restart Apache, however, Apache
will
> not restart.  Instead I receive the following error message:
>
> --------------------------------------------------------------------
> Starting httpsd with SSL
> [Wed Feb 28 21:28:46 2001] [warn] Loaded DSO modules/libphp3.so uses
> plain Apache 1.3 API, this module might crash under EAPI! (please
> recompile it with -DEAPI)
>                                                            [FAILED]
> --------------------------------------------------------------------
>
> I understand that this can be corrected when compiling from source,
however, for
> several reasons I need to know how to get past this problem using the the
standard
> RPMs provided by Red Hat.
>
> In order to enable PHP3 to work with MySQL I had to modify the PHP source
RPM, add
> "--with-mysql", etc. to a config file, rebuild the binary from there and
install.
> A simple fix.  I assume that this -DEAPI problem with PHP can also be
corrected by
> way of a similar modification to the PHP source followed by another
rebuild.  What
> that modification is, however, I do not - and desperately need - to know.
>
> Thanks,
>
> Myke
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>






Hiya,

I am not a weirdo (at least I think so) ;)

Considere this (Notice the line number):
=======================================================================

    Parse error: parse error in test_the_bug.php on line 1

=======================================================================

Seem normal, isn't it... but i is not!!!

Since I last re-builted PHP,
all, error messages do not return the correct line number...
It is always saying line 1!

What I have done?!? I can't work it out...

I have rebuilt PHP many time now but with no success...
Apart that every thing work fine :( but it is quiete ennoying to track and
debug all my php errors :(

So my config is Linux Redhat with PHP Version 4.0.4pl1
'./configure' '--with-mysql' '--with-apxs' '--with-gd=/usr/local'
'--with-jpeg-dir=/usr/local' '--enable-ftp' '--with-imap' '--with-zlib'
'--with-gettext'

PLEASE HELP! 
Thanks in advance!
Franck



Reply via email to