php-install Digest 15 May 2002 02:14:46 -0000 Issue 835

Topics (messages 6977 through 6988):

apache 2.0.35 + postgresql + php 4.2.0
        6977 by: Kang-Ling Weng
        6980 by: F.Lanza

Win2k-Apache 2.0.36-PHP4.2.0 running stable
        6978 by: Wolfgang

Re: PHP 4.2.0  CGI install with IIS5 dot net and (W2k Server)
        6979 by: Eddie Thomas

Re: not reading variables
        6981 by: Paul Shone
        6982 by: Rasmus Lerdorf
        6983 by: Jim Thome
        6984 by: Paul Shone

Problems using IIS + PHP
        6985 by: andrebotafoguense.zipmail.com.br

SIze of libphp4.so
        6986 by: chad kellerman

problems installing ldap
        6987 by: Jim Harle

Confusion with apache 2.0.36, php 4.2.1 and OpenBSD 2.9
        6988 by: Carl Brewer

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 ---
Hello everyone,

  I am new in PHP and I am trying to configure php with
  apache 2.0.35 and postgresql with this command:

  ./configure --with-pgsql=/usr/include/postgresql/ --with-apache=/root/httpd-2.0.35
  (look at the end of the mail for the output)

  php 4.2.0 seem not to work with apache 2:
  ---
  Configuring SAPI modules
  checking for AOLserver support... no
  checking for Apache 1.x module support via DSO through APXS... no
  checking for Apache 1.x module support... configure: error: --with-apache does not 
work with Apache 2.x!
  ---

  Can somebody help me?

  --- SOME INFORMATION ---
  I am using: Debian woody 2.2 Kernel
              Apache 2.0 already running
              Postgresql already running
  --- END OF INFORMATION ---
  
--- BEGIN OF OUTPUT ---
checking build system type... i586-pc-linux-gnu
checking host system type... i586-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking dependency style of gcc... (cached) none
checking whether gcc and cc understand -c and -o together... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking whether compiler supports -R... no
checking whether compiler supports -Wl,-rpath,... yes
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for gawk... (cached) mawk
checking for bison... bison -y
checking bison version... 1.35 (ok)
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for pthreads_cflags... -pthread
checking for pthreads_lib...

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... configure: error: --with-apache does not 
work with Apache 2.x!

--- END OF OUTPUT ---

