php-install Digest 26 May 2002 20:32:17 -0000 Issue 854

Topics (messages 7106 through 7108):

WINDOWS98 + APACHE1.3 + PHP4 & POSTGRESQL7.2 + CYGWIN -> Unable to load dll?
        7106 by: Jowi

php keeps telling me ..it can't find libgd.a
        7107 by: Erik

'make install' error: libs/libphp4.so': No such file or directory
        7108 by: Wouter Westendorp

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 ---
    Do somebody know how install in this way?

    WINDOWS98 + APACHE1.3 + PHP4 & POSTAGRESQL7.2 + CYGWIN
    
    I installed postgressql7.2 + cygwin with success but I get this message when I 
enable the extension php_pgsql.dll:

1 PHP Warning: Unable to load dynamic library 'c:\PHP\extensions/php_pgsql.dll' 

    Thank you.
--- End Message ---
--- Begin Message ---
hi,

on the example of compiling php with gd support located at 
http://www.php.net/~rasmus/gd.html

so i tried it like that edited the make file first i got compilation errors 
but i solved that gd is compiled and "libgd.a" is there now i try to 
rebuild php like this:
cd /usr/local/php
./configure --with-gd=/home/erik/gd-2.0.1
   --with-freetype-dir=/usr
   --enable-gd-native-ttf 
   --enable-gd-imgstrttf
   --with-jpeg-dir=/usr
   --with-png-dir=/usr
   --with-zlib
   --enable-mysql
   --enable-track-vars
all works fine untill the line:

cheking to see wheter to enable gd support ... yes 

configure error unable to find libgd.(so|a) anywhere under 
/home/erik/gd-2.0.1 

libpng libjpeg are installed i compiled them from the source myself 

why does this still refuses to work ?

daim it :-) help .........

anyway php rules 

regards
Erik




--- End Message ---
--- Begin Message ---
Hello,

I've got a virtual server hosted at tera-byte.com
 http://www.tera-byte.com/vir.html ]. On this server, the Ensim WEBBpliance
package [ http://www.ensim.com/products/webppliance/linux/3_0/index.html ]
has been installed running PHP 4.0.6 on Apache 1.3.19 / RedHat 7.1. Now I
wanted to upgrade to PHP 4.2.1 but the latest rpm available from RedHat was
version 4.0.6. :-(

Then I installed PHP 4.2.1 from source with the same configure command as
stated in my phpinfo() from 4.0.6:
----------------------------------------------------------------
 './configure' '--prefix=/usr' '--with-config-file-path=/etc'
'--disable-debug' '--enable-pic' '--enable-inline-optimization'
'--with-apxs=/usr/sbin/apxs' '--with-exec-dir=/usr/bin'
'--with-regex=system' '--with-gettext=shared' '--with-gd' '--with-flex'
'--with-jpeg-dir=/usr' '--with-png' '--with-ttf' '--with-zlib' '--with-db3'
'--with-gdbm' '--with-openssl' '--with-layout=GNU' '--enable-debugger'
'--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets'
'--enable-sysvsem=shared' '--enable-sysvshm=shared' '--enable-track-vars'
'--enable-yp' '--enable-ftp=shared' '--enable-wddx' '--without-mysql'
'--without-unixODBC' '--without-oracle' '--without-oci8'
---------------------------------------------------------------
After a lot of errors and installing serveral *-devel.rpm packages, my
server was finaly running PHP 4.2.1.

But when restarting Apache, I got some warnings about my PHP modules like:
----------------------------------------------------------------------------
-----
        PHP Warning:  imap: Unable to initialize module
        Module compiled with module API=20001222, debug=0, thread-safety=0
        PHP    compiled with module API=20020429, debug=0, thread-safety=0
        These options need to match in Unknown on line 0
        PHP Warning:  ldap: Unable to initialize module
        Module compiled with module API=20001222, debug=0, thread-safety=0
        PHP    compiled with module API=20020429, debug=0, thread-safety=0
        These options need to match in Unknown on line 0
----------------------------------------------------------------------------
-----
I suppose that was because of 'version conflicts' between PHP 4.2.1 and my
modules from 4.0.6. So I had to recompile PHP to compile new modules.

Then, after a lot of errors and installing serveral other *-devel.rpm
packages, 'configure' and 'make' finaly completed without any errors using
the following configure command:
------------------------------------------------------
'./configure' '--prefix=/usr' '--with-config-file-path=/etc'
'--disable-debug' '--enable-pic' '--enable-inline-optimization'
'--with-apxs=/usr/sbin/apxs' '--with-exec-dir=/usr/bin'
'--with-regex=system' '--with-gettext=shared' '--with-mysql' '--with-gd'
'--with-flex' '--with-jpeg-dir=/usr' '--with-png' '--with-ttf'
'--with-zlib=/usr' '--with-db3=/usr' '--with-gdbm' '--with-openssl=/usr'
'--with-imap=shared,/usr' '--with-kerberos=/usr' '--with-imap-ssl=/usr'
'--with-ldap=shared,/usr' '--with-pgsql=shared,/usr' '--with-layout=GNU'
'--enable-debugger' '--enable-magic-quotes' '--enable-safe-mode'
'--enable-sockets' '--enable-sysvsem=shared' '--enable-sysvshm=shared'
'--enable-track-vars' '--enable-yp' '--enable-ftp=shared' '--enable-wddx'
'--without-unixODBC' '--without-oracle' '--without-oci8'
----------------------------------------------------

But when doing 'make install' I got the following error:
---------------------------------------------------
Making install in .
make[1]: Entering directory `/root/php-4.2.1'
/root/php-4.2.1/build/shtool mkdir -p "/usr/lib/apache" && /usr/sbin/apxs -S
LIB
EXECDIR="/usr/lib/apache" -i -a -n php4 libs/libphp4.so
cp libs/libphp4.so /usr/lib/apache/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 `/root/php-4.2.1'
make: *** [install-recursive] Error 1
[root@admin php-4.2.1]# ls libs
libphp4.a  libphp4.la
[root@admin php-4.2.1]#
-------------------------------------------------

Now I've tried a lot of other 'configure' options, but I keep getting that
error, and worse I keep getting '500 Internal Server Errors' on my website..
:-( Does anybody know how to solve this problem???

Thanx in advance,
    Wouter Westendorp

PS: mod_so.c is listed in httpd -l


--- End Message ---

Reply via email to