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


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

Reply via email to