See Bug IDs 10821 and 10581.

I think if you set the LateInit="yes" in the obj.conf file, the web
server will start, but anyone accessing a php page will cause the
server to hang. This is assuming that you are seeing the same
problem we have been seeing.

Init fn="load-modules" shlib="/path/to/server4/bin/libphp4.so"
            funcs="php4_init,php4_close,php4_execute,php4_auth_trans"
            Init fn="php4_init" LateInit="yes"

http://www.php.net/bugs.php?id=10581
http://www.php.net/bugs.php?id=10821

Jay

[EMAIL PROTECTED] wrote:

> ID: 10871
> User Update by: [EMAIL PROTECTED]
> Status: Open
> Bug Type: Other web server
> Operating system: Solaris 2.6
> PHP Version: 4.0.5
> Description: pclose() failed. (2: unknown early startup error)
>
> No problem with 4.0.4pl1...
>
> Previous Comments:
> ---------------------------------------------------------------------------
>
> [2001-05-15 05:14:59] [EMAIL PROTECTED]
> When I start the web server, I have a "[https-test]: pclose() failed. (2: unknown 
>early startup error)" message
>
> I installed php 4.0.5 with Oracle 8.1.6 support and Netscape Enterprise 3.6SP3 with :
>
> ./configure --without-mysql --with-nsapi=/opt/netscape/suitespot 
>--with-oci8=/opt/oracle/816
>
> make ; make install
>
> First, I had more error messages :
>
> [https-test]: pclose() failed. (2: unknown early startup error)
>
> [https-test]: conf_init: Error running init function load-modules: dlopen of 
>/opt/netscape/suitespot/bin/libphp4.so failed (ld.so.1:
>
> ns-httpd: fatal: libstdc++.so.2.8.1.1: open failed: No such file or directory)
>
> So I added the path for libstdc++ in LD_LIBRARY_PATH in the start file.
>
> Then, I had this :
>
> [https-test]: pclose() failed. (2: unknown early startup error)
>
> [https-test]: conf_init: Error running init function load-modules: dlopen of 
>/opt/netscape/suitespot/bin/libphp4.so failed (ld.so.1:
>
> ns-httpd: fatal: libclntsh.so.8.0: open failed: No such file or directory)
>
> So I also added Oracle lib path in the start file.
>
> Now I just have the first line, and no other error message. The Web Server just 
>won't start.
>
> my obj.conf is :
>
> # Netscape Communications Corporation - 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="/opt/netscape/suitespot/https-test/logs/access" form
>
> at.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] "%Req->reqpb.cl
>
> f-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="/opt/netscape/suitespot/bin/libphp4.so"
>
> Init fn=php4_init errorString="Failed to initialize PHP!"
>
> <Object name="default">
>
> NameTrans fn="pfx2dir" from="/ns-icons" dir="/opt/netscape/suitespot/ns-icons"
>
> NameTrans fn="pfx2dir" from="/mc-icons" dir="/opt/netscape/suitespot/ns-icons"
>
> NameTrans fn="pfx2dir" from="/help" dir="/opt/netscape/suitespot/manual/https/ug"
>
> NameTrans fn="document-root" root="/www/test/htdocs"
>
> 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"
>
> ObjectType fn="type-by-extension"
>
> ObjectType fn="force-type" type="text/plain"
>
> Service fn="php4_execute" type="magnus-internal/x-httpd-php"
>
> 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"
>
> 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="x-httpd-php">
>
> ObjectType fn="force-type" type="magnus-internal/x-httpd-php"
>
> Service fn=php4_execute
>
> </Object>
>
> Any idea ?
>
> ---------------------------------------------------------------------------
>
> Full Bug description available at: http://bugs.php.net/?id=10871
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to