php-install Digest 12 Oct 2002 00:20:38 -0000 Issue 1065

Topics (messages 8764 through 8770):

2 copy of php.ini
        8764 by: Sipos Viktor

FastCGI
        8765 by: Roger Sistla

Re: Install errors on XP/Apache2.0.43/PHP4.2.3
        8766 by: Jason Wood
        8767 by: Jason Wood

Compiling PHP binary as compact as possible
        8768 by: Bobby Gaza

php only works in web root directory
        8769 by: Philip Tanner

AIX extension woes
        8770 by: Ryan Smith

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 ---
Okey.. I found out..
In c:\windows\php.ini all these settings was correct...
arg_separator.output = "&"
arg_separator.input = ";&"
variables_order = "EGPCS"
register_globals = ON

But i had another copy of php.ini in
C:\programfiles\php\php.ini...

That was the reason why GET and POST failed...

Sivic
--- End Message ---
--- Begin Message ---
Does anyone know of good documnetation on how to setup php
in a fastcgi environment. Please dont tell me to "./configure 
--with-fastcgi".

What I mean is, after php is built with fastcgi, how do you actually use 
it with
apache ??? Do you also have to build apache with fastcgi ??? Any 
[working] examples ???

Would appreciate any help or if you can point me to the right web link. Thanks,

/RS


--- End Message ---
--- Begin Message ---
Okay... I recieved an "anonymous" tip from someone, with a link to a bug
page on php's site:

http://bugs.php.net/bug.php?id=18129


Basically says that any modules for Apache2.0.43 must be compiled for that
version of Apache.  I get the following error when i try to load the php
module:
Cannot load C:/php/sapi/php4apache2.dll into server: The specified procedure
could not be found.

>From what I can tell, noone else can get xp/apache2.0.43/php4.2.3  to work
together...  I'm downloading apache 1.3.27 right now so i can get something
working on this machine.

Thanks for all your help guys!



--
Jason Wood
Chief Technology Officer
Expressive Tek, Inc.
407 Kehrs Mill Road
636.256.1362
Fax: 636.527.6064
http://www.expressivetek.com

"Jason Wood" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> This is driving me nuts.  I downloaded the binarys and set them up in
> c:/php/
>
> I've added the LoadModule php4_module c:\php\sapi\php4apache2.dll  line to
> my config... Tried several different things, including changing the
> php4apache2.dll to a .so file... still didnt work.  The system even viewer
> doesnt help;  just gives me this info:
>
> Event Type: Error
> Event Source: Service Control Manager
> Event Category: None
> Event ID: 7024
> Date:  10/10/2002
> Time:  10:31:50 AM
> User:  N/A
> Computer: JASON
> Description:
> The Apache2 service terminated with service-specific error 1 (0x1).
>
> For more information, see Help and Support Center at
> http://go.microsoft.com/fwlink/events.asp.
>
>
> What's going on here?  I have no idea... Never had this much of a hard
time
> getting php to work with apache.
>
>
> --
> Jason Wood
> Chief Technology Officer
> Expressive Tek, Inc.
> 407 Kehrs Mill Road
> 636.256.1362
> Fax: 636.527.6064
> http://www.expressivetek.com
>
>


--- End Message ---
--- Begin Message ---
Installed apache 1.3.27, changed the httpd.conf, and it started up first
try.  What a hassle =P



