php-install Digest 22 Jun 2002 15:04:21 -0000 Issue 896

Topics (messages 7428 through 7436):

Re: Install problems on Solaris 8 with PHP 4.2.1
        7428 by: Yasuo Ohgaki
        7429 by: Pierre-Alain Joye
        7430 by: Yasuo Ohgaki
        7436 by: Thomas Bader

Unable to initialize module
        7431 by: tbrownridge.comcast.net
        7433 by: Rasmus Lerdorf
        7434 by: toby -

PHP Installation problem( with apache ) - help
        7432 by: kramer

Re: missing binary operator
        7435 by: Zac Hillier

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 ---
Thomas Bader wrote:
> Hello
> 
> Just tried to compile PHP 4.2.1 and I got the following
> error:

Thomas, you should use other mail address to post article here.

== msg from mail server ==

Your message does not contain a valid command for this mail server
to process.  No action has been taken.

Message-Id: <[EMAIL PROTECTED]>
From: [EMAIL PROTECTED]
Time-Stamp: Sat, 22 Jun 2002 10:47:15 +0900

: Message contains [1] file attachments



Subject:
[PHP-INST] Re: Install problems on Solaris 8 with PHP 4.2.1
From:
Yasuo Ohgaki <[EMAIL PROTECTED]>
Date:
Sat, 22 Jun 2002 10:47:15 +0900
To:
[EMAIL PROTECTED], Thomas Bader <[EMAIL PROTECTED]>

It's been asked sevral times. You can find answers in archive.

-- 
Yasuo Ohgaki

Thomas Bader wrote:
Hello

Just tried to compile PHP 4.2.1 and I got the following
error:

[thomasb@stinky php-4.2.1 149/2] % uname -a
SunOS stinky 5.8 Generic_108528-10 sun4u sparc
[thomasb@stinky php-4.2.1 150/0] % ./configure --with-mysql \
         --with-apxs="${INSTALL_BASE}/${APNAME}/sbin/apxs" \
         --enable-sysvsm --enable-sysvshm \
         --with-system-regex --enable-memory-limit \
         --enable-discard-path --enable-safe-mode \
         --with-config-file-path=${INSTALL_BASE}/${APNAME}/conf \
         --with-gd=${INSTALL_BASE}/gd-1.8.4 --without-mod_charset \
         --with-imap="/scratch/pine4.42/c-client/lib" \
         --with-gdbm=/sw --disable-debug \
         --prefix=${INSTALL_BASE}/${APNAME} \
         --enable-track-vars \
         --with-zlib --with-pdflib-dir=/sw/pkgs/pdflib-3.0 \
         --with-jpeg-dir=/sw/pkgs/jpeg-6b \
         --with-mm=/sw \
         --with-db3=/sw \
         --enable-dba --with-imap-ssl
[thomasb@stinky php-4.2.1 151/0] % make
Making all in Zend
make[1]: Entering directory `/scratch/Apache/php-4.2.1/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
    -I../main   -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280
    -DMOD_SSL=208109 -DEAPI -DEAPI_MM -I../TSRM  -fPIC -fPIC
    -I/scratch/Apache/apache_1.3.26/src/include
    -I/scratch/Apache/apache_1.3.26/src/os/unix -I/sw/include 
-prefer-pic -c -o zend_language_parser.lo
    `test -f zend_language_parser.c || echo './'`zend_language_parser.c
In file included from zend_compile.h:24,
                  from zend_language_parser.c:147:
zend.h:55: unix.h: No such file or directory
make[1]: *** [zend_language_parser.lo] Error 1
make[1]: Leaving directory `/scratch/Apache/php-4.2.1/Zend'
make: *** [all-recursive] Error 1

I haven't got a unix.h.  And I didn't found an unix.h by
searching with 'find / -name unix.h'.

How can I fix this?

Thx,
    Thomas

--- End Message ---
--- Begin Message ---
hello,

did you installed and used the gnu tools as wrote in the doc ?

pa
--- End Message ---
--- Begin Message ---
Yasuo Ohgaki wrote:
> Thomas Bader wrote:
> 
>> Hello
>>
>> Just tried to compile PHP 4.2.1 and I got the following
>> error:
> 
> 
> Thomas, you should use other mail address to post article here.
> 

Oops, sorry it's not your fault.

--
Yasuo Ohgaki

--- End Message ---
--- Begin Message ---
* Pierre-Alain Joye <[EMAIL PROTECTED]>:
>  did you installed and used the gnu tools as wrote in the doc ?

Sure.

I switched back to PHP 4.2.0 -- this release works fine.

Cya,
   Thomas
--- End Message ---
--- Begin Message ---
I just recompiled PHP with some needed modules, but now when I start Apache
I get the warnings at the bottom of this message. I understand what they
mean, but how do I fix it?


