php-install Digest 15 Oct 2002 15:36:41 -0000 Issue 1070

Topics (messages 8805 through 8811):

Re: [PHP-DEV] Re: Apache 2 & incorrect 304 response to "If-Modified-Since"
        8805 by: James Cox

phpMyAdmin
        8806 by: Marcus Van Wyk

php /apache install problems
        8807 by: electroteque

PHP install question
        8808 by: Sean M Lentner

Error Lex output Line 2746
        8809 by: Jason
        8810 by: Jason
        8811 by: Jason

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 ---
I don't particularly like the look of this patch... we should fix 304's
properly...

> >
> > --- sapi/apache2filter/sapi_apache2.c~  Fri Aug 16 07:27:03 2002
> > +++ sapi/apache2filter/sapi_apache2.c   Mon Oct 14 23:27:26 2002
> > @@ -558,14 +558,24 @@
> >         return OK;
> >  }
> >
> > +static int includes_setup(ap_filter_t *f)
> > +{
> > +    /* We will ALWAYS set the no_local_copy value to 1 so
> > +     * that we will not send 304s.
> > +     */
> > +    f->r->no_local_copy = 1;
> > +
> > +    return OK;
> > +}
> > +
> >  static void php_register_hook(apr_pool_t *p)
> >  {
> >         ap_hook_pre_config(php_pre_config, NULL, NULL, APR_HOOK_MIDDLE);
> >         ap_hook_post_config(php_apache_server_startup, NULL,
> NULL, APR_HOOK_MIDDLE);
> >         ap_hook_insert_filter(php_insert_filter, NULL, NULL,
> APR_HOOK_MIDDLE);
> >         ap_hook_post_read_request(php_post_read_request, NULL,
> NULL, APR_HOOK_MIDDLE);
> > -       ap_register_output_filter("PHP", php_output_filter,
> NULL, AP_FTYPE_RESOURCE);
> > -       ap_register_input_filter("PHP", php_input_filter, NULL,
> AP_FTYPE_RESOURCE);
> > +       ap_register_output_filter("PHP", php_output_filter,
> includes_setup, AP_FTYPE_RESOURCE);
> > +       ap_register_input_filter("PHP", php_input_filter,
> includes_setup, AP_FTYPE_RESOURCE);
> >  }
> >
> >  AP_MODULE_DECLARE_DATA module php4_module = {
> >
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
Hi there

I've just gone and setup PhpMyAdmin

I've done what the install file told me to do.

And as soon as I load the index.php to the browser
I see the DB
e.g
MySQL
test

as soon as I click on one of them it replies saying 

No tables found in database

this is the same for MySQL and test.

I do this on command line and it's working fine.

MySQL -u user -p password
it connects
MySQL >show databases

MySQL 
test

MySQL> create database test2;
Query OK, 1 row affected (0.09 sec )

any ideas why I can't select within browser.
I was  thinking that it might be a read write problem but MySQL dir is read right to 
everyone as a test to see but it still doesn't work

Any advise would be appreciated

Marcus


==========================================================
This message contains information intended for the perusal, and/or use (if
so stated), by the stated addressee(s) only. The information is
confidential and privileged. If you are not an intended recipient, do not
peruse, use, disseminate, distribute, copy or in any manner rely upon the
information contained in this message (directly or indirectly). The sender
and/or the entity represented by the sender shall not be held accountable
in the event that this prohibition is disregarded. If you receive this
message in error, notify the sender immediately by e-mail, fax or telephone
representations contained in this message, whether express or implied, are
those of the sender only, unless that sender expressly states them to be
the views or representations of an entity or person, who shall be named by
the sender and who the sender shall state to represent. No liability shall
otherwise attach to any other entity or person.
==========================================================

--- End Message ---
--- Begin Message ---
hi guys having apache2filter errors compiling php 4.2.2 and 4.3 against both
apache 2.0.39 and 2.0.43

php_functions.c:93:27: missing binary operator before '!'

make[3]: *** [php_functions.lo] Error 1

make[3]: Leaving directory `/usr/local/etc/php-4.2.2/sapi/apache2filter'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/usr/local/etc/php-4.2.2/sapi/apache2filter'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/usr/local/etc/php-4.2.2/sapi'

i've had this error before and have had to patch bloody php_functions.c wot
can i do ?



--- End Message ---
--- Begin Message ---
I got php with gettext, ldap, imap & mysql installed and running but I don't 
think I have PHP registered properly.  On my RH linux box I can do a which php 
and get the location but on OpenBSD I just get 
 
which php
php: Command not found.
which ls
/bin/ls

any ideas?

Also I can access test.php which resides in the /var/www/horde/test.php
from http://192.168.1.25/horde/test.php  
the horde directory has a symbolic link ln -s /var/www/horde /var/www/htdocs/
but I cannot access /var/www/horde/imp/intro.php 
http://192.168.1.25/horde/imp/intro.php
but if I copy intro.php to
/var/www/horde I can.

It's like the minute the php file is deeper then the symbolic link it just will 
not load properly.
--- End Message ---
--- Begin Message ---
Does anyone know what to do with this error?  I have upgraded my apache
version from 1.3 to 2.0.43 without a change in success.  I have looked at
the lines but I am too new to Linux to decipher this.  I am running a
Mandrake Linux v9 install.  I have downloaded and installed MySQL to make
sure I had the latest version.

Thanks






--- End Message ---
--- Begin Message ---
Does anyone know what to do with this error?  I have upgraded my apache
version from 1.3 to 2.0.43 without a change in success.  I have looked at
the lines but I am too new to Linux to decipher this.  I am running a
Mandrake Linux v9 install.  I have downloaded and installed MySQL to make
sure I had the latest version.

Thanks







--- End Message ---
--- Begin Message ---
Does anyone know what to do with this error?  I have upgraded my apache
version from 1.3 to 2.0.43 without a change in success.  I have looked at
the lines but I am too new to Linux to decipher this.  I am running a
Mandrake Linux v9 install.  I have downloaded and installed MySQL to make
sure I had the latest version.

Thanks







--- End Message ---

Reply via email to