php-install Digest 10 May 2002 07:06:10 -0000 Issue 828
Topics (messages 6924 through 6932):
Re: windows install fails
6924 by: MikeParton
6932 by: Simon Warner
Enabling php_gd.dll in v.4.0.6 on Omnihttp and Win XP
6925 by: Alan Hale
php-apache probs
6926 by: Ruben
6931 by: Mike P
Mail Problems
6927 by: Bill Puetz
SNMP support in phpinfo()
6928 by: Brian E. Seppanen
Informix module Compile Failure on PHP4.1 or 4.2
6929 by: Zachary Hamm
Wich configuration-options to use?
6930 by: Nico Berg
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 ---
What are the lines for PHP in your httpd.conf?
If you're trying to follow the PHP install directions to the letter, it
won't work. You need to use the apache2filter.dll found in the PHP
experitmental directory rather than the standard apache dll
----- Original Message -----
From: "Simon Warner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 09, 2002 9:42 AM
Subject: [PHP-INST] windows install fails
> Hi,
>
> I'm a newbie and probably an idiot, coz I can't install PHP.
>
> I've installed Apache 2 on my Win NT4 local machine and got it running.
>
> Then I've downloaded PHP and tried to install it.
>
> After I follow all the instructions from PHP and edit the config files, I
try to restart Apache
> and it refuses to restart.
>
> There is an error box but nothing in the logs.
>
> If I then comment out the three added lines in the httpd.config then
Apache starts up
> clean and runs sweet as syrup.
>
> I've no idea at all what is going on.
>
> Can anyone help me please?
>
> thanks
> Simon
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> cheers
>
> Simon Warner
> Computer Systems Officer
>
> * * * PLEASE HELP US RECRUIT VOLUNTEERS * * *
>
> We still need volunteers for the Stewarding, Under 5s team, Children's,
Hosting
> and Tent Security teams. If you know anyone who may be interested, please
ask
> them to email us at [EMAIL PROTECTED]
>
> * * * * * * * * * * * * * * * * * * *
>
>
>
>
>
> ------------------------------------------------------
> Spring Harvest
> 14 Horsted Square
> Uckfield
> East Sussex
> TN22 1QG
> A company limited by guarantee
> Registered in England, Registration No. 2724859
> Registered Charity No. 1014540
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
>What are the lines for PHP in your httpd.conf?
Here they are
#################################
### Start and load the PHP module
# Added by Simon based on instructions
# This should install php support for apache
# But it doesn't work.
#
# LoadModule php4_module c:/winnt/system32/php4apache.dll
# LoadModule php4_module e;/php/experimental/apache2filter.dll
# I've tried both seperately of the two lines above and both fail
# AddModule mod_php4.c
# AddType application/x-httpd-php .php
#
# When I uncomment these lines
# Apache refuses to start
###
#################################
--
Simon Warner
in England
------------------------------------------------------
Spring Harvest
14 Horsted Square
Uckfield
East Sussex
TN22 1QG
A company limited by guarantee
Registered in England, Registration No. 2724859
Registered Charity No. 1014540
--- End Message ---
--- Begin Message ---
OK, I give up. I've installed Omnihttpd server v.2.09 with PHP 4.0.6 built
in. Everything works OK till I try to enable the php_gd extension. I've
placed the dll directly under c:/httpd/php/ for now and put this as the path
in the php.ini file in Windows folder. I've tried forward and backward
slashes, and the path is in quotes. I always have a trailing slash. I've
uncommente the line in php.ini referencing the dll.
But when I run a script I get:
First: " The procedure entry point add_assoc_long could not be located in
the dll php4ts.dll"
Then: "Unable to locate dll 'c:\httpd\php\php_gd.dll' - the specified
procedure could not be found".
I've just rebuilt having moved to Windows XP. Had all this working OK
previously (on Me) so find it hard to understand what's going on. But looking through
the archives others have had similar problems (though I haven't found an answer there
that I haven't already tried).
Any help apreciated.
Alan Hale
--- End Message ---
--- Begin Message ---
Hi.
I just (re-)installed the phpdev apache, php 4.2.
Since I've got this problem. Evry time I load a php page i get this error message at
the top of evry page telling me that evry variable in the previous page isn't declared
yet. But when i used to run php whith my older version 4.06 I didn't get this message.
I also can't find any answers on the faq. Can you help me with this?
--- End Message ---
--- Begin Message ---
register_globals is deprecated in php 4.2. The preferred method is to use
the new GET or POST arrays (eg, $name = $_POST['name'], etc).
You can turn register_globals on in the php.ini. php.org recommends against
this for security reasons, discussions of which you can find in this
newsgroup recently.
"Ruben" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
Hi.
I just (re-)installed the phpdev apache, php 4.2.
Since I've got this problem. Evry time I load a php page i get this error
message at the top of evry page telling me that evry variable in the
previous page isn't declared yet. But when i used to run php whith my older
version 4.06 I didn't get this message. I also can't find any answers on the
faq. Can you help me with this?
--- End Message ---
--- Begin Message ---
Win2K Server/IIS 5/PHP 4.1.2
Mail does not work, but SMTP works fine for ASP apps on my server. I have
triple-checked php.ini -- cannot spot any problems. How do I attack this?
--- End Message ---
--- Begin Message ---
I've compiled SNMP support into php and installed the necessary rpms.
I've rebuild from the redhat 7.2 src rpm. I see the following in the
compile options.
'--with-snmp=shared,/usr' '--enable-ucd-snmp-hack'
However, further into the page I do not see any indication that snmp has
been enabled.
Has anyone encountered this problem.
Thanks,
Brian Seppanen
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
I cannot get PHP to compile on RH linux 7.2 with Informix as a shared
module; keeps giving me
"libtool: link: only absolute run-paths are allowed" error.
/bin/sh /php/php-4.1.1/libtool --silent --mode=compile gcc -I.
-I/php/php-4.1.1/ext/informix -I/php/php-4.1.1/main -I/php/php-4.1.1
-I/usr/include/apache -I/php/php-4.1.1/Zend -I/opt/informix/incl/esql
-I/php/php-4.1.1/ext/xml/expat -DLINUX=22 -DEAPI -DEAPI_MM
-DEAPI_MM_CORE_PATH=/var/run/httpd.mm -I/php/php-4.1.1/TSRM -g -O2
-prefer-pic -c ifx.c && touch ifx.slo
/bin/sh /php/php-4.1.1/libtool --silent --mode=link gcc -I.
-I/php/php-4.1.1/ext/informix -I/php/php-4.1.1/main -I/php/php-4.1.1
-I/usr/include/apache -I/php/php-4.1.1/Zend -I/opt/informix/incl/esql
-I/php/php-4.1.1/ext/xml/expat -DLINUX=22 -DEAPI -DEAPI_MM
-DEAPI_MM_CORE_PATH=/var/run/httpd.mm -I/php/php-4.1.1/TSRM -g -O2
-prefer-pic -o informix.la -avoid-version -module -rpath
/php/php-4.1.1/modules ifx.lo -Rext/informix -Lext/informix
-R/opt/informix/lib/esql -L/opt/informix/lib/esql -R/opt/informix/lib
-L/opt/informix/lib -lifsql -lifasf -lifgen -lifos -lifgls -ldl -lcrypt
-lphpifx -lifglx
libtool: link: only absolute run-paths are allowed
make[3]: *** [informix.la] Error 1
make[3]: Leaving directory `/php/php-4.1.1/ext/informix'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/php/php-4.1.1/ext/informix'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/php/php-4.1.1/ext'
make: *** [all-recursive] Error 1
Configure was input as
[root@elliott php-4.1.1]# ./configure --with-apxs=/usr/sbin/apxs
--without-mysql --enable-shared --with-informix=shared
Does anyone know how to fix this in libtool?
Any ideas?
Zack
--- End Message ---
--- Begin Message ---
Hi there,
I want to compile PHP on a Linux machine for use with Xitami. Wich
configuration options do I need at compile time?
Thank's
Nico Berg
--- End Message ---