php-install Digest 14 Aug 2001 02:41:31 -0000 Issue 412

Topics (messages 3951 through 3955):

Re: php4.06 installation causes apache to stop function.
        3951 by: Jani Taskinen

oci8 on s/390
        3952 by: LARSEN TROELS, Teliadk

sparc-sun-solaris2.7 with mySQL configuration problems
        3953 by: Chris S

Can't get php_imlib to work, *please* help me!
        3954 by: KernelPanic

Getting closer
        3955 by: Gilbert Colon

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]


----------------------------------------------------------------------



Try searching the mailing list archives once.
You might be surprised to find out how many questions like
this have been answered there.

Add the path to libmysqlclient.so to /etc/ld.so.conf
and then run /sbin/ldconfig and try starting apache again.

--Jani


On 13 Aug 2001, urgent from wrote:

>I'm on a i686, 192Mb RAM, 20Gb HD running Linux/suse7.0
>and software,
>mysql-3.23.40
>apache-1.3.20
>php-4.0.6.
>I've cheched that apache is set to --enable-module=so.
>I've configured php with
>./configure --with-mysql=/..path to mysql --with-apxs=/...path to apxs
>-no error message from php-
>on: /apachectl start
>this message occure:
>cannot load /.../libphp4.so into server:libmysqlclient.so.10:cannot open
>shared object file: no such file or directory.
>I've cheched the path and filenames, and everything is in the right
>place as far as I can see. I also cheched the httpd.conf, and can't find
>anything wrong there ??? what to do ???
>
>





I am looking into running php on s/390.

Do any of you know whether or not the only libraries needed for an oci8
install are:

libclntsh.so and libwtc8.so

this is what I get as ldd output from the apache binary

But will it be enough to compile and install?


/Troels




i am trying to set up PHP 4.0.6 and when i execute this command:

./configure --with-mysql=/opt/local/mysql --with-apache=/opt/local/apache-1.
3.9 --enable-track-vars

 i get the following problems:

1) checking for working makeinfo... missing
- i tried to find this module and install it but i couldn't find it anywhere
on the GNU site...is it neccessary?   and if so, where can i get it?

2) checking for AIX... no
- i am not sure what i need to do to fix this

3) checking for Apache module support via DSO through APXS... no
- i have checked for mod_so.c and it is there, am i looking for the right
thing??

4) checking for Apache module support... no
- i think that the mod_so.c has something to do with this as well??

5) configure: error: Invalid Apache directory - unable to find httpd.h under
/opt/local/apache-1.3.9
- now i have changed the path in the command i executed to point directly to
the httpd.h file (/opt/local/apache-1.3.9/bin) but i have looked up this
error and it says to point to the directory where apache was installed.  so
what else could be the problem?

thank you for any help on these issues.  i would really like to get PHP
installed and working as soon as possible.
chris






Hi!

I've spent the last three days on getting php_imlib to work. Problem is that
I failed ;)

When I try to compile php_imlib as a module (php compiled without the
"--with-imlib" option), I get the following error output in my browser
viewing the php-page: "Warning: Invalid library (maybe not a PHP library)
'imlib.so'". That's ok, since I want php_imlib compiled into php anyway ;)

But when php_imlib is compiled into php, the following error pops up when
trying to start apache: "Cannot load /usr/lib/apache/libphp4.so into server:
/usr/lib/apache/libphp4.so: undefined symbol: imlib_image_tile_vertical"



Since I consider myself a newbie, I'll try to tell you what I did:



I use SuSE 7.2 which has apache 1.3.19 installed. I downloaded php 4.0.6
sources, imlib2-1.0.3 sources (and edb) and php_imlib-0.3 sources. libjpeg,
libpng and freetype2 and freetype 1.3.1 are installed.



I Extracted edb-1.0.2.tar.gz, did a "./configure --prefix=/usr", "make" and
"make install". Seems to have worked.



Extracted imlib2-1.0.3.tar.gz, did a "./configure --prefix=/usr", "make" and
"make install". The only critical thing I got was:

>From configure: "configure: warning: *** Native GIF support will not be
built (GIF library not found) ***"

>From make: "dynamic_filters.c:120: warning: static declaration for
`__imlib_dynamic_filters_deinit' follows non-static"



I Extracted php-4.0.6.tar.gz, and extracted php_imlib into the ext-directory
of php, so that there now is php-4.0.6/ext/imlib. Then touch'ed
php-4.0.6/ext/imlib/config.m4.

I Executed buildconf in php-4.0.6. That said:

    buildconf: checking installation...

    buildconf: autoconf version 2.13 (ok)

    buildconf: automake version 1.4 (ok)

    buildconf: libtool version 1.3.5 (ok)

    WARNING: automake and libtool are installed in different

    directories. This may cause aclocal to fail.

    continuing anyway

    rebuilding Makefile templates

    rebuilding configure

    rebuilding main/php_config.h.in

After that, I had to patch the configure script, otherwise compiling will
fail (got that from the php-install mailing-list): In line 23235, I replaced
'LIBS="-l $LIBS"' with 'LIBS="$LIBS"'.



Now my php - configure-line:
"./configure --with-apxs=/usr/sbin/apxs --with-config-file-path=/etc --enabl
e-calendar --enable-ftp --with-gd=/usr --with-png-dir=/usr/lib --with-jpeg-d
ir=/usr/lib --with-freetype-dir=/usr/lib --with-mysql=/usr --with-imlib=/usr
/lib --with-zlib=/usr --prefix=/usr".



That worked flawlessly. Then followed the standard make and make install.
Make gave one warning while compiling: "zlib_fopen_wrapper.c:59: warning:
initialization from incompatible pointer type".

As I could see from the php-configure-output, imlib2 seems to have been
compiled into php ("checking for imlib2 support... yes", "creating
ext/imlib/Makefile").



Why does it say "/usr/lib/apache/libphp4.so: undefined symbol:
imlib_image_tile_vertical" when I try to start apache? Please help me on
this, I don't know what to do...

Thank You,

ben adler









[Mon Aug 13 21:44:28 2001] [error] (8)Exec format error: exec of
/usr/local/apache/cgi-bin/test.php failed
[Mon Aug 13 21:44:28 2001] [error] [client 192.168.0.103] Premature end
of script headers: /usr/local/apache/cgi-bin/test.php

With the above error I feel I am close in isolating the problem.  It
looks like something in my http.conf file is
whacko or I am missing some type of definition, which I have not been
able to figure out thus far.  What HAS
to be in the httpd.conf file to have .php scripts work?

The following is the contents of  test.php:  <? phpinfo() ?>



Reply via email to