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.

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to