php-install Digest 24 Oct 2002 08:23:26 -0000 Issue 1084

Topics (messages 8895 through 8903):

Re: Apache 2.0.43/PHP 4.2.3/Win XP Pro
        8895 by: Aaron Wolski
        8896 by: David Barrett

libphp4.so: undefined symbol: _dmalloc_strlen
        8897 by: Wilfredo I.

Installer Calls for Missing OCX (Win2K Server)
        8898 by: Tom Dillof

PHP4.2.3 + iPlanet4.1 on Solaris 8 -> No data
        8899 by: andre.lagadec.education.gouv.fr

php installation Apache 2 on Win 98 machine
        8900 by: Andrew Phayer

php/gd config error
        8901 by: Richard Pijnenburg

php/gettext error
        8902 by: Richard Pijnenburg

Re: PHP4.2.3 + iPlanet4.1 on Solaris 8 -> No data (Complement)
        8903 by: andre.lagadec.education.gouv.fr

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 ---
A hope and a prayer - that's what you need.

I hear it IS possible but hell if I know how. I tried for daaays to
figure this out when I didn't have any time to do so. Said screw it and
when with Apache 1.3X and guess what? Worked right off the bat.

That's my suggestion to you if you wanan save yourself some trouble.

>From my understanding, apache 2.X is not stable with PHP right now.

Aaron

-----Original Message-----
From: Billy Kendall [mailto:billykendall@;hotmail.com] 
Sent: Wednesday, October 23, 2002 10:28 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Apache 2.0.43/PHP 4.2.3/Win XP Pro


I have installed Apache 2.0.43 on Windows XP Professional SP1 and I am
trying to get PHP 4.2.3 to run.  I added the following lines to my
httpd.conf file:

LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php

but I am receiving the following errors when trying to restart Apache:

Cannot load C:/php/sapi/php4apache.dll into server: The specified module
could not be found.

Are there other changes that must be made to the httpd.conf to enable
PHP?

____________
BILLY KENDALL
Cell: 214.334.3633
Fax: 703.935.7804
E-Mail: [EMAIL PROTECTED]
Web: http://www.billykendall.com





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

--- End Message ---
--- Begin Message ---
Hey, get this.. I have a fully functional Apache 2.0.43 and PHP 4.2.3
running on Win2k.  But you are right about the module approach not
working... I had to give up on this.

I set it so that PHP.exe is executed as a cgi when the relevant file
extensions are requested from Apache.

Add these lines to your httpd.conf file:

ScriptAlias /php/ "C:/PHP/"
(change to your PHP path, i.e. the location of php.exe)

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

Action application/x-httpd-php /php/php.exe


And that should do it.  There are security issues with this approach, but
aren't there always?


"Aaron Wolski" <[EMAIL PROTECTED]> wrote in message
news:000301c27aa0$56929c00$0401a8c0@;aaron...
> A hope and a prayer - that's what you need.
>
> I hear it IS possible but hell if I know how. I tried for daaays to
> figure this out when I didn't have any time to do so. Said screw it and
> when with Apache 1.3X and guess what? Worked right off the bat.
>
> That's my suggestion to you if you wanan save yourself some trouble.
>
> From my understanding, apache 2.X is not stable with PHP right now.
>
> Aaron
>
> -----Original Message-----
> From: Billy Kendall [mailto:billykendall@;hotmail.com]
> Sent: Wednesday, October 23, 2002 10:28 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] Apache 2.0.43/PHP 4.2.3/Win XP Pro
>
>
> I have installed Apache 2.0.43 on Windows XP Professional SP1 and I am
> trying to get PHP 4.2.3 to run.  I added the following lines to my
> httpd.conf file:
>
> LoadModule php4_module c:/php/sapi/php4apache.dll
> AddModule mod_php4.c
> AddType application/x-httpd-php .php
>
> but I am receiving the following errors when trying to restart Apache:
>
> Cannot load C:/php/sapi/php4apache.dll into server: The specified module
> could not be found.
>
> Are there other changes that must be made to the httpd.conf to enable
> PHP?
>
> ____________
> BILLY KENDALL
> Cell: 214.334.3633
> Fax: 703.935.7804
> E-Mail: [EMAIL PROTECTED]
> Web: http://www.billykendall.com
>
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


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


I had installed PHP 4.2.3 with Apache 1.3.26 in a Linux RedHat 7.3 box,
all work fine, but for the recent security upgrades and for other
reasons i have the decision to upgrade to RedHat 8.0 all of this work
fine except Apache.

RH 8.0 have Apache 2.0.4? and when i try to install PHP appear the
error: "cannot load ... into server: .../libphp4.so undefined symbol
_dmalloc_strlen, i think that can a bug with Apache 2 and download
Apache 1.3.27.

