php-install Digest 24 Jul 2002 13:53:29 -0000 Issue 946
Topics (messages 7885 through 7890):
Re: PHP 4.2.2 install woe: cannot stat libs/libphp.so
7885 by: Fabian Aguirre
7889 by: Reuben D. Budiardja
installing php-4.2.1 with apache 2.0.39
7886 by: Essell
7888 by: Essell
Apache 2.0.39
7887 by: RBerezowski.dlkw.co.uk
a note of success
7890 by: Jeffrey_N_Dyke.Keane.com
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!
I do get the same error :(, have u got a reply on this error?
----- Original Message -----
From: "Reuben D. Budiardja" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 23, 2002 7:22 PM
Subject: [PHP-INST] PHP 4.2.2 install woe: cannot stat libs/libphp.so
> I tried to upgrade from PHP 4.2.1 to 4.2.2 due to the security bug
> announce in the web site. When I do make install, it stopped with
> errors. The following are the last few lines from the output:
>
> [activating module `php4' in /usr/local/apache/conf/httpd.conf]
> cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so
> cp: cannot stat `libs/libphp4.so': No such file or directory
> apxs:Break: Command failed with rc=1
> make[1]: *** [install-sapi] Error 1
> make[1]: Leaving directory `/usr/src/php-4.2.2'
> make: *** [install-recursive] Error 1
>
> When I checked the directory libs, there are only files
> libphp4.a libphp4.la
>
> I tried to make symlink called libphp4.so to one of this files, and then
> the make install run without error. But then when I started my apache,
> it gives me:
>
> bash $> /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: invalid ELF header
> /usr/local/apache/bin/apachectl start: httpd could not be started
>
> Here is my configure line:
> ./configure --with-mysql --enable-track-var --disable-debug
> --prefix=/usr/local/apache/php --with-config-file-path=/usr/local/apache
> lib --with-apxs=/usr/local/apache/bin/apxs --with-gd --with-zlib
>
> I added flag '-lz' for 'LTLIBRARY_LDFLAGS' definition before running
> make.
>
> Any help on this would be greatly appreciated. Thanks in advance.
> Reuben D. Budiardja
>
>
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
No, I haven't got any reply or help regarding this error. And I still
can't figure out how to fix it. So if you or someone know anything,
please enlighten me :).
Thanks.
Reuben D. B.
On Wed, 2002-07-24 at 00:45, Fabian Aguirre wrote:
> Hi!
>
> I do get the same error :(, have u got a reply on this error?
>
>
> ----- Original Message -----
> From: "Reuben D. Budiardja" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 23, 2002 7:22 PM
> Subject: [PHP-INST] PHP 4.2.2 install woe: cannot stat libs/libphp.so
>
>
> > I tried to upgrade from PHP 4.2.1 to 4.2.2 due to the security bug
> > announce in the web site. When I do make install, it stopped with
> > errors. The following are the last few lines from the output:
> >
> > [activating module `php4' in /usr/local/apache/conf/httpd.conf]
> > cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so
> > cp: cannot stat `libs/libphp4.so': No such file or directory
> > apxs:Break: Command failed with rc=1
> > make[1]: *** [install-sapi] Error 1
> > make[1]: Leaving directory `/usr/src/php-4.2.2'
> > make: *** [install-recursive] Error 1
> >
> > When I checked the directory libs, there are only files
> > libphp4.a libphp4.la
> >
> > I tried to make symlink called libphp4.so to one of this files, and then
> > the make install run without error. But then when I started my apache,
> > it gives me:
> >
> > bash $> /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: invalid ELF header
> > /usr/local/apache/bin/apachectl start: httpd could not be started
> >
> > Here is my configure line:
> > ./configure --with-mysql --enable-track-var --disable-debug
> > --prefix=/usr/local/apache/php --with-config-file-path=/usr/local/apache
> > lib --with-apxs=/usr/local/apache/bin/apxs --with-gd --with-zlib
> >
> > I added flag '-lz' for 'LTLIBRARY_LDFLAGS' definition before running
> > make.
> >
> > Any help on this would be greatly appreciated. Thanks in advance.
> > Reuben D. Budiardja
> >
> >
> >
> >
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Hi,
I've installed apache 2.0.39 on a Redhat 7.2 box. i've 'enabled-so' while
installing. Now i'm trying to install php, make is throwing up this error :
"php_functions.c:93:27: missing binary operator before '!' " Can someone
tell me why this is happening ? I used this line to configure php ..
./configure --with-apxs2=/usr.local/apache-2
Has anyone had this problem before ? thanks ..
--- End Message ---
--- Begin Message ---
Hi .. i'm sorry i overlooked the earlier post with the same problem. I've
downloaded the latest version of php & i'm trying to install it ..
apparently it needs >= apache 2.0.40 .. so now i'm looking for this version
of Apache ..
"Essell" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I've installed apache 2.0.39 on a Redhat 7.2 box. i've 'enabled-so' while
> installing. Now i'm trying to install php, make is throwing up this error
:
> "php_functions.c:93:27: missing binary operator before '!' " Can someone
> tell me why this is happening ? I used this line to configure php ..
> ./configure --with-apxs2=/usr.local/apache-2
>
> Has anyone had this problem before ? thanks ..
>
>
>
--- End Message ---
--- Begin Message ---
This topic has been covered quite a bit in this newsgroup. However, most
of it relates to loading php as a shared object (am I correct on this?) I
am trying to compile php4 using --with-apache=/path/to/apache/source.
however it is saying that this is not available with apache 2.0! Is there
a way to do this, or is it no longer supported?
--- End Message ---
--- Begin Message ---
I downloaded the latest stable from snaps.php.net and installed with Apache
2.039 on Solaris8, with mysql witout issue. I did notice a warning in the
make install that wanted me to run 'libtool --finish', which i did...so i
don't know if that helped me out or not, but i had seen some people with
errors regarding the libs...
Good Luck.
Jeff
--- End Message ---