php-install Digest 14 Dec 2002 10:32:16 -0000 Issue 1161

Topics (messages 9382 through 9399):

Re: include_path???
        9382 by: Sjef Janssen

parameters in php4
        9383 by: Sjef Janssen
        9384 by: Jim Thome

PHP for Apache
        9385 by: CSParker1.aol.com
        9386 by: Jeffrey_N_Dyke.Keane.com

new php 4.2.3 outputting 'Content-type: text/html' twice
        9387 by: Lucas Rockwell

[solved]Re: [PHP-INST] new php 4.2.3 outputting 'Content-type: text/html' twice
        9388 by: Lucas Rockwell

Probelms with GD?
        9389 by: Ed Kasky
        9390 by: Jim Thome

Can't change values in php.ini
        9391 by: mad99
        9395 by: Jim Thome

php-4.3.2, pdflib-4.0.3 cannot find pdflib.h
        9392 by: Jason McKnight
        9393 by: Jim Thome

Installing php on AIX (4.3.3)
        9394 by: Kirt Thomas
        9396 by: Jim Thome
        9397 by: Kirt Thomas
        9398 by: Jim Thome

Win32 EAPI - Not recognising preprocessor option.
        9399 by: nofa

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 ---
Sorry, my mistake. I found out that the file in the include was not in the
correct folder.
Stupid!
Thanks anyway!
Sjef