I compile and install Apache fine and it work, but when i compile PHP
(as a dynamic module) and try to restart Apache and the error appear
too:
"Cannot load /usr/local/apache/libexec/libphp4.so into server:
/usr/local/apache/libexec/libphp4.so: undefined symbol: _dmalloc_strlen"

I try to compile PHP integrated with Apache binary and noting happens
the PHP module don't work an all PHP files is interpreted as text.

I try too with Apache 1.3.24 and have the same message.

WHY?
THAT I CAN DO?
SUGGESTIONS?

PLEASE IS VERY URGENT MY COMPANY IS OUT OF INTERNET.

--- End Message ---
--- Begin Message ---
Hi folks.  I have a Win2000 Server (OS fully updated) system on which I'd
like to install PHP for IIS.  When I run php-4.2.3-installer.exe, I get a
warning that a certain (unspecified) OCX file is missing, so the
installation cannot complete.  Does anyone know which OCX file(s) I may be
missing, or what I might need to update?

I have attempted to install everything manually, but encountered difficulty.
BTW, everything installed perfectly on my Win2000 Professional machine.
Thanks much!  -TD


--- End Message ---
--- Begin Message ---
Hello,

I install Php-4.2.3 on a Solaris 8 with Netscape iPlanet 4.1
The compilation is completed but when I want to test the installation
with this file
info.php, containing only these lines
<?php
phpinfo();
?>
I get the error message "File containing no data. See your
administrator"
There no error message in access file or error file.

There is only these lines in error file
[23/Oct/2002:18:36:42] info (21750): successful server startup
[23/Oct/2002:18:36:42] info (21750): iPlanet-WebServer-Enterprise/4.1SP1
BB1-06/13/2000 14:23
[23/Oct/2002:18:36:43] info (21750): php4_init reports: Initialized PHP
Module
[23/Oct/2002:18:37:06] info (21763): php4_init reports: Initialized PHP
Module
[23/Oct/2002:18:58:02] info (21918): php4_init reports: Initialized PHP
Module
[23/Oct/2002:18:58:58] info (21928): php4_init reports: Initialized PHP
Module

Here is my magnus.conf
#ServerRoot /produits/netscape/server4/https-dev1
ServerID https-dev1
ServerName 193.48.5.33
Port 8888
LoadObjects obj.conf
RootObject default
ErrorLog /produits/netscape/server4/https-dev1/logs/errors
PidLog /produits/netscape/server4/https-dev1/logs/pid
User w3dev1
MtaHost localhost
DNS off
Security off
Ciphers +rc4,+rc4export,+rc2,+rc2export,+des,+desede3
SSL3Ciphers
+rsa_rc4_128_md5,+rsa_3des_sha,+rsa_des_sha,+rsa_rc4_40_md5,+rsa_rc2_40_md5,-rsa_null_md5,+rsa_des_56_sha,+rsa_rc4_56_sh

a
ACLFile /produits/netscape/server4/httpacl/generated.https-dev1.acl
ClientLanguage en
AdminLanguage en
DefaultLanguage en
AcceptLanguage off
RqThrottle 512
StackSize 131072
CGIWaitPid on

Here is my obj.conf
# Sun Netscape Alliance - obj.conf
# You can edit this file, but comments and formatting changes
# might be lost when the admin server makes changes.

Init fn="flex-init"
access="/produits/netscape/server4/https-dev1/logs/access"
format.access="%Ses->client.ip% - %Req->vars.auth-use
r% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status%
%Req->srvhdrs.content-length%"
Init fn="load-types" mime-types="mime.types"
Init fn="load-modules"
funcs="php4_init,php4_close,php4_execute,php4_auth_trans"
shlib="/produits/netscape/server4/plugins/php4/dev1
/nsapi/libphp4.so"
Init fn="php4_init" LateInit="yes" errorString="Echec initialisation
php"

<Object name="default">
NameTrans fn="pfx2dir" from="/ns-icons"
dir="/produits/netscape/server4/ns-icons" name="es-internal"
NameTrans fn="pfx2dir" from="/mc-icons"
dir="/produits/netscape/server4/ns-icons" name="es-internal"
NameTrans fn="document-root" root="/exp51/DEV1/n/pgm/http/pages"
PathCheck fn="unix-uri-clean"
PathCheck fn="check-acl" acl="default"
PathCheck fn="find-pathinfo"
PathCheck fn="find-index" index-names="index.html,home.html,index.php"
ObjectType fn="type-by-extension"
ObjectType fn="force-type" type="text/plain"
Service method="(GET|HEAD)" type="magnus-internal/imagemap"
fn="imagemap"
Service method="(GET|HEAD)" type="magnus-internal/directory"
fn="index-common"
Service method="(GET|HEAD)" type="*~magnus-internal/*" fn="send-file"
Service fn="php4_execute" type="magnus-internal/x-httpd-php"
AddLog fn="flex-log" name="access"
</Object>

