php-install Digest 6 Jul 2002 14:10:33 -0000 Issue 919

Topics (messages 7633 through 7635):

Re: parse error
        7633 by: leandro asnaghi-nicastro

undefined symbol: core_globals
        7634 by: Edwin Martin

Re: undefined symbol: pcre_malloc
        7635 by: duo fu

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 ---
Hello folks.

as a newbie, I apologize ahead of time if this is not the appropriate 
list to ask for help, however, as per the description on the PHP.NET 
page, I am having problems with the install.

I'm running Slackware with Kernel 2.2.16, with Apache2 (the latest 
release without the security flaw) and I downloaded the latest PHP4 I 
found off of the PHP.NET page.

I installed Apache doing the following commands:

    ./configure --prefix=/home/httpd --enable-module=so 
    make 
    make install 

And that worked like a charm.  Apache installed and is running 
perfectly.

So then I went ahead and attempted installing PHP4.  I did the 
following:

    ./configure --with-apxs2=/home/httpd/bin/apxs 

The --with-apxs2 is because I am running Apache2.
I did not put this option:

    --with-mysql 

That's because I am not running mysql but just wanted to play around 
with some very basic PHP scripts for other purposes.

The configuration works fine and when it's done, I do:

    make 

This works for a bit, then it gives me the following error:

    Making all in apache2filter 
    make[2]: Entering directory `/root/php-4.2.1/sapi/apache2filter' 
    make[3]: Entering directory `/root/php-4.2.1/sapi/apache2filter' 
    /bin/sh /root/php-4.2.1/libtool --silent --mode=compile gcc  -I.
    -I/root/php-4.2.1/sapi/apache2filter -I/root/php-4.2.1/main
    -I/root/php-4.2.1 -I/home/httpd/include -I/root/php-4.2.1/Zend
    -I/root/php-4.2.1/ext/mysql/libmysql
    -I/root/php-4.2.1/ext/xml/expat  -D_REENTRANT
    -I/root/php-4.2.1/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS
    -prefer-pic  -c php_functions.c 
    php_functions.c:93: parse error 
    make[3]: *** [php_functions.lo] Error 1 
    make[3]: Leaving directory `/root/php-4.2.1/sapi/apache2filter' 
    make[2]: *** [all-recursive] Error 1 
    make[2]: Leaving directory `/root/php-4.2.1/sapi/apache2filter' 
    make[1]: *** [all-recursive] Error 1 
    make[1]: Leaving directory `/root/php-4.2.1/sapi' 
    make: *** [all-recursive] Error 1 

Any suggestions as to what I may be doing wrong?
Thank you kindly all for your time and patience with this.

Best,
leandro
---
leandro asnaghi-nicastro - editor in chief 
capital of nasty - http://con.ca/ 
[EMAIL PROTECTED] - icq uin: 889318 
My other signature is a Mercedes.
--- End Message ---
--- Begin Message ---
Hello,

Due to the new security bug in Apache, I want to upgrade
Apache.

I compiled and installed Apache 1.3.26 and PHP 4.2.1 and
everything went fine.

But when I want to start Apache, I get this error message:

taz:/usr/local/apache_1.3.26# bin/apachectl start
Syntax error on line 236 of /usr/local/apache_1.3.26/conf/httpd.conf:
Cannot load /usr/local/apache_1.3.26/libexec/libphp4.so into server: 
/usr/local/apache_1.3.26/
libexec/libphp4.so: undefined symbol: core_globals
bin/apachectl start: httpd could not be started

These are the configuration options I used:

Apache 1.3.26:

CFLAGS="-O2 -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2" 
./configure --prefix=/usr/local/apache_1.3.26 --enable-module=most 
--enable-shared=max

PHP 4.2.1:

CFLAGS="-DEAPI -O2 -m486 -malign-loops=2 -malign-jumps=2 
-malign-functions=2" ./configure --without-mysql 
--with-apxs=/usr/local/apache_1.3.26/bin/apxs --prefix=/usr/local/php_4.2.1 
--with-pgsql

What's wrong?

I use Debian Linux 2.2.19.

Edwin Martin.

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

Hi friends:
I have tried to install php4.0 with apache1.3.26 tarball versions on my 
RedHat6.2. I got the same error message:
------------------------------------------
[root@broekhoven libexec]# /usr/local/apache/bin/apachectl start
Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: 
/usr/local/apache/libexec/libphp4.so: undefined symbol: pcre_malloc
/usr/local/apache/bin/apachectl start: httpd could not be started
----------------------------------------------------------------------------------------------------------------
I wonder whether I must use the RPM versions instaed of tarball versions? 
ANd Must I use PHP3.0 instead of PHP4.0 because of Redhat6.2 not 7.0?

COULD YOU PLEASE HELP ME OU OF THIS PROBLEM?

Thank you very much!
Duo

_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com

--- End Message ---

Reply via email to