-- 
Best regards,
 Kang-Ling                          mailto:[EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---
Kang-Ling Weng wrote:

> Hello everyone,
> 
>   I am new in PHP and I am trying to configure php with
>   apache 2.0.35 and postgresql with this command:
> 
>   ./configure --with-pgsql=/usr/include/postgresql/
>   --with-apache=/root/httpd-2.0.35 (look at the end of the mail for the
>   output)
> 


your problem is "-with-apache=...", with apache2 you must install php in 
DSO DSO mode, and your configure must be:
./configure --with-pgsql=/usr/include/postgresql/ 
--with-apxs2=/usr/local/apache2/bin/apxs  (the right path depend to your 
apache installation)


regards

Franco


>   php 4.2.0 seem not to work with apache 2:
>   ---
>   Configuring SAPI modules
>   checking for AOLserver support... no
>   checking for Apache 1.x module support via DSO through APXS... no
>   checking for Apache 1.x module support... configure: error:
>   --with-apache does not work with Apache 2.x! ---
> 
>   Can somebody help me?
> 
>   --- SOME INFORMATION ---
>   I am using: Debian woody 2.2 Kernel
>               Apache 2.0 already running
>               Postgresql already running
>   --- END OF INFORMATION ---
>   
> --- BEGIN OF OUTPUT ---
> checking build system type... i586-pc-linux-gnu
> checking host system type... i586-pc-linux-gnu
> checking for a BSD compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... no
> checking for mawk... mawk
> checking whether make sets ${MAKE}... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for style of include used by make... GNU
> checking for gcc... gcc
> checking for C compiler default output... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for executable suffix...
> checking for object suffix... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking dependency style of gcc... none
> checking how to run the C preprocessor... gcc -E
> checking for AIX... no
> checking for gcc... (cached) gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking dependency style of gcc... (cached) none
> checking whether gcc and cc understand -c and -o together... yes
> checking for gcc option to accept ANSI C... none needed
> checking how to run the C preprocessor... gcc -E
> checking whether compiler supports -R... no
> checking whether compiler supports -Wl,-rpath,... yes
> checking for ranlib... ranlib
> checking whether ln -s works... yes
> checking for gawk... (cached) mawk
> checking for bison... bison -y
> checking bison version... 1.35 (ok)
> checking for flex... flex
> checking for yywrap in -lfl... yes
> checking lex output file root... lex.yy
> checking whether yytext is a pointer... yes
> checking for gcc option to accept ANSI C... none needed
> checking for an ANSI C-conforming const... yes
> checking for pthreads_cflags... -pthread
> checking for pthreads_lib...
> 
> Configuring SAPI modules
> checking for AOLserver support... no
> checking for Apache 1.x module support via DSO through APXS... no
> checking for Apache 1.x module support... configure: error: --with-apache
> does not work with Apache 2.x!
> 
> --- END OF OUTPUT ---
> 

--- End Message ---
--- Begin Message ---
Hi,
I've made a subdir where all Webdev-Stuff remains.
First I installed Apache into c:\webdev\apache2 , PHP in c:\webdev\php
and MySQL in c:\webdev\mysql.
After that I copied all .dll to c:\winnt\system32
(dll-,experimental- and root_of_php-folder *.dll).

In httpd.conf I've the following two lines:
LoadModule php4_module c:/webdev/php/experimental/apache2filter.dll
AddType application/x-httpd-php .php .php3 .php4 .phtml

All is up and running, no problems found.
Hope this will help some of you
  

-- 
Greetings,
Wolfgang Dillenburger

--- End Message ---
--- Begin Message ---
Thanks for this though now I get the CGI Error

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

Something is still going pear shaped in there.
The php script runs on the command line.
The IIS "Check that file exists" is set so the script is found.
PHP.ini is found because the force_redirect had to be changed.
This message confirms that php.exe has been found.

Any more ideas ?

Thanks
Eddie.

"Christoph Grottolo" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> The correct exe is php.exe. In 4.2.0 you find it in the sapi directory of
> the php distribution (before and after it resides in the root directory).
> You should copy it to the root directory.
>
> php-cli.exe is the command line interface.
>
> Christoph
>
> Eddie Thomas wrote:
> > After following the install instructions to the letter I find that a
> > test phpinfo.php page will not open. I am using the php-cli.exe in
> > the php folder (I assume this right). The phpinfo script works from
> > the command line OK. I tried moving the php.ini, php-cli.exe and
> > php4ts.dll to the IIS scripts folder but I still have the same
> > problem.
> >
> > I can only assume the problem occures because this is a dot net
> > version on W2k Server.
> >
> > Any ideas?
> >
> > Eddie.
>


--- End Message ---
--- Begin Message ---
Hi,
I am also experiencing problems regarding variables which don't seem to be
getting parsed correctly to the corresponding page.
I'm running Apache 1.3.24 and (I have tried version 2.0.35 as well), and PHP
4.2.0.
I get the same thing happening that Graham said - when I ask for
www.apage.com?var1=something  an empty
www.apage.com comes up indicating that the ?var1=something portion is not
being received.
The frustrating thing is that my code runs fine on other servers but not my
system.
Paul


--- End Message ---
--- Begin Message ---
Turn on register_globals in your php.ini file

On Tue, 14 May 2002, Paul Shone wrote:

> Hi,
> I am also experiencing problems regarding variables which don't seem to be
> getting parsed correctly to the corresponding page.
> I'm running Apache 1.3.24 and (I have tried version 2.0.35 as well), and PHP
> 4.2.0.
> I get the same thing happening that Graham said - when I ask for
> www.apage.com?var1=something  an empty
> www.apage.com comes up indicating that the ?var1=something portion is not
> being received.
> The frustrating thing is that my code runs fine on other servers but not my
> system.
> Paul
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

--- End Message ---
--- Begin Message ---
Read the press release on PHP 4.2.X, specifically the section on external variables.

http://us2.php.net/release_4_2_1.php

--Jim



>>> "Paul Shone" <[EMAIL PROTECTED]> 05/13/02 11:03PM >>>
Hi,
I am also experiencing problems regarding variables which don't seem to be
getting parsed correctly to the corresponding page.
I'm running Apache 1.3.24 and (I have tried version 2.0.35 as well), and PHP
4.2.0.
I get the same thing happening that Graham said - when I ask for
www.apage.com?var1=something  an empty
www.apage.com comes up indicating that the ?var1=something portion is not
being received.
The frustrating thing is that my code runs fine on other servers but not my
system.
Paul



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php 


--- End Message ---
--- Begin Message ---
Hi Geoff,
In the php.ini file there is a line which probably reads:
    register_globals=Off
if you change that to:
    register_globals=On
See if that helps :)
Paul

"Geoff" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Im running php 4.0.2 on winxp pro and the latest apache (1.3.x) and have
> followed all of the installation instructions on php.net, and the only
> problem i have encountered so far is the my variables arnt reading from
the
> url
>
> ie : /?page=contact wont go to the contact page, it will only refresh the
> current page.
>
> any help would be appreciated (and its not my code, other peopel have
tested
> on their machines, and i have uploaded to a temp host and it works fine)
>
> thankyou
>
>