<Object name="cgi">
ObjectType fn="force-type" type="magnus-internal/cgi"
Service fn="send-cgi"
</Object>

<Object name="es-internal">
PathCheck fn="check-acl" acl="es-internal"
</Object>

<Object name="x-httpd-php">
ObjectType fn="force-type" type="magnus-internal/x-httpd-php"
Service fn="php4_execute"
</Object>

I add this line in mine.types
type=magnus-internal/x-httpd-php        exts=php,php3

I copy php-ini.dist in /produits/netscape/server4/plugins/php4/dev1/

It seem that php can't be execute on my server ?
So, I try an other test : I create the file essai.php with these code
<html>
    <head>
        <title>PHP Test</title>
    </head>
    <body>
    <h1>la suite...</h1>
    </body>
</html>
And I get the same error message "File containing no data. See your
administrator"

Can somebody help me ?

AL

--- End Message ---
--- Begin Message ---
Hi, 
        I'm running Apache 2 on a Win 98 machine, it 
worked fine, then  I installed the PHP module and due to 
some installation error? I now  get the following error 
when starting Apache from the command line. 

Syntax error on line 166  of 
C:/apache/Apache2/conf/httpd.conf: 
Cannot load 
C:/apache/Apache2/modules/php4apache.dll into  
server: One of the library files needed to run this 
application  cannot be found. 

Lines 166 to 168 are: 
LoadModule php4_module c:/php/sapi/php4apache.dll 
AddType application/x-hhtp-php .php 
AddModule mod_php4.c 

Have checked the .dll are in windows\system is their any 
why of  finding out what library files are missing? 

Also php.exe -i works from the command line, the html 
code is  displayed. 

Any ideas welcomed. 

Thanks 

Andrew 


---------------------------------
A Phayer
HOD Computing
Hawera High School
13 Camberwell Road
PO Box 437
Hawera
South Taranaki
New Zealand

Phone 06-278-4145

[EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---
Dear List,

I've installed GD with libpng, jpeg, freetype(2) and zlib
So now I wanted to install php.

But now I'm getting the following error:

checking for gdImageString16 in -lgd... no
checking for gdImagePaletteCopy in -lgd... no
checking for gdImageCreateFromPng in -lgd... no
checking for gdImageCreateFromGif in -lgd... no
checking for gdImageGif in -lgd... no
checking for gdImageWBMP in -lgd... no
checking for gdImageCreateFromJpeg in -lgd... no
checking for gdImageCreateFromXpm in -lgd... no
checking for gdImageCreateFromGd2 in -lgd... no
checking for gdImageCreateTrueColor in -lgd... no
checking for gdImageSetTile in -lgd... no
checking for gdImageSetBrush in -lgd... no
checking for gdImageStringTTF in -lgd... no
checking for gdImageStringFT in -lgd... no
checking for gdImageStringFTEx in -lgd... no
checking for gdImageColorClosestHWB in -lgd... no
checking for gdImageColorResolve in -lgd... no
checking for gdImageGifCtx in -lgd... no

I know for sure that the php config is right because it can find
everything it should need.

Any one got any idea ??

Thanks a lot.

--- End Message ---
--- Begin Message ---
Hi all,
 
I've installed gettext successful.
But when I try to install php with gettext, I'm getting the following:
 
checking for GNU gettext support... yes
checking for bindtextdomain in -lintl... no
checking for bindtextdomain in -lc... no
configure: error: Unable to find required gettext library
 
Does any one have an answer to this?
 
Thanks in advance.
 
Richard Pijnenburg
--- End Message ---
--- Begin Message ---
Hello,

I am completed my first contribution :
1) I see that in access-log, I CAN'T see a trace of the request
There is NO message like this
x.y.z.t - - [23/Oct/2002:14:23:58 +0200] "GET /info.php HTTP/1.0"

2) On a terminal Window on the machine,
- I put this command : telnet localhost 8888
- The server say :
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
- then I put this other command : get info.php HTTP/1.0
- The server say : Connection closed by foreign host.

It seems that php doesn't work

How can I debug this ? Can I compile php with option debug to see something ?
Can I run the server Web iPlanet in debug mode to see why the request is not made ?

AL

Andre Lagadec a écrit :

