php-install Digest 20 Nov 2002 13:31:12 -0000 Issue 1125

Topics (messages 9189 through 9194):

HP-UX 11.00 PHP-4.3.0RC1 Apache-2.0.43 'Bad Magic Number'
        9189 by: Briggs, Patrick

php installation problem
        9190 by: zafar
        9191 by: John Coder

w2k Installation probs
        9192 by: Gautam Chowdhry

php problem
        9193 by: zafar

php_mbstring. Multibyte string functions modules required...
        9194 by: Marco A. mateos

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 ---
I'm attempting to build PHP-4.3.0RC1 on HP-UX 11.00 with Apache-2.0.43 and
MYSQL-3.23.53 using GCC-3.2.  There are two problems I've been having so
far.  This first one concerns that apparently ranlib or libtool wants
libphp4 to be called libphp4.so and not libphp4.a

PHP:

./configure --prefix=/opt/php --with-apxs2=/opt/apache/bin/apxs
--enable-libgcc --with-mysql=/opt/mysql --enable-sockets

make install

Installing PHP SAPI module
/opt/apache/build/instdso.sh SH_LIBTOOL='/opt/apache/build/libtool'
libphp4.la /opt/apache/modules
/opt/apache/build/libtool --mode=install cp libphp4.la /opt/apache/modules/
cp .libs/libphp4.lai /opt/apache/modules/libphp4.la
cp .libs/libphp4.a /opt/apache/modules/libphp4.a
ranlib /opt/apache/modules/libphp4.a
chmod 644 /opt/apache/modules/libphp4.a
libtool: install: warning: remember to run `libtool --finish
/home/pbriggs/software/php-4.3.0RC1/libs'
Warning!  dlname not found in /opt/apache/modules/libphp4.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /opt/apache/modules/libphp4.so
chmod: can't access /opt/apache/modules/libphp4.so
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] Error 1

So I go into the /opt/apache/modules directory and rename libphp4.a to
libphp4.so.  Then try "make install" over again.

make install

Installing PHP SAPI module
/opt/apache/build/instdso.sh SH_LIBTOOL='/opt/apache/build/libtool'
libphp4.la /opt/apache/modules
/opt/apache/build/libtool --mode=install cp libphp4.la /opt/apache/modules/
cp .libs/libphp4.lai /opt/apache/modules/libphp4.la
cp .libs/libphp4.a /opt/apache/modules/libphp4.a
ranlib /opt/apache/modules/libphp4.a
chmod 644 /opt/apache/modules/libphp4.a
libtool: install: warning: remember to run `libtool --finish
/home/pbriggs/software/php-4.3.0RC1/libs'
Warning!  dlname not found in /opt/apache/modules/libphp4.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /opt/apache/modules/libphp4.so
Installing shared extensions:
/opt/php/lib/php/extensions/no-debug-non-zts-20020429/
Installing PHP CLI binary:        /opt/php/bin/
Installing PEAR environment:      /opt/php/lib/php/
[PEAR] Archive_Tar    - already installed: 0.9
[PEAR] Console_Getopt - already installed: 1.0
[PEAR] PEAR           - already installed: 1.0b2
[PEAR] DB             - already installed: 1.3
[PEAR] HTTP           - already installed: 1.2
[PEAR] Mail           - already installed: 1.0.1
[PEAR] Net_SMTP       - already installed: 1.0
[PEAR] Net_Socket     - already installed: 1.0.1
[PEAR] XML_Parser     - already installed: 1.0
[PEAR] XML_RPC        - already installed: 1.0.4
Installing build environment:     /opt/php/lib/php/build/
Installing header files:          /opt/php/include/php/
Installing helper programs:       /opt/php/bin/
  program: phpize
  program: php-config
  program: phpextdist

Now that everything looks good, when I attempt to start apache, it doesn't
start and gives me this error message:

# ./apachectl start
Syntax error on line 231 of /opt/apache/conf/httpd.conf:
Cannot load /opt/apache/modules/libphp4.so into server: Bad magic number for
shared library: /opt/apache/modules/libphp4.so

Does anyone have any ideas?  What is a bad magic number anyway?

