php-install Digest 23 Jun 2003 15:17:40 -0000 Issue 1433

Topics (messages 11130 through 11135):

Re: Freetype & RH9
        11130 by: Michael Mauch
        11131 by: Ville Mattila

remove old mysql
        11132 by: saad al-hajeri

Problem on getting value.
        11133 by: Joe Phyism
        11134 by: Frédéric Trudeau

Question Regarding Access via Subdirectory
        11135 by: Douglas Pollock

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 ---
Ville Mattila wrote:

> I'm trying to install PHP 4.3.2 with Freetype libraries enabled in RH9.
> There is my configure attributes:
> '--with-pear' '--with-zlib-dir=/usr/include/' '--enable-mailparse'
> '--enable-trans-sid' '--enable-shared' '--enable-static'
> '--with-apxs=/usr/local/apache/bin/apxs' '--with-curlwrappers'
> '--enable-ftp' '--enable-exif' '--with-gd' '--with-jpeg-dir=/usr/lib'
> '--with-png-dir=/usr/lib' '--with-zlib-dir=/usr/include' '--with-freetype'
> '--enable-gd-native-ttf' '--with-mysql' '--with-pdflib=/usr/local'
> '--with-regex' '--with-zlib' '--with-config-file-path=/etc'
> '--enable-track-vars' '--disable-cli' '--with-curl'
> 
> The compilation is successful without problem and phpinfo() will show the
> new version. Anyway I can't find any info about freetype libraries in
> phpinfo-page and using functions that require freetype give still errors,
> like "Call to undefined function: imagettftext() ".
> 
> I've compiled both freetype and freetype-devel.
> 
> Any ideas?

# configure --help | grep freetype
  --with-freetype-dir[=DIR] GD: Set the path to FreeType 2 install prefix.

So it's not --with-freetype (umm, yes, this is a bit confusing).

As a side note, --enable-trans-sid and --enable-track-vars don't exist
anymore.

Regards...
                Michael

--- End Message ---
--- Begin Message ---
> # configure --help | grep freetype
>   --with-freetype-dir[=DIR] GD: Set the path to FreeType 2 install prefix.
>
> So it's not --with-freetype (umm, yes, this is a bit confusing).

Ups, thank you for help. Now it's working without problems.

> As a side note, --enable-trans-sid and --enable-track-vars don't exist
> anymore.

Thanks for note, they are now dropped out.

Ville



--- End Message ---
--- Begin Message ---
I would like to remove my old mysql server 

Thanks

        Saad al-hajeri

_____________________________________________________________
Get an email address your friends will never forget... FREE!
Become [EMAIL PROTECTED] at http://www.emailaccount.com/

--- End Message ---
--- Begin Message ---
Dear all,

I am using Apache 1.3.26 and PHP 4.3.2, running on Windows XP as local web
server, however, I encounter the following problem when I try to execute my
PHP script.

[source of show.php]
<?
    if ( $a == 1 ) {
        echo "True.";
    } else {
        echo "False.";
    }
?>
[source end]

I try to use IE to see the result, however, no matter
http://localhost/show.php or http://localhost/show.php?a=1, the result is
the same - "False.".

I have asked on php.lang and the problem is generally solved by the
following modification on my script:
<?
    if ( $_GET['a'] == 1 ) {
        echo "True.";
    } else {
        echo "False.";
    }
?>
But I want to use the script above, how can I change my configuration?
Helper on the newsgroup told me that "If so then you are expecting 'Globals'
to be set as 'on' and they're set to 'off'.", what does that mean?

Thank you very much.




--- End Message ---
--- Begin Message ---
IN your php.ini config file, look for the line "register_globals".
It is probablly set to 'off' right now. Simply set ti to 'on'.
However, this may lead to security problems, and I advise you code your
script to avoid this.

----- Original Message -----
From: "Joe Phyism" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, June 21, 2003 9:29 PM
Subject: [PHP-INST] Problem on getting value.


> Dear all,
>
> I am using Apache 1.3.26 and PHP 4.3.2, running on Windows XP as local web
> server, however, I encounter the following problem when I try to execute
my
> PHP script.
>
> [source of show.php]
> <?
>     if ( $a == 1 ) {
>         echo "True.";
>     } else {
>         echo "False.";
>     }
> ?>
> [source end]
>
> I try to use IE to see the result, however, no matter
> http://localhost/show.php or http://localhost/show.php?a=1, the result is
> the same - "False.".
>
> I have asked on php.lang and the problem is generally solved by the
> following modification on my script:
> <?
>     if ( $_GET['a'] == 1 ) {
>         echo "True.";
>     } else {
>         echo "False.";
>     }
> ?>
> But I want to use the script above, how can I change my configuration?
> Helper on the newsgroup told me that "If so then you are expecting
'Globals'
> to be set as 'on' and they're set to 'off'.", what does that mean?
>
> Thank you very much.
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--- End Message ---
--- Begin Message ---
I have installed PHP4 on Windows XP Professional.
I have a C:\Inetpub\wwwroot and a C:\Inetpub\wwwroot\PHP directory.
When I use IE6 with a URL of http://localhost/php02.htm the script php02.htm
works fine.
When I use IE6 with a URL of http://localhost/php/php02.htm I get a "The
page cannot be found" error.

I would like to keep my scripts organized in separate directories. Is there
a way to have the scripts recognized in addressable directories?


Thanks in advance
Doug


php02.php
-----------------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
 <title>Untitled</title>
</head>

<body>
This is php02.htm
<?php print("hello, world"); ?>


</body>
</html>

--- End Message ---

Reply via email to