> Hello,
>
> I install Php-4.2.3 on a Solaris 8 with Netscape iPlanet 4.1
> The compilation is completed but when I want to test the installation
> with this file
> info.php, containing only these lines
> <?php
> phpinfo();
> ?>
> I get the error message "File containing no data. See your
> administrator"
> There no error message in access file or error file.
>
> There is only these lines in error file
> [23/Oct/2002:18:36:42] info (21750): successful server startup
> [23/Oct/2002:18:36:42] info (21750): iPlanet-WebServer-Enterprise/4.1SP1
> BB1-06/13/2000 14:23
> [23/Oct/2002:18:36:43] info (21750): php4_init reports: Initialized PHP
> Module
> [23/Oct/2002:18:37:06] info (21763): php4_init reports: Initialized PHP
> Module
> [23/Oct/2002:18:58:02] info (21918): php4_init reports: Initialized PHP
> Module
> [23/Oct/2002:18:58:58] info (21928): php4_init reports: Initialized PHP
> Module
>
> Here is my magnus.conf
> #ServerRoot /produits/netscape/server4/https-dev1
> ServerID https-dev1
> ServerName 193.48.5.33
> Port 8888
> LoadObjects obj.conf
> RootObject default
> ErrorLog /produits/netscape/server4/https-dev1/logs/errors
> PidLog /produits/netscape/server4/https-dev1/logs/pid
> User w3dev1
> MtaHost localhost
> DNS off
> Security off
> Ciphers +rc4,+rc4export,+rc2,+rc2export,+des,+desede3
> SSL3Ciphers
> 
>+rsa_rc4_128_md5,+rsa_3des_sha,+rsa_des_sha,+rsa_rc4_40_md5,+rsa_rc2_40_md5,-rsa_null_md5,+rsa_des_56_sha,+rsa_rc4_56_sh
>
> a
> ACLFile /produits/netscape/server4/httpacl/generated.https-dev1.acl
> ClientLanguage en
> AdminLanguage en
> DefaultLanguage en
> AcceptLanguage off
> RqThrottle 512
> StackSize 131072
> CGIWaitPid on
>
> Here is my obj.conf
> # Sun Netscape Alliance - obj.conf
> # You can edit this file, but comments and formatting changes
> # might be lost when the admin server makes changes.
>
> Init fn="flex-init"
> access="/produits/netscape/server4/https-dev1/logs/access"
> format.access="%Ses->client.ip% - %Req->vars.auth-use
> r% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status%
> %Req->srvhdrs.content-length%"
> Init fn="load-types" mime-types="mime.types"
> Init fn="load-modules"
> funcs="php4_init,php4_close,php4_execute,php4_auth_trans"
> shlib="/produits/netscape/server4/plugins/php4/dev1
> /nsapi/libphp4.so"
> Init fn="php4_init" LateInit="yes" errorString="Echec initialisation
> php"
>
> <Object name="default">
> NameTrans fn="pfx2dir" from="/ns-icons"
> dir="/produits/netscape/server4/ns-icons" name="es-internal"
> NameTrans fn="pfx2dir" from="/mc-icons"
> dir="/produits/netscape/server4/ns-icons" name="es-internal"
> NameTrans fn="document-root" root="/exp51/DEV1/n/pgm/http/pages"
> PathCheck fn="unix-uri-clean"
> PathCheck fn="check-acl" acl="default"
> PathCheck fn="find-pathinfo"
> PathCheck fn="find-index" index-names="index.html,home.html,index.php"
> ObjectType fn="type-by-extension"
> ObjectType fn="force-type" type="text/plain"
> Service method="(GET|HEAD)" type="magnus-internal/imagemap"
> fn="imagemap"
> Service method="(GET|HEAD)" type="magnus-internal/directory"
> fn="index-common"
> Service method="(GET|HEAD)" type="*~magnus-internal/*" fn="send-file"
> Service fn="php4_execute" type="magnus-internal/x-httpd-php"
> AddLog fn="flex-log" name="access"
> </Object>
>
> <Object name="cgi">
> ObjectType fn="force-type" type="magnus-internal/cgi"
> Service fn="send-cgi"
> </Object>
>
> <Object name="es-internal">
> PathCheck fn="check-acl" acl="es-internal"
> </Object>
>
> <Object name="x-httpd-php">
> ObjectType fn="force-type" type="magnus-internal/x-httpd-php"
> Service fn="php4_execute"
> </Object>
>
> I add this line in mine.types
> type=magnus-internal/x-httpd-php        exts=php,php3
>
> I copy php-ini.dist in /produits/netscape/server4/plugins/php4/dev1/
>
> It seem that php can't be execute on my server ?
> So, I try an other test : I create the file essai.php with these code
> <html>
>     <head>
>         <title>PHP Test</title>
>     </head>
>     <body>
>     <h1>la suite...</h1>
>     </body>
> </html>
> And I get the same error message "File containing no data. See your
> administrator"
>
> Can somebody help me ?
>
> AL

--- End Message ---

Reply via email to