php-install Digest 22 May 2002 14:49:35 -0000 Issue 848

Topics (messages 7067 through 7070):

Re: ok compiled but ?
        7067 by: Dan Stilts

PHP Start and end tags are not being parsed..
        7068 by: Steve G

Problems with GD
        7069 by: Marco Dinacci

Re: php4 + Apache 2 + WindowsXP
        7070 by: muhammed mamedov

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 ---
 Hi Erik,

I was having this same exact problem, so I went ahead and compiled it
directly into httpd. Not always my favorite thing to do, but nothing else
was working.

Dan

-----Original Message-----
From: Erik [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 21, 2002 1:01 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] ok compiled but ?

hi,


i succesfully compiled and builded mysql apache and php 4.2.1from the
sourcecode and it still refuses to work :-( the error i get is when i try
to start apache
Syntax error on line 222 of /usr/local/apache/conf/httpd.conf
cannot load /usr/local/apache/libexec/libphp4.so into server
/usr/local/apache/libexec/libphp4.so : undefined symbol __dn_expand

what is this ?? help please

regards from Belgium
Erik


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

--- End Message ---
--- Begin Message ---
I have just started reading and learning PHP on my Redhat Linux box. (2.4.9-31) 

I wrote my first script!! Inside the <BODY> tags I wrote: 

<?php echo "Hello World."; ?> 

When I load the page, I get a blank page. When I 'view source' from the IE tools menu, 
it shows literally: <?php echo... ?> 

Shouldn't the server be parsing the <?php .. ?> ? If I understand PHP, I should never 
see <?php in the view source from the client, right? 

I've checked the httpd.conf file and it includes PHP library includes etc. Also, the 
php.ini file in /etc seems ok too. 

There's something I'm missing to enable Apache to start parsing PHP tags but I can't 
find it. I know this has to be a common problem.. Can anyone point me in the right 
direction?



Thanks for any help!

--- End Message ---
--- Begin Message ---
Hi, 
I have configured and installed php 4.2.1 enabling the support for gd
library.
The output of phpinfo(), in the section relative to gd, says:

GD Support              enabled
GD Version              2.0 or higher
FreeType Support        enabled
FreeType Linkage        with freetype
JPG Support             enabled
PNG Support             enabled
WBMP Support            enabled 

So I did a sample script like this:

Header( "Content-type: image/jpeg");
$image = imagecreate(200,200); 
$maroon = ImageColorAllocate($image,100,0,0); 
ImageFilledRectangle($image,0,0,200,200,$maroon); 
ImageJpeg($image);

It doesn't work, I don't get any errors, I see only the space where
should be placed the image, I've also tried with png but it's the same...
I use RedHat Linux, Apache 1.3.23, PHP 4.2.1 and my configure command is
the follow:

./configure' '--with-apxs=/usr/sbin/apxs'
'--with-mysql=/usr/local/mysql/' '--enable-xslt'
'--with-xslt-sablot=/usr/ local' '--with-java=/usr/java/j2sdk1.4.0'
'--with-freetype-dir=/usr/lib' '--with-gd=/usr/local'
'--enable-gd-native-ttf' '--enable-gd-imgrstrttf' '--enable-gd-all'
'--with-zlib-dir=/usr/local/include/' '--with-jpeg-dir=/usr/local'
'--with-png- dir=/usr/local'

Can someone help me understand why I dont'see images ??

Thanks, 

bye

--- End Message ---
--- Begin Message ---
I have the same problems............ I think APACHE STUCKS  under XP

I even then tried APACHE 1.3.24 ............but cannot find solution::



"Alexander Ruhwinkel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hello,
>
> i just can't get php4 on my apache2 running. i followed the explanations
in
> install.txt document distributed with the php4 binary but whenever i start
> the apache server it crashes down. without the modifications regarding
php4
> being made in the httpd.conf apache is running just fine. can anybody give
a
> step-by-step manual how and where to make changes in the apache configs as
> well as in the php.ini and so on ?
>
> regards
>
>


--- End Message ---

Reply via email to