Starting httpd: PHP Warning:  imap: Unable to initialize module
Module compiled with module API=20010901, debug=0, thread-safety=0
PHP    compiled with module API=20020429, debug=0, thread-safety=0
These options need to match
 in Unknown on line 0
PHP Warning:  ldap: Unable to initialize module
Module compiled with module API=20010901, debug=0, thread-safety=0
PHP    compiled with module API=20020429, debug=0, thread-safety=0
These options need to match
 in Unknown on line 0
PHP Warning:  pgsql: Unable to initialize module
Module compiled with module API=20010901, debug=0, thread-safety=0
PHP    compiled with module API=20020429, debug=0, thread-safety=0
These options need to match
 in Unknown on line 0

--- End Message ---
--- Begin Message ---
You recompile those extensions.

On Fri, 21 Jun 2002 [EMAIL PROTECTED] wrote:

> I just recompiled PHP with some needed modules, but now when I start Apache
> I get the warnings at the bottom of this message. I understand what they
> mean, but how do I fix it?
>
>
> Starting httpd: PHP Warning:  imap: Unable to initialize module
> Module compiled with module API=20010901, debug=0, thread-safety=0
> PHP    compiled with module API=20020429, debug=0, thread-safety=0
> These options need to match
>  in Unknown on line 0
> PHP Warning:  ldap: Unable to initialize module
> Module compiled with module API=20010901, debug=0, thread-safety=0
> PHP    compiled with module API=20020429, debug=0, thread-safety=0
> These options need to match
>  in Unknown on line 0
> PHP Warning:  pgsql: Unable to initialize module
> Module compiled with module API=20010901, debug=0, thread-safety=0
> PHP    compiled with module API=20020429, debug=0, thread-safety=0
> These options need to match
>  in Unknown on line 0
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

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

try to copy ur php_ldap.dll and the orher php_????.dll (fo the modlues ur 
gettin error for) to ur windows folder and apache folder (if ur using 
apache)

worked fo me ....

hope does fo u too ....

good luck ....

toby ....

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

--- End Message ---
--- Begin Message ---
hello,

I've Apache 2.0.35 up and running. Installed PHP 4.2.1( for W2k ). I've some
basic questions, can someone help me.

I followed the instructions on install.txt but it doesn't seem to work.

The only change I did in php.ini is including the extension_dir where I had
installed PHP.
Q : Do I need to copy this file to %SYSTEMROOT%( winnt/system32 ) or leave
it in PHP's home directory ?

On httpd.conf,
Q : Do I need give the directory structure for "ScriptAlias" or not ?

I added the entry - AddType application/x-httpd-php .php .phtml
Q : I guess I need this, correct ?

I also added
Action application/x-httpd-php "F:/Program Files/php-4.2.1-Win32/php.exe"
Q : Is this required ?

Basic question of all,
Q : while I give the directory entries, is it \ or / ?

All help are really appreciated. Thanks.

- shanky.


--- End Message ---
--- Begin Message ---
Hi All,

Having big trouble trying to install php-4.2.1 on redhat 7.3 can anyone help
please?

(Apache-2.0.39,  Openssl-0.9.6d,  Mysql-4.0.1-alpha)

Configure line reads:

./configure --prefix=/usr/local/php --with-openssl=/usr/local/openssl  --wit
h-config-file-path=/usr/local/php --with-apxs2=/usr/local/ap/bin/apxs --enab
le-magic-quotes --enable-debugger

The configure all seems to run fine, no error messages, then when I run make
it gets part way through and comes back:

make[1]: Leaving directory `/home/_s-store/php-4.2.1/ext'
Making all in sapi
make[1]: Entering directory `/home/_s-store/php-4.2.1/sapi'
Making all in apache2filter
make[2]: Entering directory `/home/_s-store/php-4.2.1/sapi/apache2filter'
make[3]: Entering directory `/home/_s-store/php-4.2.1/sapi/apache2filter'
/bin/sh /home/_s-store/php-4.2.1/libtool --silent --mode=compile
gcc  -I. -I/home/_s-store/php-4.2.1/sapi/apache2filter -I/home/_s-store/php-
4.2.1/main -I/home/_s-store/php-4.2.1 -I/usr/local/ap/include -I/home/_s-sto
re/php-4.2.1/Zend -I/usr/local/openssl/include -I/home/_s-store/php-4.2.1/ex
t/mysql/libmysql -I/home/_s-store/php-4.2.1/ext/xml/expat  -D_REENTRANT -I/h
ome/_s-store/php-4.2.1/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic  -c
php_functions.c
php_functions.c:93:27: missing binary operator before '!'
make[3]: *** [php_functions.lo] Error 1
make[3]: Leaving directory `/home/_s-store/php-4.2.1/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/_s-store/php-4.2.1/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/_s-store/php-4.2.1/sapi'
make: *** [all-recursive] Error 1

Can anyone suggest what I should do?

Thanks for any help

Zac



--- End Message ---

Reply via email to