<[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> The include_path is set fixed to the following directory c:\php4\. If you
> change the directory 'PHP' to PHP4 it should work (at least it does on my
> machine - XP/Apache/PHP4.2.3 ).
>
> "Sjef Janssen" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Hallo there,
> > I am installing php4 on my windows 2000 machine (pws/IIS). Everything
> seems
> > to work now except the include path. As mentioned in the manual I set
this
> > path in the ini file to ".;C:\php\includes" but that's not the path
where
> it
> > finds my files to include. I imagine that this path should be set to
> nothing
> > so that the function include() finds the files in a relative path to the
> php
> > script file.
> > Can I set the include_path = none  ??
> > Does any of you have experienced similar problems? How did you solve
this?
> > TIA,
> > Sjef
> >
> >
>
>


--- End Message ---
--- Begin Message ---
Hallo,
I used to have php3 installed on my machine. Now I installed php4 (4.2.3)
and it seems parameters are handled differently.

In a function I have a parameter set to a default value, as:

function blabla($p1=0,$p2=0)
{
}

I get an error when calling the function saying that the parameters are
empty!

Secondly I use $PHP_SELF to set the action in a form. The error says
$PHP_SELF is also empty. Apparently this changed since 4.1.0.
Is there a way to make this work instaed of rewriting all my scripts
containing forms?

Thanks,
Sjef


--- End Message ---
--- Begin Message ---
ini_set("register_globals", 1);

>>> "Sjef Janssen" <[EMAIL PROTECTED]> 12/13/02 09:39AM >>>
Hallo,
I used to have php3 installed on my machine. Now I installed php4 (4.2.3)
and it seems parameters are handled differently.

In a function I have a parameter set to a default value, as:

function blabla($p1=0,$p2=0)
{
}

I get an error when calling the function saying that the parameters are
empty!

Secondly I use $PHP_SELF to set the action in a form. The error says
$PHP_SELF is also empty. Apparently this changed since 4.1.0.
Is there a way to make this work instaed of rewriting all my scripts
containing forms?

Thanks,
Sjef



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


--- End Message ---
--- Begin Message ---
Does anyone know where I can download PHP for Apache, PHP.net doesnt 
distribute PHP for Linux anymore...

Thanks,
Chris
--- End Message ---
--- Begin Message ---
this is what i use for Apache
http://www.php.net/downloads.php  4.2.3 is on top with older versions and
patches beneath.

Jeff


                                                                                       
                             
                    CSParker1@aol.                                                     
                             
                    com                  To:     [EMAIL PROTECTED]             
                             
                                         cc:                                           
                             
                    12/13/2002           Subject:     [PHP-INST] PHP for Apache        
                             
                    11:56 AM                                                           
                             
                                                                                       
                             
                                                                                       
                             




Does anyone know where I can download PHP for Apache, PHP.net doesnt
distribute PHP for Linux anymore...

Thanks,
Chris




--- End Message ---
--- Begin Message ---
hi all,

i just upgraded my cgi version of php for OS X to 4.2.3 and it is
outputting the "Content-type: text/html" header twice. has anyone seen
this problem before? does anyone know how to solve it?

many, many thanks in advance.

-lucas


--- End Message ---
--- Begin Message ---
hi all,

sorry about that. i was using an old php.ini file.

-lucas

On Fri, 13 Dec 2002, Lucas Rockwell wrote:

> hi all,
>
> i just upgraded my cgi version of php for OS X to 4.2.3 and it is
> outputting the "Content-type: text/html" header twice. has anyone seen
> this problem before? does anyone know how to solve it?
>
> many, many thanks in advance.
>
> -lucas
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
Hello there -

I am in the process of upgrading php from 4.2.2 to 4.2.3 on a RH 7.2 box.

"./configure --with-mysql --with-gd" results in the following debug.log:

                   *** ATTENTION ***

"Something is likely to be messed up here, because the configure
 script was not able to detect a simple feature on your platform.
 This is often caused by incorrect configuration parameters. Please
 see the file debug.log for error messages.

 If you are unable to fix this, send the file debug.log to the
 [EMAIL PROTECTED] mailing list and include appropiate
 information about your setup."

debug.log:

CONFIGURE:   './configure' '--with-mysql' '--with-gd'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:
CXX:
CXXFLAGS:
INCLUDES:      -I$(top_builddir)/Zend -I/usr/local/include -I/usr/src/php-4.
2.3/ext/mysql/libmysql
LDFLAGS:     -Wl,-rpath,/usr/local/lib -L/usr/local/lib
LIBS:       -lgd -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lcrypt
DLIBS:
SAPI:       cgi
PHP_RPATHS:  /usr/local/lib
uname -a:   Linux yoda2 2.4.9-34 #1 Sat Jun 1 06:25:16 EDT 2002 i686 unknown

gcc -o conftest -g -O2   -Wl,-rpath,/usr/local/lib -L/usr/local/lib
conftest.c -lgd -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lcrypt 1>&5
/usr/local/lib/libgd.so: undefined reference to `uncompress'
/usr/local/lib/libgd.so: undefined reference to `FT_Init_FreeType'
/usr/local/lib/libgd.so: undefined reference to `jpeg_read_scanlines'
/usr/local/lib/libgd.so: undefined reference to `jpeg_simple_progression'
/usr/local/lib/libgd.so: undefined reference to `FT_Load_Glyph'
/usr/local/lib/libgd.so: undefined reference to `FT_Done_Face'
/usr/local/lib/libgd.so: undefined reference to `png_get_rowbytes'
/usr/local/lib/libgd.so: undefined reference to `png_set_strip_16'
/usr/local/lib/libgd.so: undefined reference to `png_create_read_struct'
/usr/local/lib/libgd.so: undefined reference to `FT_Get_Kerning'
/usr/local/lib/libgd.so: undefined reference to `FT_Get_Char_Index'
/usr/local/lib/libgd.so: undefined reference to `png_set_sig_bytes'
/usr/local/lib/libgd.so: undefined reference to `jpeg_set_defaults'
/usr/local/lib/libgd.so: undefined reference to `png_set_read_fn'
/usr/local/lib/libgd.so: undefined reference to `png_set_packing'
/usr/local/lib/libgd.so: undefined reference to `FT_Get_Glyph'
/usr/local/lib/libgd.so: undefined reference to `png_get_io_ptr'
/usr/local/lib/libgd.so: undefined reference to `jpeg_start_decompress'
/usr/local/lib/libgd.so: undefined reference to `jpeg_destroy'
/usr/local/lib/libgd.so: undefined reference to `png_set_IHDR'
/usr/local/lib/libgd.so: undefined reference to `jpeg_write_marker'
/usr/local/lib/libgd.so: undefined reference to `png_set_tRNS'
/usr/local/lib/libgd.so: undefined reference to `FT_Glyph_To_Bitmap'
/usr/local/lib/libgd.so: undefined reference to `png_get_valid'
/usr/local/lib/libgd.so: undefined reference to `jpeg_destroy_decompress'
/usr/local/lib/libgd.so: undefined reference to `jpeg_std_error'
/usr/local/lib/libgd.so: undefined reference to `jpeg_CreateDecompress'
/usr/local/lib/libgd.so: undefined reference to `png_create_write_struct'
/usr/local/lib/libgd.so: undefined reference to `png_get_error_ptr'
/usr/local/lib/libgd.so: undefined reference to `png_write_info'
/usr/local/lib/libgd.so: undefined reference to `png_set_PLTE'
/usr/local/lib/libgd.so: undefined reference to `FT_Set_Char_Size'
/usr/local/lib/libgd.so: undefined reference to `png_get_PLTE'
/usr/local/lib/libgd.so: undefined reference to `jpeg_read_header'
/usr/local/lib/libgd.so: undefined reference to `jpeg_start_compress'
/usr/local/lib/libgd.so: undefined reference to `png_write_end'
/usr/local/lib/libgd.so: undefined reference to `jpeg_destroy_compress'
/usr/local/lib/libgd.so: undefined reference to `png_get_IHDR'
/usr/local/lib/libgd.so: undefined reference to `png_set_write_fn'
/usr/local/lib/libgd.so: undefined reference to `jpeg_finish_decompress'
/usr/local/lib/libgd.so: undefined reference to `jpeg_resync_to_restart'
/usr/local/lib/libgd.so: undefined reference to `jpeg_CreateCompress'
/usr/local/lib/libgd.so: undefined reference to `FT_Done_Glyph'
/usr/local/lib/libgd.so: undefined reference to `png_read_info'
/usr/local/lib/libgd.so: undefined reference to `FT_Glyph_Get_CBox'
/usr/local/lib/libgd.so: undefined reference to `jpeg_finish_compress'
/usr/local/lib/libgd.so: undefined reference to `png_destroy_read_struct'
/usr/local/lib/libgd.so: undefined reference to `png_check_sig'
/usr/local/lib/libgd.so: undefined reference to `png_write_image'
/usr/local/lib/libgd.so: undefined reference to `png_read_update_info'
/usr/local/lib/libgd.so: undefined reference to `png_read_image'
/usr/local/lib/libgd.so: undefined reference to `png_get_tRNS'
/usr/local/lib/libgd.so: undefined reference to `FT_New_Face'
/usr/local/lib/libgd.so: undefined reference to `png_create_info_struct'
/usr/local/lib/libgd.so: undefined reference to `compress'
/usr/local/lib/libgd.so: undefined reference to `jpeg_set_quality'
/usr/local/lib/libgd.so: undefined reference to `FT_Glyph_Transform'
/usr/local/lib/libgd.so: undefined reference to `jpeg_write_scanlines'
/usr/local/lib/libgd.so: undefined reference to `png_destroy_write_struct'
/usr/local/lib/libgd.so: undefined reference to `png_read_end'
collect2: ld returned 1 exit status

and "make" results in:

make[3]: Entering directory `/usr/src/php-4.2.3/ext/gd'
gcc -I. -I/usr/src/php-4.2.3/ext/gd -I/usr/src/php-4.2.3/main -I/usr/src/php
-4.2.3 -I/usr/src/php-4.2.3/Zend -I/usr/local/include -I/usr/src/php-4.2.3/e
xt/mysql/libmysql -I/usr/src/php-4.2.3/ext/xml/expat  -I/usr/src/php-4.2.3/T
SRM -g -O2  -c gd.c && touch gd.lo
In file included from gd.c:36:
php_gd.h:69: warning: static declaration for `gdImageColorResolve' follows
non-static
gd.c:92: conflicting types for `gdIOCtx'
/usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/src/php-4.2.3/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/php-4.2.3/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php-4.2.3/ext'
make: *** [all-recursive] Error 1

Any suggestion as to how to proceed are greatly appreciated.

Ed Kasky
Los Angeles, CA
. . . . . . . .
I never think of the future.  It comes soon enough.
 -Albert Einstein


--- End Message ---
--- Begin Message ---
For gd, your configure line should look more like this:

 ./configure \
 --with-apxs=/path/to/your/apxs \
 --with-zlib  \
 --with-zlib-dir=/usr/local \
 --with-jpeg  \
 --with-jpeg-dir=/usr/local \
 --with-tiff  \
 --with-tiff-dir=/usr/local \
 --with-png  \
 --with-png-dir=/usr/local \
 --with-gd \
 --with-ttf \
 --with-freetype \
 --with-freetype-dir=/usr/local/include/freetype2/freetype \
 --enable-gd-native-ttf \
 --enable-gd-imgstrttf \

You must have also have all the libaries referenced in the configure line for it to 
work.

--
Jim

>>> "Ed Kasky" <[EMAIL PROTECTED]> 12/13/02 12:14PM >>>
Hello there -

I am in the process of upgrading php from 4.2.2 to 4.2.3 on a RH 7.2 box.

"./configure --with-mysql --with-gd" results in the following debug.log:

                   *** ATTENTION ***

"Something is likely to be messed up here, because the configure
 script was not able to detect a simple feature on your platform.
 This is often caused by incorrect configuration parameters. Please
 see the file debug.log for error messages.

 If you are unable to fix this, send the file debug.log to the
 [EMAIL PROTECTED] mailing list and include appropiate
 information about your setup."

debug.log:

CONFIGURE:   './configure' '--with-mysql' '--with-gd'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:
CXX:
CXXFLAGS:
INCLUDES:      -I$(top_builddir)/Zend -I/usr/local/include -I/usr/src/php-4.
2.3/ext/mysql/libmysql
LDFLAGS:     -Wl,-rpath,/usr/local/lib -L/usr/local/lib
LIBS:       -lgd -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lcrypt
DLIBS:
SAPI:       cgi
PHP_RPATHS:  /usr/local/lib
uname -a:   Linux yoda2 2.4.9-34 #1 Sat Jun 1 06:25:16 EDT 2002 i686 unknown

gcc -o conftest -g -O2   -Wl,-rpath,/usr/local/lib -L/usr/local/lib
conftest.c -lgd -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lcrypt 1>&5
/usr/local/lib/libgd.so: undefined reference to `uncompress'
/usr/local/lib/libgd.so: undefined reference to `FT_Init_FreeType'
/usr/local/lib/libgd.so: undefined reference to `jpeg_read_scanlines'
/usr/local/lib/libgd.so: undefined reference to `jpeg_simple_progression'
/usr/local/lib/libgd.so: undefined reference to `FT_Load_Glyph'
/usr/local/lib/libgd.so: undefined reference to `FT_Done_Face'
/usr/local/lib/libgd.so: undefined reference to `png_get_rowbytes'
/usr/local/lib/libgd.so: undefined reference to `png_set_strip_16'
/usr/local/lib/libgd.so: undefined reference to `png_create_read_struct'
/usr/local/lib/libgd.so: undefined reference to `FT_Get_Kerning'
/usr/local/lib/libgd.so: undefined reference to `FT_Get_Char_Index'
/usr/local/lib/libgd.so: undefined reference to `png_set_sig_bytes'
/usr/local/lib/libgd.so: undefined reference to `jpeg_set_defaults'
/usr/local/lib/libgd.so: undefined reference to `png_set_read_fn'
/usr/local/lib/libgd.so: undefined reference to `png_set_packing'
/usr/local/lib/libgd.so: undefined reference to `FT_Get_Glyph'
/usr/local/lib/libgd.so: undefined reference to `png_get_io_ptr'
/usr/local/lib/libgd.so: undefined reference to `jpeg_start_decompress'
/usr/local/lib/libgd.so: undefined reference to `jpeg_destroy'
/usr/local/lib/libgd.so: undefined reference to `png_set_IHDR'
/usr/local/lib/libgd.so: undefined reference to `jpeg_write_marker'
/usr/local/lib/libgd.so: undefined reference to `png_set_tRNS'
/usr/local/lib/libgd.so: undefined reference to `FT_Glyph_To_Bitmap'
/usr/local/lib/libgd.so: undefined reference to `png_get_valid'
/usr/local/lib/libgd.so: undefined reference to `jpeg_destroy_decompress'
/usr/local/lib/libgd.so: undefined reference to `jpeg_std_error'
/usr/local/lib/libgd.so: undefined reference to `jpeg_CreateDecompress'
/usr/local/lib/libgd.so: undefined reference to `png_create_write_struct'
/usr/local/lib/libgd.so: undefined reference to `png_get_error_ptr'
/usr/local/lib/libgd.so: undefined reference to `png_write_info'
/usr/local/lib/libgd.so: undefined reference to `png_set_PLTE'
/usr/local/lib/libgd.so: undefined reference to `FT_Set_Char_Size'
/usr/local/lib/libgd.so: undefined reference to `png_get_PLTE'
/usr/local/lib/libgd.so: undefined reference to `jpeg_read_header'
/usr/local/lib/libgd.so: undefined reference to `jpeg_start_compress'
/usr/local/lib/libgd.so: undefined reference to `png_write_end'
/usr/local/lib/libgd.so: undefined reference to `jpeg_destroy_compress'
/usr/local/lib/libgd.so: undefined reference to `png_get_IHDR'
/usr/local/lib/libgd.so: undefined reference to `png_set_write_fn'
/usr/local/lib/libgd.so: undefined reference to `jpeg_finish_decompress'
/usr/local/lib/libgd.so: undefined reference to `jpeg_resync_to_restart'
/usr/local/lib/libgd.so: undefined reference to `jpeg_CreateCompress'
/usr/local/lib/libgd.so: undefined reference to `FT_Done_Glyph'
/usr/local/lib/libgd.so: undefined reference to `png_read_info'
/usr/local/lib/libgd.so: undefined reference to `FT_Glyph_Get_CBox'
/usr/local/lib/libgd.so: undefined reference to `jpeg_finish_compress'
/usr/local/lib/libgd.so: undefined reference to `png_destroy_read_struct'
/usr/local/lib/libgd.so: undefined reference to `png_check_sig'
/usr/local/lib/libgd.so: undefined reference to `png_write_image'
/usr/local/lib/libgd.so: undefined reference to `png_read_update_info'
/usr/local/lib/libgd.so: undefined reference to `png_read_image'
/usr/local/lib/libgd.so: undefined reference to `png_get_tRNS'
/usr/local/lib/libgd.so: undefined reference to `FT_New_Face'
/usr/local/lib/libgd.so: undefined reference to `png_create_info_struct'
/usr/local/lib/libgd.so: undefined reference to `compress'
/usr/local/lib/libgd.so: undefined reference to `jpeg_set_quality'
/usr/local/lib/libgd.so: undefined reference to `FT_Glyph_Transform'
/usr/local/lib/libgd.so: undefined reference to `jpeg_write_scanlines'
/usr/local/lib/libgd.so: undefined reference to `png_destroy_write_struct'
/usr/local/lib/libgd.so: undefined reference to `png_read_end'
collect2: ld returned 1 exit status

and "make" results in:

make[3]: Entering directory `/usr/src/php-4.2.3/ext/gd'
gcc -I. -I/usr/src/php-4.2.3/ext/gd -I/usr/src/php-4.2.3/main -I/usr/src/php
-4.2.3 -I/usr/src/php-4.2.3/Zend -I/usr/local/include -I/usr/src/php-4.2.3/e
xt/mysql/libmysql -I/usr/src/php-4.2.3/ext/xml/expat  -I/usr/src/php-4.2.3/T
SRM -g -O2  -c gd.c && touch gd.lo
In file included from gd.c:36:
php_gd.h:69: warning: static declaration for `gdImageColorResolve' follows
non-static
gd.c:92: conflicting types for `gdIOCtx'
/usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/src/php-4.2.3/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/php-4.2.3/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php-4.2.3/ext'
make: *** [all-recursive] Error 1

Any suggestion as to how to proceed are greatly appreciated.

Ed Kasky
Los Angeles, CA
. . . . . . . .
I never think of the future.  It comes soon enough.
 -Albert Einstein



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.phpngd.so: undefined reference to 
`png_g 

--- End Message ---
--- Begin Message ---
I have updated my apache webserverto 1.3.27 and php 4.2.23 and now any changes to 
php.ini are ignored;-(
What am I doing wrong?


--- End Message ---
--- Begin Message ---
Make sure the php.ini file you think you are using, and the one PHP is really using is 
one and the same...and don't forget to restart Apache.

>>> mad99 <[EMAIL PROTECTED]> 12/13/02 10:22AM >>>
I have updated my apache webserverto 1.3.27 and php 4.2.23 and now any changes to 
php.ini are ignored;-(
What am I doing wrong?



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


--- End Message ---
--- Begin Message ---
System Info: RH 8.0 (kernel 2.4.18-xx), GCC 3.2

I'm not sure if this is a php problem or a pdflib problem.

After installing pdflib (./configure, make, make install) I try to do the 
following:

./configure --with-pdflib=SHARED,/usr/local/lib --with-png-dir 
--with-zlib-dir --with-jpeg-dir --with-tiff-dir --with-freetype2

but configure chokes with:

configure: error: pdflib.h not found! Check the path passed to 
--with-pdflib=<PATH>. PATH should be the install prefix directory.


pdflib.h is here: /usr/local/include/

I have /usr/local/include on my search path and i even tried setting the 
include dir when compiling pdflib to /usr/include. No matter what I do PHP 
can't find pdflib.h.

Any ideas?

tia,
Jason McKnight
--- End Message ---
--- Begin Message ---
Try this instead:

 ./configure \
 --with-pdflib=/usr/local  \
 --enable-shared=pdflib  \
 --with-zlib  \
 --with-zlib-dir=/usr/local \
 --with-jpeg  \
 --with-jpeg-dir=/usr/local \
 --with-tiff  \
 --with-tiff-dir=/usr/local \
 --with-png  \
 --with-png-dir=/usr/local \
 --with-freetype \
 --with-freetype-dir=/usr/local/include/freetype2/freetype \

>>> Jason McKnight <[EMAIL PROTECTED]> 12/13/02 09:45AM >>>
System Info: RH 8.0 (kernel 2.4.18-xx), GCC 3.2

I'm not sure if this is a php problem or a pdflib problem.

After installing pdflib (./configure, make, make install) I try to do the 
following:

./configure --with-pdflib=SHARED,/usr/local/lib --with-png-dir 
--with-zlib-dir --with-jpeg-dir --with-tiff-dir --with-freetype2

but configure chokes with:

configure: error: pdflib.h not found! Check the path passed to 
--with-pdflib=<PATH>. PATH should be the install prefix directory.


pdflib.h is here: /usr/local/include/

I have /usr/local/include on my search path and i even tried setting the 
include dir when compiling pdflib to /usr/include. No matter what I do PHP 
can't find pdflib.h.

Any ideas?

tia,
Jason McKnight

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


--- End Message ---
--- Begin Message --- I'm trying to install php on an AIX server. I use the folling configure command:

configure --with-apxs=/usr/local/apache/bin/apxs --with-oci8=/u01/app/oracle/product/8.1.6 --prefix=/usr/local/apache

Which works. Then I run a make, and that also completes. But when I run a 'make install' I end with...

Making install in .
/u01/AIX_Stuff/php/php-4.2.2/build/shtool mkdir -p "/usr/local/apache/libexec" && /usr/local/apache/bin/apxs -S LIBEXECDIR="/usr/local/apache/libexec" -i -a -n php4 libs/lo
cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so
cp: libs/libphp4.so: A file or directory in the path name does not exist.
apxs:Break: Command failed with rc=1
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.

If I look in the libs directory only the libphp4.a and libphp4.la are there - no libphp4.so (which afaik is created here in a normal Linux install). If I leave apx out of the configure, everything runs fine (no errors) it just doesn't create and copy the libphp4.so into the libexecs/ directory. I'm flummoxed.

I should add that there is a 4.0.5 version of php up and running on this box - but whenever it was done (by a sysadmin long gone) it was done specifically excluding mysql, which I need to have (along with the Oracle stuff). Any I deas? Thanks.

[EMAIL PROTECTED] http://www.sky.net/~kirtt
-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-
PGP Public Key at: http://pgpkeys.mit.edu:11371

--- End Message ---
--- Begin Message ---
What suffix does AIX use for shared libaries?  .sl or .so?  If it's something other 
than .so, you will have to hack your apxs script to change it to whatever your system 
needs.  (Just search apxs for .so; it is only in two places in newer apxs scripts).  

After changing your apxs script, run make distclean, configure, make, make install.

--
Jim

>>> Kirt Thomas <[EMAIL PROTECTED]> 12/13/02 02:57PM >>>
I'm trying to install php on an AIX server.  I use the folling configure 
command:

configure --with-apxs=/usr/local/apache/bin/apxs 
--with-oci8=/u01/app/oracle/product/8.1.6 --prefix=/usr/local/apache

Which works.  Then I run a make, and that also completes.  But when I run a 
'make install'  I end with...

Making install in .
         /u01/AIX_Stuff/php/php-4.2.2/build/shtool mkdir -p 
"/usr/local/apache/libexec" && /usr/local/apache/bin/apxs -S 
LIBEXECDIR="/usr/local/apache/libexec" -i -a -n php4 libs/lo
cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so
cp: libs/libphp4.so: A file or directory in the path name does not exist.
apxs:Break: Command failed with rc=1
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.

If I look in the libs directory only the libphp4.a and libphp4.la are there 
- no libphp4.so (which afaik is created here in a normal Linux 
install).  If I leave apx out of the configure, everything runs fine (no 
errors) it just doesn't create and copy the libphp4.so into the libexecs/ 
directory.  I'm flummoxed.

I should add that there is a 4.0.5 version of php up and running on this 
box - but whenever it was done (by a sysadmin long gone) it was done 
specifically excluding mysql, which I need to have (along with the Oracle 
stuff).  Any I deas?  Thanks.

[EMAIL PROTECTED]                  http://www.sky.net/~kirtt 
-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-
PGP Public Key at:  http://pgpkeys.mit.edu:11371 
  


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


--- End Message ---
--- Begin Message --- As far as I can tell it's .so - what would I change in the apxs script from so to sl, if it does turn out that it's sl?

At 03:04 PM 12/13/2002 -0700, Jim Thome wrote:
What suffix does AIX use for shared libaries? .sl or .so? If it's something other than .so, you will have to hack your apxs script to change it to whatever your system needs. (Just search apxs for .so; it is only in two places in newer apxs scripts).

After changing your apxs script, run make distclean, configure, make, make install.

--
Jim

>>> Kirt Thomas <[EMAIL PROTECTED]> 12/13/02 02:57PM >>>
I'm trying to install php on an AIX server. I use the folling configure
command:

configure --with-apxs=/usr/local/apache/bin/apxs
--with-oci8=/u01/app/oracle/product/8.1.6 --prefix=/usr/local/apache

Which works. Then I run a make, and that also completes. But when I run a
'make install' I end with...

Making install in .
/u01/AIX_Stuff/php/php-4.2.2/build/shtool mkdir -p
"/usr/local/apache/libexec" && /usr/local/apache/bin/apxs -S
LIBEXECDIR="/usr/local/apache/libexec" -i -a -n php4 libs/lo
cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so
cp: libs/libphp4.so: A file or directory in the path name does not exist.
apxs:Break: Command failed with rc=1
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.

If I look in the libs directory only the libphp4.a and libphp4.la are there
- no libphp4.so (which afaik is created here in a normal Linux
install). If I leave apx out of the configure, everything runs fine (no
errors) it just doesn't create and copy the libphp4.so into the libexecs/
directory. I'm flummoxed.

I should add that there is a 4.0.5 version of php up and running on this
box - but whenever it was done (by a sysadmin long gone) it was done
specifically excluding mysql, which I need to have (along with the Oracle
stuff). Any I deas? Thanks.

[EMAIL PROTECTED] http://www.sky.net/~kirtt
-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-
PGP Public Key at: http://pgpkeys.mit.edu:11371



--
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
-=-=-=-=-=-=-=-=-=-==-=-=-=-=--=-=-=-=-=-
Kirt Thomas           [EMAIL PROTECTED]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

--- End Message ---
--- Begin Message ---
It appears like the extension for shared libraries on AIX is .a (depends on your 
version of AIX; the new linker in AIX release 4.2.1 is .so).

To hack the apxs...

On line 116 of the apxs script in Apache 1.3.26:

Change: my $dso_ext = "so";
To: my $dso_ext = "a";

On line 381:
Change: $d =~ s|\.so$||;
To: $d =~ s|\.a$||;

If you are using a different version of Apache, search for ".so" and look for code 
similar to the above.

--
Jim

>>> Kirt Thomas <[EMAIL PROTECTED]> 12/13/02 03:39PM >>>
As far as I can tell it's .so - what would I change in the apxs script from 
so to sl, if it does turn out that it's sl?

At 03:04 PM 12/13/2002 -0700, Jim Thome wrote:
>What suffix does AIX use for shared libaries?  .sl or .so?  If it's 
>something other than .so, you will have to hack your apxs script to change 
>it to whatever your system needs.  (Just search apxs for .so; it is only 
>in two places in newer apxs scripts).
>
>After changing your apxs script, run make distclean, configure, make, make 
>install.
>
>--
>Jim
>
> >>> Kirt Thomas <[EMAIL PROTECTED]> 12/13/02 02:57PM >>>
>I'm trying to install php on an AIX server.  I use the folling configure
>command:
>
>configure --with-apxs=/usr/local/apache/bin/apxs
>--with-oci8=/u01/app/oracle/product/8.1.6 --prefix=/usr/local/apache
>
>Which works.  Then I run a make, and that also completes.  But when I run a
>'make install'  I end with...
>
>Making install in .
>          /u01/AIX_Stuff/php/php-4.2.2/build/shtool mkdir -p
>"/usr/local/apache/libexec" && /usr/local/apache/bin/apxs -S
>LIBEXECDIR="/usr/local/apache/libexec" -i -a -n php4 libs/lo
>cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so
>cp: libs/libphp4.so: A file or directory in the path name does not exist.
>apxs:Break: Command failed with rc=1
>make: 1254-004 The error code from the last command is 1.
>Stop.
>make: 1254-004 The error code from the last command is 1.
>Stop.
>
>If I look in the libs directory only the libphp4.a and libphp4.la are there
>- no libphp4.so (which afaik is created here in a normal Linux
>install).  If I leave apx out of the configure, everything runs fine (no
>errors) it just doesn't create and copy the libphp4.so into the libexecs/
>directory.  I'm flummoxed.
>
>I should add that there is a 4.0.5 version of php up and running on this
>box - but whenever it was done (by a sysadmin long gone) it was done
>specifically excluding mysql, which I need to have (along with the Oracle
>stuff).  Any I deas?  Thanks.
>
>[EMAIL PROTECTED]                  http://www.sky.net/~kirtt 
>-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-
>PGP Public Key at:  http://pgpkeys.mit.edu:11371 
>
>
>
>--
>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 

-=-=-=-=-=-=-=-=-=-==-=-=-=-=--=-=-=-=-=-
Kirt Thomas           [EMAIL PROTECTED] 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


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


--- End Message ---
--- Begin Message ---
Hi,
    Im trying to compile php under win32 with EAPI option, but it seems VC++
is not recoginising the preprocessor option. I dont even think it is going
through the steps.
    Anyone have any ideas or know where i could possibly get a binary with
EAPI enabled for 4.2.3 ?


--- End Message ---

Reply via email to