php-install Digest 27 Aug 2002 06:30:33 -0000 Issue 995

Topics (messages 8217 through 8227):

Redhat 7.3 install help.
        8217 by: Chad Kellerman
        8218 by: Moraes, Fabio

Performance
        8219 by: Ronan Lucio

Re: Apache 2.0.39 + PHP 4.3.0-dev won't run since PHP 4.3.0-Alpha 2?
        8220 by: Gilberto J. Palau

Re: Apache 2.0 and libphp4.so
        8221 by: Gilberto J. Palau

Re: Installing php 4.2.2 with apache 2.0.39
        8222 by: Gilberto J. Palau

Re: php 4.2.2, apache 2.0.40 make problem from source
        8223 by: Gilberto J. Palau

Re: php 4.2.2 + apache2.0.40
        8224 by: Gilberto J. Palau
        8225 by: Gilberto J. Palau
        8227 by: Laurent Larquère

error with pow() after upgrade
        8226 by: Felix

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 ---
Hi guys,

  I am new to the list.  I have built php a few times before but I have
not run into anything this strange.

I am building php on a RH 7.3 with mysql for a Virtual Domain server.

Here is my configure line:

./configure --with-apxs=/etc/httpd/bin/apxs --enable-force-cgi-redirect
--disable-debug --enable-pic --disable-rpath
--enable-inline-optimization --with-gd --enable-dbase
--enable-gd-native-ttf --with-gdbm --with-gettext --with-regex=system
--with-ttf --with-xml --with-zlib --enable-bcmath --enable-debugger
--enable-ftp --enable-sockets --enable-track-vars --enable-trans-sid
--with-mysql=/usr/local/mysql-3.23.51
--with-cybercash=/usr/local/cybercash/mck-3.2.0.6-i586-pc-linux-gnulibc
2.1 --disable-posix-threads --with-curl --with-mcrypt --with-jpeg
--with-png --with-openssl

nothing outta the ordinary.

The configure is fine when I go to do a make I get this error:

/usr/bin/ld: cannot find -lmysqlclient

I know about the ld.so.conf file, but look:

 
locate mysqlclient
/usr/local/mysql-3.23.51/lib/mysql/libmysqlclient.so.10.0.0
/usr/local/mysql-3.23.51/lib/mysql/libmysqlclient.so.10
/usr/local/mysql-3.23.51/lib/mysql/libmysqlclient.so
/usr/local/mysql-3.23.51/lib/mysql/libmysqlclient.la
/usr/local/mysql-3.23.51/lib/mysql/libmysqlclient.a

and:
/usr/kerberos/lib
/usr/X11R6/lib
/usr/local/lib
/usr/local/mysql-3.23.51/lib

I even put 
/usr/local/mysql-3.23.51/lib/mysql

 in ther because I was desparate.  I have run /sbin/ldconfig even with a
-v option and I can see it loading.

But the error still comes up.

Anyone know what I am missing??


Thanks,
Chad
--- End Message ---
--- Begin Message ---
try suing "--with-mysql" instead of "--with-mysql=/usr/local/mysql-3.23.51".

--fabio moraes.

-----Original Message-----
From: Chad Kellerman [mailto:[EMAIL PROTECTED]]
Sent: segunda-feira, 26 de agosto de 2002 13:43
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Redhat 7.3 install help.


Hi guys,

  I am new to the list.  I have built php a few times before but I have
not run into anything this strange.

I am building php on a RH 7.3 with mysql for a Virtual Domain server.

Here is my configure line:

./configure --with-apxs=/etc/httpd/bin/apxs --enable-force-cgi-redirect
--disable-debug --enable-pic --disable-rpath
--enable-inline-optimization --with-gd --enable-dbase
--enable-gd-native-ttf --with-gdbm --with-gettext --with-regex=system
--with-ttf --with-xml --with-zlib --enable-bcmath --enable-debugger
--enable-ftp --enable-sockets --enable-track-vars --enable-trans-sid
--with-mysql=/usr/local/mysql-3.23.51
--with-cybercash=/usr/local/cybercash/mck-3.2.0.6-i586-pc-linux-gnulibc
2.1 --disable-posix-threads --with-curl --with-mcrypt --with-jpeg
--with-png --with-openssl

nothing outta the ordinary.

The configure is fine when I go to do a make I get this error:

/usr/bin/ld: cannot find -lmysqlclient

