php-install Digest 12 Sep 2002 07:56:39 -0000 Issue 1020

Topics (messages 8409 through 8421):

Re: configure patch for Solaris
        8409 by: Daniel Parks

No Makefile created after running ./configure
        8410 by: Nate Pickett

Text from web form
        8411 by: Rick King
        8412 by: Jome
        8413 by: nicos.php.net

Help with extensions
        8414 by: Cameron Thorne
        8417 by: Jim Thome

How to 'define a variable'
        8415 by: Doug Young
        8416 by: Jim Thome
        8418 by: Doug Young

No Answer to This? : include_path
        8419 by: gilang4
        8420 by: Peter Houchin

Why does PHP need unix.h?
        8421 by: Glen Lee Edwards

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 ---
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

FWIW, the patch is backwards. patch -R should take care of it.

Daniel Parks

> diff -u configure.php configure.php.orig
> --- configure.php   Tue Aug  6 16:14:20 2002
> +++ configure.php.orig      Sun Jul 21 05:56:20 2002
> @@ -66529,11 +66529,7 @@
>  JS_GetRuntime()
>  ; return 0; }
>  EOF
> -###verinform: redefine to include -G
> -ac_link='${CC-cc} -G -o conftest${ac_exeext} $CFLAGS $CPPFLAGS
> $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
>  if { (eval echo configure:66533: \"$ac_link\") 1>&5; (eval
> $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
> -###verinform: now put it back like it was:
> -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS
> $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
>    rm -rf conftest*
>    eval "ac_cv_lib_$ac_lib_var=yes"
>  else

-----BEGIN PGP SIGNATURE-----
Version: PGP 7.1

iQA/AwUBPX+UkOtGBZSgTte3EQKR7QCfU0+MfEIkzqhqZs3A4z+peMfo/nwAoJMq
PsZqvBlhy81G4arTqHsKyEVa
=ggFH
-----END PGP SIGNATURE-----

--- End Message ---
--- Begin Message ---
Hi,

I tried to do a source install of mySql-max-3.23.49a for the mysql.com website on Red 
Hat 7.2 (Kernal 2.4.7.10) - gnome. After downloading and extracting the packages I did 
the following command:

>./configure --prefix=/usr/local/mysql-max-3.23.49a

All worked fine without any error.  In <mysqlSourceDir>/data/localhost.err, only one 
line is printed stating that mysql is up and running.

Then I preformed a make in the <mysqlSourceDir>:

> make

And it stated that there are no target for make and the <mysqlSourceDir> does not 
contain a makefile.  Any suggestions or ideas why this might happen?  Thanks, -Nate

--- End Message ---
--- Begin Message ---
Apache: 1.3.26
PHP: 4.2.3
OS: HPUX-11

Hello PHP Guru's!

After successfully installing PHP and viewing the phpinfo page, I decided to
create a simple web-form. Just a basic "Name" "Message" web-form, when the
form is complete it is emailed to an account. Everything works, except I
don't see the filled in contents in the email message. I don't see the what
the person filled out. But I see "Name:" ane "Message:"

Any ideas?

Here's my config line for installing PHP:
CC=gcc ./configure --prefix=/opt/php \
--without-mysql \   (didn't have MySQL installed)
--with-apxs=/opt/apache/bin/apxs

Here's my config line for installing Apache:
CC=gcc ./configure --prefix=/opt/apache \
--enable-module=most \
--enable-shared=max

Any help would be greatly appreciated!

Rick


--- End Message ---
--- Begin Message ---
> Hello PHP Guru's!
>
> After successfully installing PHP and viewing the phpinfo page, I decided
to
> create a simple web-form. Just a basic "Name" "Message" web-form, when the
> form is complete it is emailed to an account. Everything works, except I
> don't see the filled in contents in the email message. I don't see the
what
> the person filled out. But I see "Name:" ane "Message:"
>
> Any ideas?

Could this be an register_globals issue?

Read on
http://www.php.net/manual/en/language.variables.predefined.php#language.vari
ables.superglobals - it may resolve your problem.

  Jome


--- End Message ---
--- Begin Message ---
Hi,

If you have register global off on your php.ini, you should do:
$name = $_POST['name'];
$message = $_POST['message'];
at the top of your script to enable the variables.

--

Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet

"Rick King" <[EMAIL PROTECTED]> a écrit dans le message de
news: [EMAIL PROTECTED]
> Apache: 1.3.26
> PHP: 4.2.3
> OS: HPUX-11
>
> Hello PHP Guru's!
>
> After successfully installing PHP and viewing the phpinfo page, I decided
to
> create a simple web-form. Just a basic "Name" "Message" web-form, when the
> form is complete it is emailed to an account. Everything works, except I
> don't see the filled in contents in the email message. I don't see the
what
> the person filled out. But I see "Name:" ane "Message:"
>
> Any ideas?
>
> Here's my config line for installing PHP:
> CC=gcc ./configure --prefix=/opt/php \
> --without-mysql \   (didn't have MySQL installed)
> --with-apxs=/opt/apache/bin/apxs
>
> Here's my config line for installing Apache:
> CC=gcc ./configure --prefix=/opt/apache \
> --enable-module=most \
> --enable-shared=max
>
> Any help would be greatly appreciated!
>
> Rick
>
>


--- End Message ---
--- Begin Message ---
First some background.  I have two "servers":
    1) Windows XP with Apache 1.3.26 and PHP 4.2.2
    2) GNU/Linux with Apache 1.3.26 and PHP 4.2.3 compiled in statically

Both are working well, but I now want to add PDFlib support to both servers.
On the win32 machine it was as easy as uncommenting out php_pdf.dll line in
php.ini and it was working great.

What is the best/easiest way to get PDFlib working on my Linux server?  I
don't have PDFlib itself installed on EITHER system.  Does the PHP source
come with all the code necessary to compile php_pdf.so or do I need to
install PDFlib, libtiff, libjpeg, libpng, libz....all in order to do this?

Thanks.

-- Cameron


--- End Message ---
--- Begin Message ---
You can download a precompiled DSO for Linux at www.pdflib.com (for dl() 
functionality) or build from source.  If building from source, zlib is all that's 
required (jpeg is built in).

~Jim

>>> "Cameron Thorne" <[EMAIL PROTECTED]> 09/11/02 16:41 PM >>>
First some background.  I have two "servers":
    1) Windows XP with Apache 1.3.26 and PHP 4.2.2
    2) GNU/Linux with Apache 1.3.26 and PHP 4.2.3 compiled in statically

