php-install Digest 5 Jun 2002 00:19:49 -0000 Issue 868
Topics (messages 7217 through 7224):
force-cgi-redirect error
7217 by: rob ARMSTRONG
mssql freetds trouble installing
7218 by: Wes Forster
Problem with PHP 4.2.1
7219 by: Frank
7220 by: Pierre-Alain Joye
7222 by: Frank
Compiling PHP4.1.2 with GD - possible or not? Need help!
7221 by: Mathias Haas
Re: Problem with Installing PHP4 on AIX4.3.3
7223 by: Timothy Canon
PHP 4.2.1 CLI install problem
7224 by: Aaron McBride
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 ---
Running PWS 4.0 on windows 98 and getting the following error with php 4.2.1
any idea where I can set this variable ?
'This PHP CGI binary was compiled with force-cgi-redirect enabled. This
means that a page will only be served up if the REDIRECT_STATUS CGI variable
is set, e.g. via an Apache Action directive.'
--- End Message ---
--- Begin Message ---
Hello,
I'm hoping someone can please help me.
Solaris8 - Patched to 8_recommended
Apache 1.3.24
PHP 4.1.2
freetds .53
gcc 2.95
libgcc
libgcj
Im needing the mssql interface to work. After I compile Apache during the
make process I get.
/export/php/ext/mysql/php_mysql.c:1888: undefined reference to
`mysql_fetch_field'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/export/apache/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/export/apache'
make: *** [build] Error 2
Apache will not make. If I compile and install php without the freetds
sybase support it all works fine. Its just when I introduce those variables
that I run into trouble.
Thanks
Wes
--- End Message ---
--- Begin Message ---
English.-
Hi, (sorry for my english), before I had installed PHP 4.0.4, the page web worked
good, but, I change me to version 4.2.1 and return me the next error...
- Not is possible load the library php_oci8.dll
- When I to do execute the sentence...
$app=new COM("word.application");
return the error Warning: Unable to obtain IDispatch interface for CLSID
{000209FF-0000-0000-C000-000000000046}: Se ha denegado el acceso.
I have in the file PHP.INI -> com.allow_dcom = true
Español.-
hola, antes tenia instaldo PHP 4.0.4, the pagina web trabajaba bien, me cambié a la
versión 4.2.1 y me retornaba los siguientes errores...
- no es posible leer la libreria php_oci8.dll
- cuando ejecutaba la sentencia...
$app=new COM("word.application");
retornaba el error Warning: Unable to obtain IDispatch interface for CLSID
{000209FF-0000-0000-C000-000000000046}: Se ha denegado el acceso.
Tengo en el archivo PHP.INI -> com.allow_dcom = true
--- End Message ---
--- Begin Message ---
On Tue, 4 Jun 2002 10:48:13 -0300
"Frank" <[EMAIL PROTECTED]> wrote:
> - Not is possible load the library php_oci8.dll
If you do not use oracle just comment the php_oci8.dll line in your php.ini. This
error has nothing to do with the next problem.
> - When I to do execute the sentence...
> $app=new COM("word.application");
> return the error Warning: Unable to obtain IDispatch interface for CLSID
>{000209FF-0000-0000-C000-000000000046}: Se ha denegado el acceso.
>
> I have in the file PHP.INI -> com.allow_dcom = true
>
>
> Español.-
> hola, antes tenia instaldo PHP 4.0.4, the pagina web trabajaba bien, me cambié a la
>versión 4.2.1 y me retornaba los siguientes errores...
>
> - no es posible leer la libreria php_oci8.dll
> - cuando ejecutaba la sentencia...
> $app=new COM("word.application");
>
> retornaba el error Warning: Unable to obtain IDispatch interface for CLSID
>{000209FF-0000-0000-C000-000000000046}: Se ha denegado el acceso.
Seems that your word application or library (tlib) is not correctly registred. Try to
explore the word tlb with com esplorer ( available somewhere on msdn or with
VisualStudio), that will confirm the correct registration of the word component. Maybe
I m wrong :) just an idea;)
> Tengo en el archivo PHP.INI -> com.allow_dcom = true
Do you run word on another win32 station ? If not, you do not need to allow dcom.
--- End Message ---
--- Begin Message ---
php_oci8.dll.............
Yes, I use the oracle 8, in the version old (4.0.4) not have problem....
sentence... $app=new COM("word.application");
I use the Microsoft Window NT Server...
is the sentence correct? or which the correct sentence is?
what do I lack to make?
Frank.-
"Pierre-Alain Joye" <[EMAIL PROTECTED]> escribió en el mensaje
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Tue, 4 Jun 2002 10:48:13 -0300
> "Frank" <[EMAIL PROTECTED]> wrote:
> > - Not is possible load the library php_oci8.dll
> If you do not use oracle just comment the php_oci8.dll line in your
php.ini. This error has nothing to do with the next problem.
>
> > - When I to do execute the sentence...
> > $app=new COM("word.application");
> > return the error Warning: Unable to obtain IDispatch interface for
CLSID {000209FF-0000-0000-C000-000000000046}: Se ha denegado el acceso.
> >
> > I have in the file PHP.INI -> com.allow_dcom = true
> >
> >
> > Español.-
> > hola, antes tenia instaldo PHP 4.0.4, the pagina web trabajaba bien, me
cambié a la versión 4.2.1 y me retornaba los siguientes errores...
> >
> > - no es posible leer la libreria php_oci8.dll
> > - cuando ejecutaba la sentencia...
> > $app=new COM("word.application");
> >
> > retornaba el error Warning: Unable to obtain IDispatch interface for
CLSID {000209FF-0000-0000-C000-000000000046}: Se ha denegado el acceso.
> Seems that your word application or library (tlib) is not correctly
registred. Try to explore the word tlb with com esplorer ( available
somewhere on msdn or with VisualStudio), that will confirm the correct
registration of the word component. Maybe I m wrong :) just an idea;)
>
> > Tengo en el archivo PHP.INI -> com.allow_dcom = true
> Do you run word on another win32 station ? If not, you do not need to
allow dcom.
--- End Message ---
--- Begin Message ---
I can't seem to install PHP v4.1.2 and GD v.1.8.4 *or* v2.0.1. I keep
getting the same Make error all the time. I'm completely out of ideas,
and the only answer I could find searching the web was that it is a
bug...
I run FreeBSD 4.5 and I've installed GD through the ports (and by hand)
with all the libraries that it needs. Then I want to re-compile PHP4.1.2
with the following compile string:
./configure --with-mysql=/usr/local/mysql
--with-apxs=/usr/local/apache/bin/apxs --with-jpeg-dir=/usr/local/lib
--with-zlib-dir=/usr/local/lib --with-gd=/usr/local
That works really fine, and then I run make, which runs for a while and
then I get this error:
In file included from gd.c:36:
php_gd.h:69: warning: static declaration for `gdImageColorResolve'
follows non-static
gd.c:92: conflicting types for `gdIOCtx'
/usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
What am I supposed to do?
I'd *really* appreciate any help. Thanks in advance.
/mathias
--- End Message ---
--- Begin Message ---
You did not include the error message you are getting. I am also having
a problem with make on AIX 4.3.3.
There are my error messages. Anyone have any experience with this one?
I am using GNU assembler 2.9.1 (as) if that helps.
/home/tim/php-4.2.1 > ./configure --with-apache=../apache_1.3.24
...
/home/tim/php-4.2.1 > make
Making all in Zend
make[1]: Entering directory `/home/tim/php-4.2.1/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../main -I../TSRM -O2 -prefer-non-pic -static -c -o
zend_language_parser.lo `test -f zend_language_parser.c || echo
'./'`zend_language_parser.c
/tmp/ccZx453e.s: Assembler messages:
/tmp/ccZx453e.s:10844: Error: Unrecognized opcode: `bne+'
/tmp/ccZx453e.s:10869: Error: Unrecognized opcode: `bne+'
/tmp/ccZx453e.s:10992: Error: Unrecognized opcode: `blt-'
/tmp/ccZx453e.s:10997: Error: Unrecognized opcode: `bgt-'
/tmp/ccZx453e.s:11000: Error: Unrecognized opcode: `ble-'
/tmp/ccZx453e.s:11010: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:11050: Error: Unrecognized opcode: `bge-'
/tmp/ccZx453e.s:11057: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:11059: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:11062: Error: Unrecognized opcode: `ble-'
/tmp/ccZx453e.s:11064: Error: Unrecognized opcode: `bgt-'
/tmp/ccZx453e.s:11071: Error: Unrecognized opcode: `bgt-'
/tmp/ccZx453e.s:11076: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:11081: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:11105: Error: Unrecognized opcode: `bgt-'
/tmp/ccZx453e.s:11488: Error: Unrecognized opcode: `bgt-'
/tmp/ccZx453e.s:11493: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:11513: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:13128: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:13131: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:13139: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:13142: Error: Unrecognized opcode: `bgt-'
/tmp/ccZx453e.s:13147: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:13150: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:13184: Error: Unrecognized opcode: `blt-'
/tmp/ccZx453e.s:13187: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:13201: Error: Unrecognized opcode: `beq+'
/tmp/ccZx453e.s:13206: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:13214: Error: Unrecognized opcode: `bgt-'
/tmp/ccZx453e.s:13218: Error: Unrecognized opcode: `blt-'
/tmp/ccZx453e.s:13222: Error: Unrecognized opcode: `bgt-'
/tmp/ccZx453e.s:13232: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:13236: Error: Unrecognized opcode: `ble-'
/tmp/ccZx453e.s:13244: Error: Unrecognized opcode: `bgt-'
/tmp/ccZx453e.s:13259: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:13265: Error: Unrecognized opcode: `bgt-'
/tmp/ccZx453e.s:13274: Error: Unrecognized opcode: `bgt-'
/tmp/ccZx453e.s:13280: Error: Unrecognized opcode: `bgt-'
/tmp/ccZx453e.s:13290: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:13294: Error: Unrecognized opcode: `ble-'
/tmp/ccZx453e.s:13302: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:13348: Error: Unrecognized opcode: `blt-'
/tmp/ccZx453e.s:13351: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:13353: Error: Unrecognized opcode: `beq-'
/tmp/ccZx453e.s:13376: Error: Unrecognized opcode: `beq-'
make[1]: *** [zend_language_parser.lo] Error 1
make[1]: Leaving directory `/home/tim/php-4.2.1/Zend'
make: *** [all-recursive] Error 1
Regards,
Tim Canon
On Sunday, June 2, 2002, at 09:35 PM, Wei Bin Teah wrote:
> Hi,
>
> I'm trying to install PHP with mysql on an apache server (in AIX4.3.3).
> I'm getting this error message and don't know what I should do. If any
> of
> you knows, please send me a response.
>
> Will greatly appreciate your contribution.
>
> Ben Teah
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
I'm trying to install PHP on my Linux box as both a Apache module and as a CLI.
Here's the config I'm using:
'./configure' '--enable-cli' '--with-apxs=/usr/sbin/apxs' '--prefix=/usr'
'--with-config-file-path=/etc' '--disable-debug' '--enable-pic'
'--enable-shared' '--enable-inline-optimization' '--with-exec-dir=/usr/bin'
'--with-regex=system' '--with-gettext' '--with-gd' '--with-jpeg-dir=/usr'
'--with-png' '--with-zlib' '--with-db3' '--with-gdbm' '--with-pspell'
'--enable-debugger' '--enable-magic-quotes' '--enable-safe-mode'
'--enable-sockets' '--enable-sysvsem' '--enable-sysvshm'
'--enable-track-vars' '--enable-yp' '--enable-ftp' '--enable-wddx'
'--with-mysql=/usr' '--without-oracle' '--without-oci8' '--with-xml'
It looks like the install goes fine, except that it doesn't create the
executable file "/usr/bin/php".
I did find a file in "/php-4.2.1/sapi/cli/" but if I use it, I get a bunch
of errors.
I understand that the CLI version is still Experimental until 4.3.0, but I
really need php to work both from the command line, and from within
Apache. I was able to do it with version 4.0.6, so I'm getting pretty
frustrated that it seems like this newer version is less functional.
Any help would be greatly appreciated.
-Aaron
LINK:
http://www.php.net/manual/en/features.commandline.php
--- End Message ---