Hi,


I have some problems in installing PHP for Apache with the Satellite 
extention. As soon as I place a idl-file in the idl_directory, Apache 
silently dies directly when started, even without a message on stderr or 
in the logfile.


I used the following parameters for building the parts of the system:

ORBit: ./configure --prefix=/usr/local/orbit-20000902
        make
        make install
        (put /usr/local/orbit-20000902/lib into /etc/ld.so.config and run
         ldconfig)

PHP:   export PATH=$PATH:/usr/local/orbit-20000902/bin
        (to let php's configure find orbit-config)
        ./configure     --with-apache=../../apache/apache_1.3.12 \
                 --prefix=/usr/local/php4                \
                 --with-pgsql=/usr/local/postgres        \
                 --with-config-file-path=/usr/local/apache/etc/php \
                 --enable-track-vars                     \
                 --enable-satellite
        make
        make install

Apache:
        export LIBS=  "`orbit-config --libs client` `libIDL-config 
--libs`"
        ./configure     --with-layout=MyApache          \
                 --activate-module=src/modules/php4/libphp4.a
        make
        make install
        (create php.ini in /usr/local/apache/etc/php, put
         idl_directory therein)

(Ah yes: I did this all on a Linux box, Debian Woody installed.)

When I start httpd without an idl-file in the idl directory everything 
is fine, as soon as I put an idl-file into the idl directory, httpd 
starts, creates its httpd.pid file and dies, commentless.

(I used this Hello.idl, directly from the Java IDL tutorial:
module HelloApp {
         interface Hello
         {
                 string sayHello();
         };
};
)

Ah, one additional strange thing: doing it this way, with generation of 
shared libraries for ORBit enabled I get from Apache the note:
/usr/local/apache/bin/httpd: Symbol `TC_short_struct' has different size 
in shared object, consider re-linking
/usr/local/apache/bin/httpd: Symbol `TC_long_struct' has different size 
in shared object, consider re-linking
/usr/local/apache/bin/httpd: Symbol `TC_double_struct' has different 
size in shared object, consider re-linking
/usr/local/apache/bin/httpd: Symbol `TC_boolean_struct' has different 
size in shared object, consider re-linking
./bin/apachectl start: httpd started

When disabling the shared libraries with --disable-shared for configure 
of ORBit, this note disappears, but nothing else changes.


Can anyone help a bit?


Thanks,
Wolfgang


-- 
PHP Install 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