"Jason Wood" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Okay... I recieved an "anonymous" tip from someone, with a link to a bug
> page on php's site:
>
> http://bugs.php.net/bug.php?id=18129
>
>
> Basically says that any modules for Apache2.0.43 must be compiled for that
> version of Apache.  I get the following error when i try to load the php
> module:
> Cannot load C:/php/sapi/php4apache2.dll into server: The specified
procedure
> could not be found.
>
> From what I can tell, noone else can get xp/apache2.0.43/php4.2.3  to work
> together...  I'm downloading apache 1.3.27 right now so i can get
something
> working on this machine.
>
> Thanks for all your help guys!
>
>
>
> --
> Jason Wood
> Chief Technology Officer
> Expressive Tek, Inc.
> 407 Kehrs Mill Road
> 636.256.1362
> Fax: 636.527.6064
> http://www.expressivetek.com
>
> "Jason Wood" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > This is driving me nuts.  I downloaded the binarys and set them up in
> > c:/php/
> >
> > I've added the LoadModule php4_module c:\php\sapi\php4apache2.dll  line
to
> > my config... Tried several different things, including changing the
> > php4apache2.dll to a .so file... still didnt work.  The system even
viewer
> > doesnt help;  just gives me this info:
> >
> > Event Type: Error
> > Event Source: Service Control Manager
> > Event Category: None
> > Event ID: 7024
> > Date:  10/10/2002
> > Time:  10:31:50 AM
> > User:  N/A
> > Computer: JASON
> > Description:
> > The Apache2 service terminated with service-specific error 1 (0x1).
> >
> > For more information, see Help and Support Center at
> > http://go.microsoft.com/fwlink/events.asp.
> >
> >
> > What's going on here?  I have no idea... Never had this much of a hard
> time
> > getting php to work with apache.
> >
> >
> > --
> > Jason Wood
> > Chief Technology Officer
> > Expressive Tek, Inc.
> > 407 Kehrs Mill Road
> > 636.256.1362
> > Fax: 636.527.6064
> > http://www.expressivetek.com
> >
> >
>
>


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

Hello,

I am currently taking on a project where I have the opportunity to use php
(in cgi-mode) on an embedded system. Obviously due to space constraints, I
need to get that php binary as small as possible. The only support I need
is xml. Unfortunately I can only get it down to about 2megs but I know it
can be smaller as I've seen it as small as 800K.

Im currently compiling as:

./configure --enable-xml --without-mysql --enable-pcntl

Does anyone out there have any tips/insight for me?

Thanks,

Bobby

--- End Message ---
--- Begin Message ---
    I'm sure this is probably an easy one, but I'm stuck. I have php
installed on a W2K system running IIS. I've gone through the install notes
several times but I can't seem to get .php files working throughout the web
site's directory structure.
    I've got an index.php file under root which comes up with no problem.
However, if I name a file index.php in a directory underneath the root
level, I get the following:

CGI Error
The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are:

    When I look at the source I see:

<head><title>Error in CGI Application</title></head>
<body><h1>CGI Error</h1>The specified CGI application misbehaved by not
returning a complete set of HTTP headers.  The headers it did return
are:<p><p><pre></pre>

    I can take this file and move it into the web root and it works fine.
Any ideas?

                                                    Thanks,

                                                    Phil. Tanner

[EMAIL PROTECTED]



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

I'm having some problems getting an extension to work in the AIX
environment, and I'm wondering if anyone has seen anything similar.

Please reply to me, and I will summarize for the list if there is a
solution.

I'm using PHP 4.1.2, and everything is fine until I add an extension to the
php.ini file.  Then, on startup, I get the following error messages:

PHP Warning:  Unable to load dynamic library
'/usr/HTTPServer/libexec/libfirstmod.so' - Invalid argument in Unknown on
line 0
PHP Warning:  Unable to load dynamic library
'/usr/HTTPServer/libexec/libfirstmod.so' - Invalid argument in Unknown on
line 0

And the extension doesn't load.  If I try to load it within a page using
dl(), I get a similar problem.  The module works fine on Solaris.  I
additionally tried using the firstmod module in the documentation, and get
the same results.

Here's what I'm using to compile PHP and the extension:

env CC=cc CXX=xlC CFLAGS="-ma -Dinline" ./configure
  --enable-shared
  --with-apxs=/usr/HTTPServer/bin/apxs
  --with-ibm-db2=/usr/db2inst1/sqllib
  --without-mysql
  --with-ldap=/users/rysmith/apache/openldap-2.0.25_AIX/

cc -I/usr/local/include -I../../Zend -I../../main -I../.. -I../../TSRM -c -o
firstmod.o firstmod.c

cc -G -qmkshrobj -o libfirstmod.so firstmod.o

  --Ryan





--- End Message ---

Reply via email to