--- End Message ---
--- Begin Message ---
Hi! I have installed PHP under Win 2000 server edition. I use IIS 5 like
my http server. But when I try to execute some PHP script I receive this
message: "You are not allowed to show this page." But if I try to show a
http file it works fine! What can I do to solve this problem?

The error:  HTTP 401,1 - Not allowed: logon failed
Internet Information Services

Thanks for you attention



------------------------------------------
Use o melhor sistema de busca da Internet
Radar UOL - http://www.radaruol.com.br



--- End Message ---
--- Begin Message ---
Hi everyone,

   I was wondering what the appropriate size for the libphp4.so module should be?  I 
am running php4.2.1 with apache 1.3.20.

     It seems that the basic red hat install of php 1.3M  I just compiled php with the 
following options:

./configure --with-apxs=/etc/httpd/bin/apxs --with-apache=../apache_1.3.20 
--with-cybercash=/usr/local/cybercash/mck-3.2.0.6-i586-pc-linux-gnulibc2.1 
--with-mysql=/usr/local/mysql --with-gdbm=/usr/local/lib --enable-bcmath 
--enable-dbase --enable-ftp --enable-track-vars --enable-trans-sid 
--disable-posix-threads --disable-debug --with-gd=/usr/local --enable-gd-native-ttf 
--with-jpeg-dir=/usr/local/lib --with-png-dir=/usr/lib --with-mcrypt=/usr/local 
--with-curl=/usr/local --with-xml --with-zlib --enable-memory-limit=yes

and got an so 3M.  

   THis just doesn't seem right, especially when phpinfo() returns almost the same 
information.


Anyone know what the scoop is?

THanks,

--Chad
--- End Message ---
--- Begin Message ---
I'm installing php for the first time and have managed to slog thorigh
most of the oddities (some imposed bu php, some by my configuration).  I
noticed that most of the ldap questions in this newsgroup have gone
unanswered.  I hope that someone at least will point me to a place that
gets me further.

Please don't stop reading because you see that I am using the iplanet
server.  I don't think that has direct bearing on my problem.  Also, I
don't think the problem is related to the fact that I am doing this on a
Solaris 8 box.

I am building php 4.2.0.  I used the following to configure it:

./configure --enable-ftp --with-ldap=/usr/local/src/ldap/netscSDK4
--with-nsapi=/www/webdevel/iplanetserver --without-mysql
--enable-track-vars --enable-force-cgi-redirect --with-gettext
--with-imap --with-xml --with-pspell

The directory /usr/local/src/ldap/netscSDK4 contains everything from the
latest Netscape/iPlanet/Sun C SDK for Solaris.

When I start the iplanet server, I get the following:

conf_init: Error running init function load-modules: dlopen of
/www/webdevel/iplanetserver/bin/libphp4.so failed (ld.so.1: ns-httpd:
fatal: relocation error: file
/www/webdevel/iplanetserver/bin/libphp4.so: symbol ldap_start_tls_s:
referenced symbol not found)

One caveat: I first configured and make'd with a plain --with-ldap (no
=/path ) and got the same results.

Thanks for anything that will get me further along.

  --Jim Harle

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


I'm trying to install PHP 4.2.1 with apache 2.0.36
on OpenBSD 2.9, and am somewhat confused :)

Apache's compiled as :


./configure --enable-ssl --enable-ipv6

And all installed ok.  httpd -l says :

steel1# /usr/local/apache2/bin/httpd -l
Compiled in modules:
   core.c
   mod_access.c
   mod_auth.c
   mod_include.c
   mod_log_config.c
   mod_env.c
   mod_setenvif.c
   mod_ssl.c
   prefork.c
   http_core.c
   mod_mime.c
   mod_status.c
   mod_autoindex.c
   mod_asis.c
   mod_cgi.c
   mod_negotiation.c
   mod_dir.c
   mod_imap.c
   mod_actions.c
   mod_userdir.c
   mod_alias.c
   mod_so.c


I'm using the following configure arguments to php :

./configure --with-axps2=/usr/local/apache2/bin/axps --enable-module=so

I'm not sure if I need the enable-module=so?

Anyway .. it seems to build almost everything, except I can't see
where it's putting the actual module when I run a make install.
I'm not able to find anything that looks like an apache module
in /usr/local.

Can anyone tell me what the module name should be?  I've got a
libphp4.a, but I don't think I want that, I think I want a
libphp4.so?  Has anyone got a monkey sheet for how to install
this, or can point to the doco I've missed that tells me
how I'm meant to do the install?  Is the sapi/apache directory
something that's meant to contain anything after I run my
make or my make install?  There's only sourcecode, no
binaries in there.

Thanks in advance.  Once I get this up and running I'll be
adding it in to a bunch of IPv6 howto's I'm putting together
for *BSD, so hopefully no-one else will have to ask my
dumb question (if they haven't already and I just haven't
been able to find it)

Carl


--- End Message ---

Reply via email to