I know about the ld.so.conf file, but look:

 
locate mysqlclient
/usr/local/mysql-3.23.51/lib/mysql/libmysqlclient.so.10.0.0
/usr/local/mysql-3.23.51/lib/mysql/libmysqlclient.so.10
/usr/local/mysql-3.23.51/lib/mysql/libmysqlclient.so
/usr/local/mysql-3.23.51/lib/mysql/libmysqlclient.la
/usr/local/mysql-3.23.51/lib/mysql/libmysqlclient.a

and:
/usr/kerberos/lib
/usr/X11R6/lib
/usr/local/lib
/usr/local/mysql-3.23.51/lib

I even put 
/usr/local/mysql-3.23.51/lib/mysql

 in ther because I was desparate.  I have run /sbin/ldconfig even with a
-v option and I can see it loading.

But the error still comes up.

Anyone know what I am missing??


Thanks,
Chad

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hi All,

I have Apache-1.3.26 + PHP-4.1.2 installed in a box working fine.

The problem is the page thais is too slow. I have monitored the
system and saw that the httpd process consume 100% from the CPU
machine.

The Apache was installed with the default configurations and I´de
like to know how should I compile the Apache to get faster... what
options should I use.

Another doubt is about Apache-2.x.
Should I migrate to Apache-2.x to improve the PHP performance?

Thank´s in advance,

Ronan


--- End Message ---
--- Begin Message ---
Hi;

I got a problem with Apache 2.0.40 and php 4.2.2:

Well my problem is different but here it goes to see if any you guys can
crack it.

First I go to my source directory for apache and I do this:

make clean
make distclean
./configure --prefix=/usr/local/www --enable-module=so
make
make install

Now apache 2.0 is installed right where I want it.  Now to PHP 4.2.2:

make clean
make distclean
./configure --with-mysql --with-apxs2=/usr/local/www/bin/apxs
make
(when the make finishes it has this last lines in an error)

make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.2/sapi'
make: *** [all-recursive] Error 1

make install
(I get another error when the make install is done)

sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:534: warning: passing arg 3 of `ap_register_output_filter'
makes pointer from integer without a cast
sapi_apache2.c:534: too few arguments to function
`ap_register_output_filter'
sapi_apache2.c:535: warning: passing arg 3 of `ap_register_input_filter'
makes pointer from integer without a cast
sapi_apache2.c:535: too few arguments to function `ap_register_input_filter'
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.2/sapi'
make: *** [install-recursive] Error 1


When this is done, I DON'T have php installed and it gives me bunch of
errors.  I am stuck here and I don't know what to do.  I am running RedHat
Linux 7.3 on a Dual P3 1Ghz/768Mb Ram PC.

Any help on this, or suggestions... I know PHP 4.2.2 is sketchy on apache
2.0, but I would like to try my best to get it running as I know there are a
few people here that have gotten it working.
If youcan reply here or to my e-mail at [EMAIL PROTECTED]