Patrick Briggs
Unix System Administrator
Clinitech Information Resources, Inc.



This e-mail message, including any attachments, is for the sole use of the
intended recipient(s) and may contain confidential or privileged
information.  Any unauthorized review; use, disclosure or distribution is
prohibited.  If you are not the intended recipient, please contact the
sender by reply e-mail and destroy the message.
--- End Message ---
--- Begin Message ---
hello all
 i want to know information about php install with apache.
i have running qmail server and all services are running,like imap,pop3, and
others.
when i compile php and
./configure --with-mysql --with-imap --with-apxs=/usr/sbin
it give errors on imap and it say can't find rfc822.h and plz check u imap
installlation.
i can't understand bcz imap is already installed and how can i
give this file to php.
so guide how i do it to install the php.
thanks.

zafar


--- End Message ---
--- Begin Message ---
On Tue, 2002-11-19 at 22:24, zafar wrote:
> hello all
>  i want to know information about php install with apache.
> i have running qmail server and all services are running,like imap,pop3, and
> others.
> when i compile php and
> ./configure --with-mysql --with-imap --with-apxs=/usr/sbin

use --with-imap-dir=/path-to-imap-header-dir
php needs to find the header files so tell it where they are if you
don't have them then get them and still tell php where you have put
them.
> it give errors on imap and it say can't find rfc822.h and plz check u imap
> installlation.
> i can't understand bcz imap is already installed and how can i
> give this file to php.
> so guide how i do it to install the php.
> thanks.
> 
> zafar
> 
> 
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


--- End Message ---
--- Begin Message ---
I'm trying to install php on w2k and am getting the
following (very common) error: 

cgi error:
The specified CGI application misbehaved by not
returning a complete 
set of HTTP headers. The headers it did return are:

I've been searching all night & have tried all
recomendations, no solution.  I have already:
1)sucessfully execute php - i in the cmd line
2)added %s %s to the C:/php/php.exe %s %s to
exucatation path for the .php extension
3)Checked and granted permissions to php.exe, php.ini,
php4ts.dll
4)Moved php4ts to the C:/winnt/system32 folder , and
granted proper permissions

Any help would be GREATLT appreciated.  Thank You in
advance!

Gautam


__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com
--- End Message ---
--- Begin Message ---
hello sir
     i reinstall the courier-imap1.4.1 and check either the courier-imap
problem but i think not.
it give same error
but how to compile or install c-client library.
i got it but can't compile it.
plz guide me also.
thanks.

--- End Message ---
--- Begin Message ---
I like use a Krysalis. For this PHP IDE , it's need xml (sablotron) and
especial setup. 

I have compiled PP-4.2.2-8 and modify the php.ini in section [mbstring]:

mbstring.internal_encoding = UTF-8
mbstring.http_input = auto
mbstring.detect_order=UCS-4, UCS-4BE, UCS-4LE, UCS-2, UCS-2BE, UCS-2LE,
UTF-32, UTF-32BE, UTF-32LE, UCS-2LE, UTF-16, UTF-16BE, UTF-16LE, UTF-8,
UTF-7, ASCII,ISO-8859-1, ISO-8859-2, ISO-8859-3, ISO-8859-4, ISO-8859-5,
ISO-8859-6, ISO-8859-7, ISO-8859-8, ISO-8859-9, ISO-8859-10,
ISO-8859-13, ISO-8859-14, ISO-8859-15, BASE64, EUC-JP, SJIS, eucJP-win,
SJIS-win, ISO-2022-JP, JIS
mbstring.substitute_character=none

But this don't work... this error message show:

Multibyte string functions module (php_mbstring) Multibyte string
functions module required

I've a Redhat 8.0 with UTF-8 for locale (es_ES:UTF-8) adn Apache
2.0.40-8.


-- 
Marco A. Mateos
www.lomejordeinternet.net / specka.com
[EMAIL PROTECTED] / ICQ: 172542875
Clave Pública disponible en pgp.rediris.es

Attachment: signature.asc
Description: Esta parte del mensaje esta firmada digitalmente

--- End Message ---

Reply via email to