php-install Digest 5 Oct 2001 07:05:00 -0000 Issue 490

Topics (messages 4501 through 4505):

Re: Compiling PHP4.0.6 in Freebsd 4.3 --> sapi_apache.c gives an error
        4501 by: B. PERRINE

Re: problem with locale
        4502 by: Paul Newby
        4503 by: B. PERRINE

Not newbie, but stumped
        4504 by: Tracy McKibben

linux 7 problems
        4505 by: rg

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 try it with apache 2.0.16 & php4.0.4pl1 (or 4.0.5) as a shared module
(--with-apxs2 ) on debian linux. It works but I didn't test it deeply.
B.

le jeu 04-10-2001 at 01:25 Doctrluv a écrit :
> Got this really strange error message when compiling PHP for apache 2.0.16.  
> Any ideas?
> thanks
> 
> Making all in apache
> /bin/sh /root/temp/php-4.0.6/libtool --silent --mode=compile gcc  -I. -
> I/root/temp/php-4.0.6/sapi/apache -I/root/temp/php-4.0.6/main -
> I/root/temp/php-4.0.6 -I/usr/local/include/apache -I/root/temp/php-
> 4.0.6/Zend -I/usr/local/include -I/root/temp/php-4.0.6/ext/mysql/libmysql -
> I/root/temp/php-4.0.6/ext/xml/expat/xmltok -I/root/temp/php-
> 4.0.6/ext/xml/expat/xmlparse -I/root/temp/php-4.0.6/TSRM  -
> DNO_DBM_REWRITEMAP -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2  -c 
> sapi_apache.c
> sapi_apache.c: In function `apache_php_module_main':
> sapi_apache.c:80: `NOT_FOUND' undeclared (first use in this function)
> sapi_apache.c:80: (Each undeclared identifier is reported only once
> sapi_apache.c:80: for each function it appears in.)
> *** Error code 1
> 
> Stop in /root/temp/php-4.0.6/sapi/apache.
> *** Error code 1
> 
> Stop in /root/temp/php-4.0.6/sapi/apache.
> *** Error code 1
> 
> Stop in /root/temp/php-4.0.6/sapi.
> *** Error code 1
> 
> Stop in /root/temp/php-4.0.6.
> 
> -- 
> 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]


--- End Message ---
--- Begin Message ---

> > The PHP locale functions work on an older installation
> > of PHP-3.0.12 on RH 6.1, but they don't seem to
> > work in my installation of PHP-4.0.5 on RH 7.0.
> > I've tried both setlocale("LC_TIME","french")
> > as well as setlocale(LC_TIME,"french").  Note
> > that "french" is in the output list of
> > /usr/bin/locale -a in either case.

> Try LC_TIME=fr_FR (the iso standard)
> B.

Thanks for the suggestion.  Unfortunately,
that doesn't work either.

Paul N.
--- End Message ---
--- Begin Message ---
I'm using a debian potato
In the directory /usr/share/locale, ther is an other one called fr_FR.
In several scripts, I use : setlocale (LC_TIME, "fr_FR");
And it work very well. 

B.

le jeu 04-10-2001 at 19:44 Paul Newby a écrit :
[..]
> 
> > Try LC_TIME=fr_FR (the iso standard)
> > B.
> 
> Thanks for the suggestion.  Unfortunately,
> that doesn't work either.
> 
> Paul N.
> 
> -- 
> 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]


--- End Message ---
--- Begin Message ---
Hello all...  I'm dealing with a strange problem, or at least one I've 
never seen before.  On a new server, just built this week, running RH 
7.1, Apache 1.3.20, & PHP 4.0.6.  All the necessary entries are in 
httpd.conf:

DirectoryIndex index.php index.html

AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps


Everything's working perfectly it seems, except one thing.  In each 
directory, the index page loads as it should, except in the root 
directory.  For instance:

http://myserver/foldera/   - loads the file index.php in that directory
http://myserver/folderb/   - ditto

http://myserver/           - I get prompted to download the index.php 
from here, rather than it being processed and displayed.  Tried 
with/without the trailing slash, no difference.

What's going on here?

-- 

===========================================================
Press Ctrl-Alt-Del now for IQ test.
===========================================================

--- End Message ---
--- Begin Message ---
i installed php4 on my linux 7 system.

when i try to access a .php file, it tries to save it to disk.

i changed the httpd.conf file already.

here is another quirk that i don't know is related.....

when i use a command line window to path to /usr/local/

i do 'ls' and i can see my apache and mysql directories that i
installed.

i cannot see the php directory.

when i use the gnome/windows-like environment, the php directory shows
up.

i can do cd /usr/local/php* and it will put me in it, but i won't show
up on a 'ls' command.

any solutions?

--- End Message ---

Reply via email to