"Fawaz Alvi" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I was trying to install PHP4.3 with Zend 2 engine over Apache 2.0.39 and
> when i run make it failed. The installation was successfull when i made
the
> following changes.
>
>
./configure --with-apxs2=/usr/local/apache2/bin/apxs --prefix=/usr/local/new
> php
>
> compiled and installed apache in /usr/local/apache2
>
> Thanks.
>
> Here is the patch to fix the problem
>
> --- sapi/apache2filter/sapi_apache2.c Fri Jun 28 14:45:10 2002
> +++ ../../php-4.3.0-dev-zend2-alpha2/sapi/apache2filter/sapi_apache2.c Mon
> Aug  5 13:24:08 2002
> @@ -564,8 +564,8 @@
>   ap_hook_post_config(php_apache_server_startup, NULL, NULL,
> APR_HOOK_MIDDLE);
>   ap_hook_insert_filter(php_insert_filter, NULL, NULL, APR_HOOK_MIDDLE);
>   ap_hook_post_read_request(php_post_read_request, NULL, NULL,
> APR_HOOK_MIDDLE);
> - ap_register_output_filter("PHP", php_output_filter, NULL,
> AP_FTYPE_RESOURCE);
> - ap_register_input_filter("PHP", php_input_filter, NULL,
> AP_FTYPE_RESOURCE);
> + ap_register_output_filter("PHP", php_output_filter, AP_FTYPE_RESOURCE);
> + ap_register_input_filter("PHP", php_input_filter, AP_FTYPE_RESOURCE);
>  }
>
>  AP_MODULE_DECLARE_DATA module php4_module = {
>
>
>
>
>
> "Christian Stadler" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Your Problem is a known Problem. Apache 2.0.39 won't run with PHP 4.2.1.
> The
> > solution is, or better, was to download the newest Snapshot of PHP: See
> > here: http://bugs.php.net/report.php
> > But now it doesn't work anymore.
> >
> > Gee, I've got the bad feeling, that the newest versions of PHP 4.3.0-dev
> > will run with Apache 2.0.40-dev, but not with Apache 2.0.39 ... Seems,
the
> > only thing we could do is to wait, until at least Apache 2.0.40 is
> released.
> >
> > Yours,
> >
> > Christian Stadler
> >
> > "Wayne Smith" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > Hi,
> > >
> > > I too am having a similar problem.  PHP v4.2.1 as a module over Apache
> > > 1.3.26
> > > over Windows XP runs just fine.  The same PHP over Apache 2.0.39 over
> > > the same OS/same box fails to start.  The error
> > > message that Apache generates in the Event Viewer
> > > is "c:\php4build\snap\sapi\apache2filter\sapi_apache2.c" is not
> > > compatible with this version of Apache.
> > >
> > > I'm pretty sure that the Windows binaries will need
> > > to be rebuilt and reposted.
> > >
> > > Wayne
> > >
> > >
> > > Christian Stadler wrote:
> > >
> > > > Hi,
> > > >
> > > > Sorry, I've forgot to say, that I'm running PHP as an Apache-Module.
> > > >
> > > > Yours,
> > > >
> > > > Christian Stadler
> > >
> >
> >
>
>
>


--- End Message ---
--- Begin Message ---
Well my problem is different but here it goes to see if any you guys can
crack it.

First I go to my source directory for apache and I do this:

make clean
make distclean
./configure --prefix=/usr/local/www --enable-module=so
make
make install

Now apache 2.0 is installed right where I want it.  Now to PHP 4.2.2:

make clean
make distclean
./configure --with-mysql --with-apxs2=/usr/local/www/bin/apxs
make
(when the make finishes it has this last lines in an error)

make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.2/sapi'
make: *** [all-recursive] Error 1

make install
(I get another error when the make install is done)

sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:534: warning: passing arg 3 of `ap_register_output_filter'
makes pointer from integer without a cast
sapi_apache2.c:534: too few arguments to function
`ap_register_output_filter'
sapi_apache2.c:535: warning: passing arg 3 of `ap_register_input_filter'
makes pointer from integer without a cast
sapi_apache2.c:535: too few arguments to function `ap_register_input_filter'
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.2/sapi'
make: *** [install-recursive] Error 1


When this is done, I DON'T have php installed and it gives me bunch of
errors.  I am stuck here and I don't know what to do.  I am running RedHat
Linux 7.3 on a Dual P3 1Ghz/768Mb Ram PC.

Any help on this, or suggestions... I know PHP 4.2.2 is sketchy on apache
2.0, but I would like to try my best to get it running as I know there are a
few people here that have gotten it working.
If youcan reply here or to my e-mail at [EMAIL PROTECTED]

____________

"Md" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Who knows how to make apache2 work with PHP4.2.2?
>
> I have tried a variety of configure options without success.
>
> My goal was to build libphp4.so but the closes I got was libphp4.a (A
> static library)
>
> It was built using: configure --with-mysql --with-apache=/path/to/apache
>
> Every other flavor of configure failed.
>
> FAILED: configure --with-mysql --with-apxs2=/path/to/apache/apxs ->
> Failes because header file is not visible.
> FAILED: configure --with-mysql --with-apxs=/path/to/apache/apxs   ->
> Requires APXS2 for Apache 2
>
> Anyone have any tips?
>
> Thanks,
>
> Mark Diener
>


--- End Message ---
--- Begin Message ---
I got a similar problem so here is my case:

Well my problem is different but here it goes to see if any you guys can
crack it.

First I go to my source directory for apache and I do this:

make clean
make distclean
./configure --prefix=/usr/local/www --enable-module=so
make
make install

Now apache 2.0 is installed right where I want it.  Now to PHP 4.2.2:

make clean
make distclean
./configure --with-mysql --with-apxs2=/usr/local/www/bin/apxs
make
(when the make finishes it has this last lines in an error)

make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.2/sapi'
make: *** [all-recursive] Error 1

make install
(I get another error when the make install is done)

sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:534: warning: passing arg 3 of `ap_register_output_filter'
makes pointer from integer without a cast
sapi_apache2.c:534: too few arguments to function
`ap_register_output_filter'
sapi_apache2.c:535: warning: passing arg 3 of `ap_register_input_filter'
makes pointer from integer without a cast
sapi_apache2.c:535: too few arguments to function `ap_register_input_filter'
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.2/sapi'
make: *** [install-recursive] Error 1


When this is done, I DON'T have php installed and it gives me bunch of
errors.  I am stuck here and I don't know what to do.  I am running RedHat
Linux 7.3 on a Dual P3 1Ghz/768Mb Ram PC.

Any help on this, or suggestions... I know PHP 4.2.2 is sketchy on apache
2.0, but I would like to try my best to get it running as I know there are a
few people here that have gotten it working.
If youcan reply here or to my e-mail at [EMAIL PROTECTED]


______
"Ryan Adorable" <[EMAIL PROTECTED]> wrote in message
006901c23b8d$4a83e2e0$0201a8c0@dev">news:006901c23b8d$4a83e2e0$0201a8c0@dev...
> Hi,
>
>    I got this configure line:
>
>
>
>
>
./configure --with-apxs2=/usr/www/bin/apxs --with-imap=/usr/www/imap --with-
> mysql=/usr/db --with-gettext --with-zlib
>
>    Now when I issue the make command, I got this error:
>
>   /bin/sh /usr/www/php-4.2.2/libtool --silent --mode=compile
> gcc  -I. -I/usr/www/php-4.2.2/sapi/apache2filter
>  -I/usr/www/php-4.2.2/main -I/usr/www/php-4.2.2 -I/usr/www/include -I/usr/
ww
> w/php-4.2.2/Zend
>  -I/usr/www/imap-2002.RC2/c-client -I/usr/db/include/mysql -I/usr/www/php-
4.
> 2.2/ext/xml/expat
>  -D_REENTRANT -I/usr/www/php-4.2.2/TSRM -g -O2 -pthread -DZTS -prefer-pic 
 -
> c php_functions.c
>  php_functions.c:93: parse error
>
> How could I fox this error?
>
> Thanks in advanced.
> Ryan
>
>
>


--- End Message ---
--- Begin Message ---
Well my problem is different but here it goes to see if any you guys can
crack it.

First I go to my source directory for apache and I do this:

make clean
make distclean
./configure --prefix=/usr/local/www --enable-module=so
make
make install

Now apache 2.0 is installed right where I want it.  Now to PHP 4.2.2:

make clean
make distclean
./configure --with-mysql --with-apxs2=/usr/local/www/bin/apxs
make
(when the make finishes it has this last lines in an error)

make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.2/sapi'
make: *** [all-recursive] Error 1

make install
(I get another error when the make install is done)

sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:534: warning: passing arg 3 of `ap_register_output_filter'
makes pointer from integer without a cast
sapi_apache2.c:534: too few arguments to function
`ap_register_output_filter'
sapi_apache2.c:535: warning: passing arg 3 of `ap_register_input_filter'
makes pointer from integer without a cast
sapi_apache2.c:535: too few arguments to function `ap_register_input_filter'
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.2/sapi'
make: *** [install-recursive] Error 1


When this is done, I DON'T have php installed and it gives me bunch of
errors.  I am stuck here and I don't know what to do.  I am running RedHat
Linux 7.3 on a Dual P3 1Ghz/768Mb Ram PC.

Any help on this, or suggestions... I know PHP 4.2.2 is sketchy on apache
2.0, but I would like to try my best to get it running as I know there are a
few people here that have gotten it working.
If youcan reply here or to my e-mail at [EMAIL PROTECTED]

____________
"Alex Stinson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hey, i have a small problem, and i'm not exactly sure how to work around
it
> involving php4.2.2, and apache 2.0.40
>
> uname -a:
> FreeBSD wsip68-15-48-50.ri.ri.cox.net 4.6-RELEASE FreeBSD 4.6-RELEASE #0:
> Tue Jun 11 06:14:12 GMT 2002
> [EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC  i386
>
> The result of running make after configuring an almost clean source
> (modifyed only the AP_MODULE_MAGIC code that needs to be changed to work
> with apache2) with the following:
> ./configure --with-tsrm-pth --with-mysql --with-apxs2=/usr/www/bin/apxs
> everything worked fine until i upgraded to apache 2.0.40 (actually, just
> removed the entire /usr/www directory after a problem)...
>
> Making all in apache2filter
> /bin/sh /usr/php-4.2.2/libtool --silent --mode=compile gcc  -I.
> -I/usr/php-4.2.2/sapi/apache2filter -I/usr/php-4.2.2/main -I/usr/php-4.2.2
> -I/usr/www/include -I/usr/php-4.2.2/Zend -I/usr/php-4.2.2/ext/mysql/libmys
ql
> -I/usr/php-4.2.2/ext/xml/expat  -D_REENTRANT -D_THREAD_SAFE
> -I/usr/php-4.2.2/TSRM -I/usr/local/include -DTHREAD=1 -g -O2 -pthread -DZT
S
> -prefer-pic  -c sapi_apache2.c
> sapi_apache2.c: In function `php_register_hook':
> sapi_apache2.c:534: warning: passing arg 3 of `ap_register_output_filter'
> makes pointer from integer without a cast
> sapi_apache2.c:534: too few arguments to function
> `ap_register_output_filter'
> sapi_apache2.c:535: warning: passing arg 3 of `ap_register_input_filter'
> makes pointer from integer without a cast
> sapi_apache2.c:535: too few arguments to function
`ap_register_input_filter'
> *** Error code 1
>
> Stop in /usr/php-4.2.2/sapi/apache2filter.
> *** Error code 1
>
> Stop in /usr/php-4.2.2/sapi/apache2filter.
> *** Error code 1
>
> Stop in /usr/php-4.2.2/sapi.
> *** Error code 1
>
> Stop in /usr/php-4.2.2.
>
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>


--- End Message ---
--- Begin Message ---
Can you point me where I can get that?

This is the problem I am getting:

First I go to my source directory for apache and I do this:

make clean
make distclean
./configure --prefix=/usr/local/www --enable-module=so
make
make install

Now apache 2.0 is installed right where I want it.  Now to PHP 4.2.2:

make clean
make distclean
./configure --with-mysql --with-apxs2=/usr/local/www/bin/apxs
make
(when the make finishes it has this last lines in an error)

make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.2/sapi'
make: *** [all-recursive] Error 1

make install
(I get another error when the make install is done)

sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:534: warning: passing arg 3 of `ap_register_output_filter'
makes pointer from integer without a cast
sapi_apache2.c:534: too few arguments to function
`ap_register_output_filter'
sapi_apache2.c:535: warning: passing arg 3 of `ap_register_input_filter'
makes pointer from integer without a cast
sapi_apache2.c:535: too few arguments to function `ap_register_input_filter'
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.2.2/sapi/apache2filter'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.2/sapi'
make: *** [install-recursive] Error 1


When this is done, I DON'T have php installed and it gives me bunch of
errors.  I am stuck here and I don't know what to do.  I am running RedHat
Linux 7.3 on a Dual P3 1Ghz/768Mb Ram PC.

Any help on this, or suggestions... I know PHP 4.2.2 is sketchy on apache
2.0, but I would like to try my best to get it running as I know there are a
few people here that have gotten it working.
If youcan reply here or to my e-mail at [EMAIL PROTECTED]


"Jeffrey N Dyke" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> I have 4.2.3(from snaps.php.net) and Apache 2.0.39 working like a charm.
> don't know if you want to go that way though
>
> Jeff
>
>
>
>                     Nick Couchman
>                     <[EMAIL PROTECTED]       To:     Ken Jeansson
<[EMAIL PROTECTED]>, [EMAIL PROTECTED]
>                     m>                   cc:
>                     Sent by:             Subject:     Re: [PHP-INST] php
4.2.2 + apache2.0.40
>                     [EMAIL PROTECTED]
>
>
>                     08/14/2002
>                     09:37 AM
>
>
>
>
>
>
> Unfortunately from experience and from other discussions on this list,
> that would seem to be a correct conclusion.
>
> --Nick
>
> Ken Jeansson wrote:
>
> > Hmm, this seems to be a non working combination even with the latest
> > snapshot dated 14 august
> >
> > Say that I am wrong!... please =)
> >
> > // Ken
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> You can't make a difference until you are willing to be different.
> --
> Nick Couchman
> SEAKR Engineering
> 6221 South Racine Circle
> Centennial, CO 80111
> Desk: (303) 784-7724
> Main: (303) 790-8499
> Fax: (303) 790-8720
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>


--- End Message ---
--- Begin Message ---
I downloaded the latest build from snaps.php.net and I installed it and now
I don't get this problem.  But when I try to restart apache it says:

Syntax error on line 230 of /usr/local/www/conf/httpd.conf:
Cannot load /usr/local/www/libexec/libphp4.so into server:
/usr/local/www/libexec/libphp4.so: cannot open shared object file: No such
file or directory


"Jeffrey N Dyke" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> I have 4.2.3(from snaps.php.net) and Apache 2.0.39 working like a charm.
> don't know if you want to go that way though
>
> Jeff
>
>
>
>                     Nick Couchman
>                     <[EMAIL PROTECTED]       To:     Ken Jeansson
<[EMAIL PROTECTED]>, [EMAIL PROTECTED]
>                     m>                   cc:
>                     Sent by:             Subject:     Re: [PHP-INST] php
4.2.2 + apache2.0.40
>                     [EMAIL PROTECTED]
>
>
>                     08/14/2002
>                     09:37 AM
>
>

>
>
>
>
> Unfortunately from experience and from other discussions on this list,
> that would seem to be a correct conclusion.
>
> --Nick
>
> Ken Jeansson wrote:
>
> > Hmm, this seems to be a non working combination even with the latest
> > snapshot dated 14 august
> >
> > Say that I am wrong!... please =)
> >
> > // Ken
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> You can't make a difference until you are willing to be different.
> --
> Nick Couchman
> SEAKR Engineering
> 6221 South Racine Circle
> Centennial, CO 80111
> Desk: (303) 784-7724
> Main: (303) 790-8499
> Fax: (303) 790-8720
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>


--- End Message ---
--- Begin Message ---
If you dont have the directory
/usr/local/src/php-4.2.2/libs
do it and then redo make install.
Verify the presence of /usr/local/www/libexec/libphp4.so
(normaly subdir modules)

Gilberto J. Palau wrote:

>I downloaded the latest build from snaps.php.net and I installed it and now
>I don't get this problem.  But when I try to restart apache it says:
>
>Syntax error on line 230 of /usr/local/www/conf/httpd.conf:
>Cannot load /usr/local/www/libexec/libphp4.so into server:
>/usr/local/www/libexec/libphp4.so: cannot open shared object file: No such
>file or directory
>
>
>"Jeffrey N Dyke" <[EMAIL PROTECTED]> wrote in message
>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>  
>
>>I have 4.2.3(from snaps.php.net) and Apache 2.0.39 working like a charm.
>>don't know if you want to go that way though
>>
>>Jeff
>>
>>
>>
>>                    Nick Couchman
>>                    <[EMAIL PROTECTED]       To:     Ken Jeansson
>>    
>>
><[EMAIL PROTECTED]>, [EMAIL PROTECTED]
>  
>
>>                    m>                   cc:
>>                    Sent by:             Subject:     Re: [PHP-INST] php
>>    
>>
>4.2.2 + apache2.0.40
>  
>
>>                    [EMAIL PROTECTED]
>>
>>
>>                    08/14/2002
>>                    09:37 AM
>>
>>
>>    
>>
>
>  
>
>>
>>
>>Unfortunately from experience and from other discussions on this list,
>>that would seem to be a correct conclusion.
>>
>>--Nick
>>
>>Ken Jeansson wrote:
>>
>>    
>>
>>>Hmm, this seems to be a non working combination even with the latest
>>>snapshot dated 14 august
>>>
>>>Say that I am wrong!... please =)
>>>
>>>// Ken
>>>
>>>--
>>>PHP Install Mailing List (http://www.php.net/)
>>>To unsubscribe, visit: http://www.php.net/unsub.php
>>>      
>>>
>>--
>>You can't make a difference until you are willing to be different.
>>--
>>Nick Couchman
>>SEAKR Engineering
>>6221 South Racine Circle
>>Centennial, CO 80111
>>Desk: (303) 784-7724
>>Main: (303) 790-8499
>>Fax: (303) 790-8720
>>
>>
>>
>>
>>--
>>PHP Install Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>>
>>
>>    
>>
>
>
>
>  
>
--- End Message ---
--- Begin Message ---
The situation WAS:

using
apache 1.3
php 4.0.1
the script was in php3

NOW using
apache 2  (built myself)
lastest php  (built myself)
the script is the same

and it kicks back with an error regarding the paramaters for pow() being 
incorrect.

has there been any change in the requirements for this function or is any 
module required to be built in to php for this to operate correctly?


any ideas?

-felix
--- End Message ---

Reply via email to