Both are working well, but I now want to add PDFlib support to both servers.
On the win32 machine it was as easy as uncommenting out php_pdf.dll line in
php.ini and it was working great.

What is the best/easiest way to get PDFlib working on my Linux server?  I
don't have PDFlib itself installed on EITHER system.  Does the PHP source
come with all the code necessary to compile php_pdf.so or do I need to
install PDFlib, libtiff, libjpeg, libpng, libz....all in order to do this?

Thanks.

-- Cameron



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


--- End Message ---
--- Begin Message ---
After considerable aggro getting PHP4 to do whaI wanted, I finally
got some joy by setting 'register globals = On' At present I couldn't
give a rats whether thats desirable or otherwise .... getting this thing
working is the first priority & figuring out the finer points can come
later.

Appears my script is working now, although its spitting out a bunch
of 'Undefined variable blah blah blah' messages.

Would someone please enlighten me on where one find a simple english
explanation of how to define variables ?? (the 'simple english' bit probably
excludes anything to do with the official php manual)

--- End Message ---
--- Begin Message ---
Turn down the error reporting in your script.

http://us2.php.net/manual/en/function.error-reporting.php

~Jim

>>> "Doug Young" <[EMAIL PROTECTED]> 09/11/02 19:03 PM >>>
After considerable aggro getting PHP4 to do whaI wanted, I finally
got some joy by setting 'register globals = On' At present I couldn't
give a rats whether thats desirable or otherwise .... getting this thing
working is the first priority & figuring out the finer points can come
later.

Appears my script is working now, although its spitting out a bunch
of 'Undefined variable blah blah blah' messages.

Would someone please enlighten me on where one find a simple english
explanation of how to define variables ?? (the 'simple english' bit probably
excludes anything to do with the official php manual)


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


--- End Message ---
--- Begin Message ---

> Turn down the error reporting in your script.
> 
> http://us2.php.net/manual/en/function.error-reporting.php
> 
Well I guess that would 'hide' the problem, but not fix it .... or 
am I missing something here ??

--- End Message ---
--- Begin Message ---
Warning: Failed opening '/apache/htdocs/test.php' for inclusion
(include_path='.;c:\php4\pear') in Unknown on line 0


I got this message when try to swith PHP CGI to PHP module with Apache.

Apache is 1.3.2
PHP is 4.2.3

Apache is working fine by itself, and PHP CGI is working fine ( version
4.2.2 ).  But PHP module is not working at all.  Thanks for any help.


--- End Message ---
--- Begin Message ---
check your php.ini for the correct path to pear  and check that pear is
there or if u want just comment out the line that references pear if u don't
want to use it

> -----Original Message-----
> From: gilang4 [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 12 September 2002 2:38 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] No Answer to This? : include_path
>
>
> Warning: Failed opening '/apache/htdocs/test.php' for inclusion
> (include_path='.;c:\php4\pear') in Unknown on line 0
>
>
> I got this message when try to swith PHP CGI to PHP module with Apache.
>
> Apache is 1.3.2
> PHP is 4.2.3
>
> Apache is working fine by itself, and PHP CGI is working fine ( version
> 4.2.2 ).  But PHP module is not working at all.  Thanks for any help.
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
I can't get PHP to compile.  It keeps kicking out a parse error when it 
reaches the # include <unix.h> line in both Zend/zend.h and main/php.h.  
When I remove unix.h, ./configure dies stating that it's missing 
unix.h, but if I comment out the # include <unix.h> lines it compiles.

Why does it need unix.h (Linux box)?  What's likely to go wrong since I 
commented out the # include <unix.h> lines?

Glen


--- End Message ---

Reply via email to