php-install Digest 4 Jan 2003 08:29:51 -0000 Issue 1185
Topics (messages 9510 through 9538):
first post, be gentle
9510 by: kimBlim
9513 by: Stephen Edmonds
9514 by: kimBlim
9518 by: toby -
9519 by: kimBlim
9520 by: toby -
9524 by: Stephen Edmonds
9527 by: kimBlim
9529 by: Stephen Edmonds
9530 by: Miguel Carvalho
9531 by: kimBlim
9532 by: Stephen Edmonds
Solution: Problem configuring PHP 4.3.0 with IMAP on RH 7.2
9511 by: Joerg Aldinger
PHP as CGI for Apache
9512 by: Perroud Benoit
9515 by: Rasmus Lerdorf
Compile error Apache 1.3.27 + PHP 4.3.0
9516 by: Dieter Müller
Re: Error
9517 by: toby -
9523 by: Johnny Matthews
drive problem?
9521 by: seth
9522 by: seth
9535 by: seth
Compile error PHP 4.3.0 (no problem with 4.2.3 though)
9525 by: Helmut Tessarek
Generating static pages on the server - caching problem
9526 by: Jeff Wallman
PHP CGI on Apache via htaccess?
9528 by: php.myconid.com
Re: installing php on redhat
9533 by: Dan Anderson
Installation problem of php 4.3.0
9534 by: Rika Yamada
Yaz Extension
9536 by: Wayne Graham
9537 by: kimBlim
Security alerts
9538 by: Javed.TechnoCanada
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 ---
Hallo everybody,
I have PHP 4.0.6 installed on my win2k server, and it works just fine except one tiny
problem:
I have a website which uses the gd-extension, and it has worked for me before, but
after I re-installed the server, I get the following error, whenever I have the
extension "turned on" in my php.ini-file:
X-Powered-By: PHP/4.0.6 Content-type: text/html PHP Warning: Unable to load dynamic
library 'C:\PHP\extensions\php_gd.dll' - The specified procedure could not be found.
in Unknown on line 0
Does anyone have any idea what could be wrong here?
any help is appreciated, thank you!
kimblim | www.kimblim.dk
--- End Message ---
--- Begin Message ---
Simple Answer:
The file 'php_gd.dll', which is used for GD, is not in the C:\PHP\extensions
folder. All you need to do is find the file (Try downloading the windows zip
package, as this has most of the extensions in the folder called
extenstions) and move the file into the C:\PHP\extensions folder. That
should solve your problem.
For the record, you are using quite an old version of php. PHP 4.3.0 (newly
released) comes with a GD2 extension designed for php. This could be a good
time to upgrade, although there are differences between the code for GD and
GD2 (Some of the functions have changed). Also remember that if you do
upgrade, to check the new php.ini file carefully for things like register
globals, a feature that has caused much confusion recently.
Good luck
Stephen
----- Original Message -----
From: "kimBlim" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 03, 2003 12:54 PM
Subject: [PHP-INST] first post, be gentle
Hallo everybody,
I have PHP 4.0.6 installed on my win2k server, and it works just fine except
one tiny problem:
I have a website which uses the gd-extension, and it has worked for me
before, but after I re-installed the server, I get the following error,
whenever I have the extension "turned on" in my php.ini-file:
X-Powered-By: PHP/4.0.6 Content-type: text/html PHP Warning: Unable to load
dynamic library 'C:\PHP\extensions\php_gd.dll' - The specified procedure
could not be found. in Unknown on line 0
Does anyone have any idea what could be wrong here?
any help is appreciated, thank you!
kimblim | www.kimblim.dk
--- End Message ---
--- Begin Message ---
See, that was my first thought, but it IS in the folder, I even downloaded it again,
just to see if the .dll could be corrupt or something, but that did not do anything...
thanx anyway.
kimblim | www.kimblim.dk
----- Original Message -----
From: "Stephen Edmonds" <[EMAIL PROTECTED]>
To: "kimBlim" <[EMAIL PROTECTED]>
Cc: "PHP Installation Helplist" <[EMAIL PROTECTED]>
Sent: Friday, January 03, 2003 2:04 PM
Subject: Re: [PHP-INST] first post, be gentle
> Simple Answer:
>
> The file 'php_gd.dll', which is used for GD, is not in the C:\PHP\extensions
> folder. All you need to do is find the file (Try downloading the windows zip
> package, as this has most of the extensions in the folder called
> extenstions) and move the file into the C:\PHP\extensions folder. That
> should solve your problem.
>
> For the record, you are using quite an old version of php. PHP 4.3.0 (newly
> released) comes with a GD2 extension designed for php. This could be a good
> time to upgrade, although there are differences between the code for GD and
> GD2 (Some of the functions have changed). Also remember that if you do
> upgrade, to check the new php.ini file carefully for things like register
> globals, a feature that has caused much confusion recently.
>
> Good luck
>
> Stephen
>
> ----- Original Message -----
> From: "kimBlim" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, January 03, 2003 12:54 PM
> Subject: [PHP-INST] first post, be gentle
>
>
> Hallo everybody,
>
> I have PHP 4.0.6 installed on my win2k server, and it works just fine except
> one tiny problem:
>
> I have a website which uses the gd-extension, and it has worked for me
> before, but after I re-installed the server, I get the following error,
> whenever I have the extension "turned on" in my php.ini-file:
>
> X-Powered-By: PHP/4.0.6 Content-type: text/html PHP Warning: Unable to load
> dynamic library 'C:\PHP\extensions\php_gd.dll' - The specified procedure
> could not be found. in Unknown on line 0
>
> Does anyone have any idea what could be wrong here?
>
> any help is appreciated, thank you!
>
> kimblim | www.kimblim.dk
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
kim
if ur using apache try copying ur extensions folder to
\Program Files\Apache Group\Apache\
its rathr silly but thats how i got it workin fo me
hope dis helps ....
good luck ....
toby .....
_________________________________________________________________
The new MSN 8 is here: Try it free* for 2 months
http://join.msn.com/?page=dept/dialup
--- End Message ---
--- Begin Message ---
thanx for the tip, but im using IIS :(
kimblim | www.kimblim.dk
----- Original Message -----
From: "toby -" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, January 03, 2003 3:10 PM
Subject: Re: [PHP-INST] first post, be gentle
>
> kim
>
> if ur using apache try copying ur extensions folder to
> \Program Files\Apache Group\Apache\
>
> its rathr silly but thats how i got it workin fo me
>
> hope dis helps ....
>
> good luck ....
>
> toby .....
>
>
--- End Message ---
--- Begin Message ---
ur welcome kim
im sorry i cant help u with that as i ve fogotton all bout workin with iis
and php
but do tell me y are u using iis
if u dont realy have to switch on to apache
ping m eif u need any help with that
good luck ....
toby .....
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus
--- End Message ---
--- Begin Message ---
Try the following:
Go into PHP ini and make the following changes:
log_errors = On
error_log = C:\PHP\errorlog.txt
Then, go into C:\PHP, and create a file called errorlog.txt. Then, try to
start your webserver up and access the php page. Hopefully, the file will
then be filled with the error messages. It may help us to track down the
problem... hopefully anyway!
----- Original Message -----
From: "kimBlim" <[EMAIL PROTECTED]>
To: "toby -" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, January 03, 2003 2:13 PM
Subject: Re: [PHP-INST] first post, be gentle
thanx for the tip, but im using IIS :(
kimblim | www.kimblim.dk
----- Original Message -----
From: "toby -" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, January 03, 2003 3:10 PM
Subject: Re: [PHP-INST] first post, be gentle
>
> kim
>
> if ur using apache try copying ur extensions folder to
> \Program Files\Apache Group\Apache\
>
> its rathr silly but thats how i got it workin fo me
>
> hope dis helps ....
>
> good luck ....
>
> toby .....
>
>
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
ok, tried it, and the log now reads:
[03-Jan-2003 18:26:39] PHP Fatal error: Call to undefined function:
imagecreate() in C:\shares\sites\dvd\php\rating.php on line 7
and that file looks like this:
<?php
header("Content-type: image/png");
$width = 60;
$height = 12;
$image = imagecreate($width, $height);
$red = imagecolorallocate($image, 255, 0, 0);
$im = imagecreatefrompng ("../images/ratingBackground2.png");
$im2 = imagecreatefrompng ("../images/ratingBackgroundBlank2.png");
$i = imagecopyresized($image, $im2, 0, 0, 0, 0, $width, $height, $width,
$height);
$newWidth = $width * ($rating / 5);
$i = imagecopyresized($image, $im, 0, 0, 0, 0, $newWidth, $height,
$newWidth, $height);
imagecolortransparent($image, $red);
imagepng($image);
imagedestroy($image);
?>
is this making any sense at all?
.kim
----- Original Message -----
From: "Stephen Edmonds" <[EMAIL PROTECTED]>
To: "kimBlim" <[EMAIL PROTECTED]>
Cc: "PHP Installation Helplist" <[EMAIL PROTECTED]>
Sent: Friday, January 03, 2003 4:07 PM
Subject: Re: [PHP-INST] first post, be gentle
> Try the following:
>
> Go into PHP ini and make the following changes:
> log_errors = On
> error_log = C:\PHP\errorlog.txt
>
> Then, go into C:\PHP, and create a file called errorlog.txt. Then, try to
> start your webserver up and access the php page. Hopefully, the file will
> then be filled with the error messages. It may help us to track down the
> problem... hopefully anyway!
>
> ----- Original Message -----
> From: "kimBlim" <[EMAIL PROTECTED]>
> To: "toby -" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Friday, January 03, 2003 2:13 PM
> Subject: Re: [PHP-INST] first post, be gentle
>
>
> thanx for the tip, but im using IIS :(
>
> kimblim | www.kimblim.dk
>
> ----- Original Message -----
> From: "toby -" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Friday, January 03, 2003 3:10 PM
> Subject: Re: [PHP-INST] first post, be gentle
>
>
> >
> > kim
> >
> > if ur using apache try copying ur extensions folder to
> > \Program Files\Apache Group\Apache\
> >
> > its rathr silly but thats how i got it workin fo me
> >
> > hope dis helps ....
> >
> > good luck ....
> >
> > toby .....
> >
> >
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Okay, its a good start. First, we will check that GD is actually being
started by php.
Create a new file and call it test.php
Into the file put this:
<?php
phpinfo( 8 );
?>
Then browse to the test.php file. It will output a list of all the installed
modules on your version of php. Then, all you need to do is look for the
section called 'GD'. On my php installation, phpinfo(8) output the following
about GD:
GD Support enabled
GD Version bundled (2.0 compatible)
FreeType Support enabled
FreeType Linkage with freetype
JPG Support enabled
PNG Support enabled
WBMP Support enabled
If you can find something similar on your version of phpinfo, then we know
that it is being correctly activated by php. If you can't, then we know
there is a problem somewhere when you try to load it. For your reference,
you can view what is output by my phpinfo(8) at
http://scryt.no-ip.com/test.php
Let me know how it goes!
Stephen
----- Original Message -----
From: "kim johannesen" <[EMAIL PROTECTED]>
To: "Stephen Edmonds" <[EMAIL PROTECTED]>
Cc: "PHP Installation Helplist" <[EMAIL PROTECTED]>
Sent: Friday, January 03, 2003 5:35 PM
Subject: Re: [PHP-INST] first post, be gentle
> ok, tried it, and the log now reads:
>
> [03-Jan-2003 18:26:39] PHP Fatal error: Call to undefined function:
> imagecreate() in C:\shares\sites\dvd\php\rating.php on line 7
>
> and that file looks like this:
>
> <?php
> header("Content-type: image/png");
>
> $width = 60;
> $height = 12;
>
> $image = imagecreate($width, $height);
>
> $red = imagecolorallocate($image, 255, 0, 0);
>
> $im = imagecreatefrompng ("../images/ratingBackground2.png");
> $im2 = imagecreatefrompng ("../images/ratingBackgroundBlank2.png");
> $i = imagecopyresized($image, $im2, 0, 0, 0, 0, $width, $height, $width,
> $height);
>
> $newWidth = $width * ($rating / 5);
> $i = imagecopyresized($image, $im, 0, 0, 0, 0, $newWidth, $height,
> $newWidth, $height);
>
> imagecolortransparent($image, $red);
>
> imagepng($image);
>
> imagedestroy($image);
>
> ?>
>
> is this making any sense at all?
>
> .kim
> ----- Original Message -----
> From: "Stephen Edmonds" <[EMAIL PROTECTED]>
> To: "kimBlim" <[EMAIL PROTECTED]>
> Cc: "PHP Installation Helplist" <[EMAIL PROTECTED]>
> Sent: Friday, January 03, 2003 4:07 PM
> Subject: Re: [PHP-INST] first post, be gentle
>
>
> > Try the following:
> >
> > Go into PHP ini and make the following changes:
> > log_errors = On
> > error_log = C:\PHP\errorlog.txt
> >
> > Then, go into C:\PHP, and create a file called errorlog.txt. Then, try
to
> > start your webserver up and access the php page. Hopefully, the file
will
> > then be filled with the error messages. It may help us to track down the
> > problem... hopefully anyway!
> >
> > ----- Original Message -----
> > From: "kimBlim" <[EMAIL PROTECTED]>
> > To: "toby -" <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > Sent: Friday, January 03, 2003 2:13 PM
> > Subject: Re: [PHP-INST] first post, be gentle
> >
> >
> > thanx for the tip, but im using IIS :(
> >
> > kimblim | www.kimblim.dk
> >
> > ----- Original Message -----
> > From: "toby -" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > Sent: Friday, January 03, 2003 3:10 PM
> > Subject: Re: [PHP-INST] first post, be gentle
> >
> >
> > >
> > > kim
> > >
> > > if ur using apache try copying ur extensions folder to
> > > \Program Files\Apache Group\Apache\
> > >
> > > its rathr silly but thats how i got it workin fo me
> > >
> > > hope dis helps ....
> > >
> > > good luck ....
> > >
> > > toby .....
> > >
> > >
> >
> > --
> > 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
>
>
--- End Message ---
--- Begin Message ---
Hi, i have read your post, it seams that your PHP instalation doesnt have
support for GD compiled into it.
You should add the required DLL( sorry, but i dont your wich DLL ) to your
php.ini file.
Take a look at the output of phpinfo function to check if GD is
installed/compiled or not.
Take a look at: http://www.php.net/manual/en/function.imagecreate.php
and please read the comments section.
Regards
Miguel Carvalho
> ok, tried it, and the log now reads:
>
> [03-Jan-2003 18:26:39] PHP Fatal error: Call to undefined function:
> imagecreate() in C:\shares\sites\dvd\php\rating.php on line 7
>
> and that file looks like this:
>
> <?php
> header("Content-type: image/png");
>
> $width = 60;
> $height = 12;
>
> $image = imagecreate($width, $height);
--- End Message ---
--- Begin Message ---
thanx Stephen, I really appreciate it..
well, it seems like it isn't loading it, because I dont even have a
paragraph about GD in the phpinfo file...
like i wrote in one of my earlier posts, I re-installed php yesterday, so it
is really wierd..
anyway, what to do now???
kimblim | www.kimblim.dk
----- Original Message -----
From: "Stephen Edmonds" <[EMAIL PROTECTED]>
To: "kim johannesen" <[EMAIL PROTECTED]>
Cc: "PHP Installation Helplist" <[EMAIL PROTECTED]>
Sent: Friday, January 03, 2003 6:45 PM
Subject: Re: [PHP-INST] first post, be gentle
> Okay, its a good start. First, we will check that GD is actually being
> started by php.
>
> Create a new file and call it test.php
> Into the file put this:
> <?php
> phpinfo( 8 );
> ?>
>
> Then browse to the test.php file. It will output a list of all the
installed
> modules on your version of php. Then, all you need to do is look for the
> section called 'GD'. On my php installation, phpinfo(8) output the
following
> about GD:
>
> GD Support enabled
> GD Version bundled (2.0 compatible)
> FreeType Support enabled
> FreeType Linkage with freetype
> JPG Support enabled
> PNG Support enabled
> WBMP Support enabled
>
>
> If you can find something similar on your version of phpinfo, then we know
> that it is being correctly activated by php. If you can't, then we know
> there is a problem somewhere when you try to load it. For your reference,
> you can view what is output by my phpinfo(8) at
> http://scryt.no-ip.com/test.php
>
> Let me know how it goes!
>
> Stephen
>
> ----- Original Message -----
> From: "kim johannesen" <[EMAIL PROTECTED]>
> To: "Stephen Edmonds" <[EMAIL PROTECTED]>
> Cc: "PHP Installation Helplist" <[EMAIL PROTECTED]>
> Sent: Friday, January 03, 2003 5:35 PM
> Subject: Re: [PHP-INST] first post, be gentle
>
>
> > ok, tried it, and the log now reads:
> >
> > [03-Jan-2003 18:26:39] PHP Fatal error: Call to undefined function:
> > imagecreate() in C:\shares\sites\dvd\php\rating.php on line 7
> >
> > and that file looks like this:
> >
> > <?php
> > header("Content-type: image/png");
> >
> > $width = 60;
> > $height = 12;
> >
> > $image = imagecreate($width, $height);
> >
> > $red = imagecolorallocate($image, 255, 0, 0);
> >
> > $im = imagecreatefrompng ("../images/ratingBackground2.png");
> > $im2 = imagecreatefrompng ("../images/ratingBackgroundBlank2.png");
> > $i = imagecopyresized($image, $im2, 0, 0, 0, 0, $width, $height, $width,
> > $height);
> >
> > $newWidth = $width * ($rating / 5);
> > $i = imagecopyresized($image, $im, 0, 0, 0, 0, $newWidth, $height,
> > $newWidth, $height);
> >
> > imagecolortransparent($image, $red);
> >
> > imagepng($image);
> >
> > imagedestroy($image);
> >
> > ?>
> >
> > is this making any sense at all?
> >
> > .kim
> > ----- Original Message -----
> > From: "Stephen Edmonds" <[EMAIL PROTECTED]>
> > To: "kimBlim" <[EMAIL PROTECTED]>
> > Cc: "PHP Installation Helplist" <[EMAIL PROTECTED]>
> > Sent: Friday, January 03, 2003 4:07 PM
> > Subject: Re: [PHP-INST] first post, be gentle
> >
> >
> > > Try the following:
> > >
> > > Go into PHP ini and make the following changes:
> > > log_errors = On
> > > error_log = C:\PHP\errorlog.txt
> > >
> > > Then, go into C:\PHP, and create a file called errorlog.txt. Then, try
> to
> > > start your webserver up and access the php page. Hopefully, the file
> will
> > > then be filled with the error messages. It may help us to track down
the
> > > problem... hopefully anyway!
> > >
> > > ----- Original Message -----
> > > From: "kimBlim" <[EMAIL PROTECTED]>
> > > To: "toby -" <[EMAIL PROTECTED]>
> > > Cc: <[EMAIL PROTECTED]>
> > > Sent: Friday, January 03, 2003 2:13 PM
> > > Subject: Re: [PHP-INST] first post, be gentle
> > >
> > >
> > > thanx for the tip, but im using IIS :(
> > >
> > > kimblim | www.kimblim.dk
> > >
> > > ----- Original Message -----
> > > From: "toby -" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Cc: <[EMAIL PROTECTED]>
> > > Sent: Friday, January 03, 2003 3:10 PM
> > > Subject: Re: [PHP-INST] first post, be gentle
> > >
> > >
> > > >
> > > > kim
> > > >
> > > > if ur using apache try copying ur extensions folder to
> > > > \Program Files\Apache Group\Apache\
> > > >
> > > > its rathr silly but thats how i got it workin fo me
> > > >
> > > > hope dis helps ....
> > > >
> > > > good luck ....
> > > >
> > > > toby .....
> > > >
> > > >
> > >
> > > --
> > > 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
> >
> >
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
You said you re-installed php... do a search for all 'php.ini' files on your
hard drive. It *could* be that an older version of php.ini in a different
directory is messing things up. Your php.ini should be located in the
C:\Windows folder (Or whatever your windows folder is)... Let me know how
that goes, I'll try to think up something else to check!
Stephen
Originally from Miguel Carvalho:
>Hi, i have read your post, it seams that your PHP >instalation doesnt have
>support for GD compiled into it.
>You should add the required DLL( sorry, but i dont >your wich DLL ) to your
>php.ini file.
>Take a look at the output of phpinfo function to check if >GD is
>installed/compiled or not.
Thanks for the suggestions, but we've already been through them eariler...
You probably didn't see them as they were several hours ago! Thanks
anyway...
----- Original Message -----
From: "kim johannesen" <[EMAIL PROTECTED]>
To: "Stephen Edmonds" <[EMAIL PROTECTED]>
Cc: "PHP Installation Helplist" <[EMAIL PROTECTED]>
Sent: Friday, January 03, 2003 7:02 PM
Subject: Re: [PHP-INST] first post, be gentle
> thanx Stephen, I really appreciate it..
>
> well, it seems like it isn't loading it, because I dont even have a
> paragraph about GD in the phpinfo file...
>
> like i wrote in one of my earlier posts, I re-installed php yesterday, so
it
> is really wierd..
>
> anyway, what to do now???
>
> kimblim | www.kimblim.dk
>
> ----- Original Message -----
> From: "Stephen Edmonds" <[EMAIL PROTECTED]>
> To: "kim johannesen" <[EMAIL PROTECTED]>
> Cc: "PHP Installation Helplist" <[EMAIL PROTECTED]>
> Sent: Friday, January 03, 2003 6:45 PM
> Subject: Re: [PHP-INST] first post, be gentle
>
>
> > Okay, its a good start. First, we will check that GD is actually being
> > started by php.
> >
> > Create a new file and call it test.php
> > Into the file put this:
> > <?php
> > phpinfo( 8 );
> > ?>
> >
> > Then browse to the test.php file. It will output a list of all the
> installed
> > modules on your version of php. Then, all you need to do is look for the
> > section called 'GD'. On my php installation, phpinfo(8) output the
> following
> > about GD:
> >
> > GD Support enabled
> > GD Version bundled (2.0 compatible)
> > FreeType Support enabled
> > FreeType Linkage with freetype
> > JPG Support enabled
> > PNG Support enabled
> > WBMP Support enabled
> >
> >
> > If you can find something similar on your version of phpinfo, then we
know
> > that it is being correctly activated by php. If you can't, then we know
> > there is a problem somewhere when you try to load it. For your
reference,
> > you can view what is output by my phpinfo(8) at
> > http://scryt.no-ip.com/test.php
> >
> > Let me know how it goes!
> >
> > Stephen
> >
> > ----- Original Message -----
> > From: "kim johannesen" <[EMAIL PROTECTED]>
> > To: "Stephen Edmonds" <[EMAIL PROTECTED]>
> > Cc: "PHP Installation Helplist" <[EMAIL PROTECTED]>
> > Sent: Friday, January 03, 2003 5:35 PM
> > Subject: Re: [PHP-INST] first post, be gentle
> >
> >
> > > ok, tried it, and the log now reads:
> > >
> > > [03-Jan-2003 18:26:39] PHP Fatal error: Call to undefined function:
> > > imagecreate() in C:\shares\sites\dvd\php\rating.php on line 7
> > >
> > > and that file looks like this:
> > >
> > > <?php
> > > header("Content-type: image/png");
> > >
> > > $width = 60;
> > > $height = 12;
> > >
> > > $image = imagecreate($width, $height);
> > >
> > > $red = imagecolorallocate($image, 255, 0, 0);
> > >
> > > $im = imagecreatefrompng ("../images/ratingBackground2.png");
> > > $im2 = imagecreatefrompng ("../images/ratingBackgroundBlank2.png");
> > > $i = imagecopyresized($image, $im2, 0, 0, 0, 0, $width, $height,
$width,
> > > $height);
> > >
> > > $newWidth = $width * ($rating / 5);
> > > $i = imagecopyresized($image, $im, 0, 0, 0, 0, $newWidth, $height,
> > > $newWidth, $height);
> > >
> > > imagecolortransparent($image, $red);
> > >
> > > imagepng($image);
> > >
> > > imagedestroy($image);
> > >
> > > ?>
> > >
> > > is this making any sense at all?
> > >
> > > .kim
> > > ----- Original Message -----
> > > From: "Stephen Edmonds" <[EMAIL PROTECTED]>
> > > To: "kimBlim" <[EMAIL PROTECTED]>
> > > Cc: "PHP Installation Helplist" <[EMAIL PROTECTED]>
> > > Sent: Friday, January 03, 2003 4:07 PM
> > > Subject: Re: [PHP-INST] first post, be gentle
> > >
> > >
> > > > Try the following:
> > > >
> > > > Go into PHP ini and make the following changes:
> > > > log_errors = On
> > > > error_log = C:\PHP\errorlog.txt
> > > >
> > > > Then, go into C:\PHP, and create a file called errorlog.txt. Then,
try
> > to
> > > > start your webserver up and access the php page. Hopefully, the file
> > will
> > > > then be filled with the error messages. It may help us to track down
> the
> > > > problem... hopefully anyway!
> > > >
> > > > ----- Original Message -----
> > > > From: "kimBlim" <[EMAIL PROTECTED]>
> > > > To: "toby -" <[EMAIL PROTECTED]>
> > > > Cc: <[EMAIL PROTECTED]>
> > > > Sent: Friday, January 03, 2003 2:13 PM
> > > > Subject: Re: [PHP-INST] first post, be gentle
> > > >
> > > >
> > > > thanx for the tip, but im using IIS :(
> > > >
> > > > kimblim | www.kimblim.dk
> > > >
> > > > ----- Original Message -----
> > > > From: "toby -" <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Cc: <[EMAIL PROTECTED]>
> > > > Sent: Friday, January 03, 2003 3:10 PM
> > > > Subject: Re: [PHP-INST] first post, be gentle
> > > >
> > > >
> > > > >
> > > > > kim
> > > > >
> > > > > if ur using apache try copying ur extensions folder to
> > > > > \Program Files\Apache Group\Apache\
> > > > >
> > > > > its rathr silly but thats how i got it workin fo me
> > > > >
> > > > > hope dis helps ....
> > > > >
> > > > > good luck ....
> > > > >
> > > > > toby .....
> > > > >
> > > > >
> > > >
> > > > --
> > > > 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
> > >
> > >
> >
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
--- End Message ---
--- Begin Message ---
Here's the solution to the problem I posted yesterday:
What I was missing is the "pam-devel-0.75-19.i386.rpm" package, which I now
downloaded from the RedHat Network. After installation the IMAP check passes
fine.
And on we go...
Take care,
Joerg.
-----Original Message-----
From: Joerg Aldinger [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 02, 2003 2:57 PM
To: '[EMAIL PROTECTED]'
Subject: Problem configuring PHP 4.3.0 with IMAP on RH 7.2
When trying to configure PHP 4.3.0 on RedHat 7.2 with the following command:
./configure --no-create --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
--sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share
--sysconfdir=/etc --sharedstatedir=/usr/com --localstatedir=/var
--libdir=/usr/lib --includedir=/usr/include --infodir=/usr/share/info
--mandir=/usr/share/man --with-apxs=/usr/sbin/apxs
--enable-force-cgi-redirect --enable-discard-path --with-layout=GNU
--with-config-file-path=/etc --enable-safe-mode --with-exec-dir=/usr/bin
--enable-magic-quotes --disable-rpath --with-openssl --with-zlib
--enable-bcmath --with-bz2 --enable-calendar --with-curl --enable-dbx
--enable-dio --enable-exif --enable-ftp=shared --with-gd
--with-jpeg-dir=/usr --with-png-dir=/usr --with-ttf --with-freetype-dir=/usr
--enable-gd-native-ttf --with-gettext=shared --with-iconv --with-imap=shared
--with-kerberos --with-imap-ssl --with-ldap=shared --enable-mbstring
--with-mcal --with-mysql=shared,/usr --with-unixODBC=shared --with-pfpro
--with-pgsql=shared --with-pspell --enable-shmop --with-snmp=shared,/usr
--enable-ucd-snmp-hack --enable-sockets --with-regex=system --enable-sysvsem
--enable-sysvshm --enable-wddx --with-expat-dir=/usr --enable-yp --with-zip
--enable-versioning --with-pic --enable-memory-limit
I get the following error:
...
checking for IMAP support... yes, shared
checking for pam_start in -lpam... no
checking for crypt in -lcrypt... (cached) yes
checking whether SSL libraries are needed for c-client... /usr/lib
checking whether IMAP works... no
configure: error: build test failed. Please check the config.log for
details.
In config.log, here's what it says at the end:
configure:34453: checking for IMAP support
configure:34811: checking for pam_start in -lpam
configure:34830: gcc -o conftest -g -O2 -DLINUX=22 -DMOD_SSL=208105 -DEAPI
-DEAPI_MM -DFD_SETSIZE=4096 conftest.c -lpam -lfreety$
/usr/bin/ld: cannot find -lpam
collect2: ld returned 1 exit status
configure: failed program was:
#line 34819 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char pam_start();
int main() {
pam_start()
; return 0; }
configure:34858: checking for crypt in -lcrypt
configure:35252: checking whether SSL libraries are needed for c-client
configure:35413: checking whether IMAP works
configure:35446: gcc -o conftest -g -O2 -DLINUX=22 -DMOD_SSL=208105 -DEAPI
-DEAPI_MM -DFD_SETSIZE=4096 conftest.c -lcrypto -lssl$
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In
function `ssl_onceonlyinit':
/usr/src/build/91052-i386/BUILD/imap-2001a/c-client/osdep.c:286: the use of
`tmpnam' is dangerous, better use `mkstemp'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In
function `checkpw':
/usr/src/build/91052-i386/BUILD/imap-2001a/c-client/osdep.c:124: undefined
reference to `pam_start'
/usr/src/build/91052-i386/BUILD/imap-2001a/c-client/osdep.c:124: undefined
reference to `pam_authenticate'
/usr/src/build/91052-i386/BUILD/imap-2001a/c-client/osdep.c:124: undefined
reference to `pam_acct_mgmt'
/usr/src/build/91052-i386/BUILD/imap-2001a/c-client/osdep.c:124: undefined
reference to `pam_setcred'
/usr/src/build/91052-i386/BUILD/imap-2001a/c-client/osdep.c:130: undefined
reference to `pam_setcred'
/usr/src/build/91052-i386/BUILD/imap-2001a/c-client/osdep.c:131: undefined
reference to `pam_end'
/usr/src/build/91052-i386/BUILD/imap-2001a/c-client/osdep.c:156: undefined
reference to `pam_end'
collect2: ld returned 1 exit status
configure: failed program was:
#line 35421 "configure"
#include "confdefs.h"
void mm_log(void){}
void mm_dlog(void){}
void mm_flags(void){}
void mm_fatal(void){}
void mm_critical(void){}
void mm_nocritical(void){}
void mm_notify(void){}
void mm_login(void){}
void mm_diskerror(void){}
void mm_status(void){}
void mm_lsub(void){}
void mm_list(void){}
void mm_exists(void){}
void mm_searched(void){}
void mm_expunged(void){}
char mail_open();
int main() {
mail_open(0,"",0);
return 0;
}
Any clues on what is causing this error? How can I resolve it? Any comments
are appreciated...!
Thanks in advance and Happy New Year to all of you,
Joerg Aldinger
--- End Message ---
--- Begin Message ---
Hi,
Have someone a good, usefull (and recent) tutorial or faq which explain what
to do to complie PHP as CGI for Apache
Thanks
--
Regards,
Benoit.
--------------
"Le possible est déjà fait, l'impossible je le fais de suite, pour les
miracles, prière de prévoir un délai"
--- End Message ---
--- Begin Message ---
./configure && make && make install
Or you could do something crazy and read the INSTALL file in the
distribution.
-Rasmus
On Thu, 2 Jan 2003, Perroud Benoit wrote:
> Hi,
>
> Have someone a good, usefull (and recent) tutorial or faq which explain what
> to do to complie PHP as CGI for Apache
>
> Thanks
>
> --
> Regards,
> Benoit.
>
> --------------
> "Le possible est déjà fait, l'impossible je le fais de suite, pour les
> miracles, prière de prévoir un délai"
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
When i try to compile Apache 1.3.27 with PHP 4.3.0 as module i get an error.
Tried to compile with gcc 2.95.3 and gcc. 3.2.1 always the same
problem.... PHP 4.2.3 works fine.
First configure SSL:
./configure --with-apache=../apache_1.3.27 --with-ssl=../openssl-0.9.6h
then in Apache path i type:
./configure --prefix=/usr/local/apache/1.3.27 --htdocsdir=/var/www
In PHP path i type:
CFLAGS='-O2 -I/usr/local/openssl/current/include' \
./configure \
--with-apache=/usr/src/tars/apache_1.3.27 \
--with-mysql=/usr/local/mysql/current \
--with-zlib \
--with-ftp \
--with-pdflib=/usr/local \
--with-freetype-dir=/usr \
--enable-gd-native-ttf \
--enable-gd-imgstrttf \
--with-jpeg-dir=/usr/local/lib \
--with-png-dir=/usr/local/lib \
--with-tiff-dir=/usr/lib \
--enable-versioning \
--enable-track-vars=yes \
--enable-url-includes \
--enable-sysvshm=yes \
--enable-sysvsem=yes \
--enable-bcmath \
--enable-inline-optimization \
--with-config-file-path=/usr/local/apache/1.3.27/conf
at this point everything seems to run....
after compiling/installing PHP i type the following in the apache path:
SSL_BASE=/usr/local/openssl/current \
./configure --prefix=/usr/local/apache/1.3.27 \
--datadir=/var/www/htdocs \
--enable-module=ssl \
--activate-module=src/modules/php4/libphp4.a \
--enable-module=php4
Output is:
***************************************************************************
Configuring for Apache, Version 1.3.27
+ using installation path layout: Apache (config.layout)
+ activated php4 module (modules/php4/libphp4.a)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ checking for system header files
+ adding selected modules
o ssl_module uses ConfigStart/End
+ SSL interface: mod_ssl/2.8.12
+ SSL interface build type: OBJ
+ SSL interface compatibility: enabled
+ SSL interface experimental code: disabled
+ SSL interface conservative code: disabled
+ SSL interface vendor extensions: disabled
+ SSL interface plugin: Built-in SDBM
+ SSL library path: /usr/local/openssl/current
+ SSL library version: OpenSSL 0.9.6h 5 Dec 2002
+ SSL library type: installed package (stand-alone)
o php4_module uses ConfigStart/End
+ enabling Extended API (EAPI)
+ using builtin Expat
+ checking sizeof various data types
+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.
======== Error Output for sanity check ========
cd ..; gcc -DLINUX=22 -DMOD_SSL=208112 -DEAPI -DUSE_EXPAT
-I./lib/expat-lite -DNO_DL_NEEDED `./apaci`
-L/usr/local/openssl/current/lib -o helpers/dummy helpers/dummy.c
-Wl,-rpath,/usr/local/mysql/current/lib/mysql
-Wl,-rpath,/usr/local/lib/lib -Wl,-rpath,/usr/lib/lib
-Wl,-rpath,/usr/local/lib -rdynamic
-L/usr/local/mysql/current/lib/mysql -L/usr/local/lib/lib -L/usr/lib/lib
-L/usr/local/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4
-lmodphp4 -export-symbols /usr/src/tars/php-4.3.0/sapi/apache/php.sym
-rdynamic -L/usr/local/mysql/current/lib/mysql -L/usr/local/lib/lib
-L/usr/lib/lib -L/usr/local/lib -lpdf -lz -ltiff -lpng -ljpeg
-lmysqlclient -lz -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -lm -lcrypt
-lssl -lcrypto
/usr/bin/ld:/usr/src/tars/php-4.3.0/sapi/apache/php.sym: file format not
recognized; treating as linker script
/usr/bin/ld:/usr/src/tars/php-4.3.0/sapi/apache/php.sym:2: parse error
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
============= End of Error Report =============
***************************************************************************
Hope somebody can help me....
--- End Message ---
--- Begin Message ---
hi
can u share ur code with us ????
toby
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
--- End Message ---
--- Begin Message ---
When I loaded the page on the localhost, I actually got an error. It was the
force_redirect that was not set right. But, in my PHP.ini it was. So I did a
little looking, and somehow another php.ini in a different location on my
machine was messing up my c:\winnt\php.ini. So I deleted the other one
and zip-bang it worked.
>>> "toby -" <[EMAIL PROTECTED]> 01/03/03 08:02AM >>>
hi
can u share ur code with us ????
toby
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
--- End Message ---
--- Begin Message ---
Hello - I'm trying to install PHP 4.3 as a module along with Apache 2 on win2k sp3.
Apache is working fine. I'm using the latest snapshot of PHP available (
php4-win32-STABLE-200301030930.zip ) and the php.ini-dist file for my php.ini file,
which I have copied over to C:\WINNT\
When I load my basic script as index.php:
<?php phpinfo();?>
I get a blank screen, and I can view the source of what I wrote. The install.txt file
that came with the snapshot says that the problem is probably that "the web server did
not send the script to php for interpretation. Something is wrong with the server
configuration - double check the server configuration against the php installation
instructions." I did this, multiple times. I have set up the LoadModule and AddType
lines as specified, and I put all the files where it said to put them and
triple-checked to make sure I used forward slashes. Could the problem be that I have
installed Apache to H:\Program Files\Apache Group\Apache2\ and PHP to C:\PHP\ and that
maybe one of the two programs doesn't want to look at the right place? I appreciate
any help you could provide.
Seth Dix
n00b
--- End Message ---
--- Begin Message ---
Hello - I'm trying to install PHP 4.3 as a module along with Apache 2 on win2k sp3.
Apache is working fine. I'm using the latest snapshot of PHP available (
php4-win32-STABLE-200301030930.zip ) and the php.ini-dist file for my php.ini file,
which I have copied over to C:\WINNT\
When I load my basic script as index.php:
<?php phpinfo();?>
I get a blank screen, and I can view the source of what I wrote. The install.txt file
that came with the snapshot says that the problem is probably that "the web server did
not send the script to php for interpretation. Something is wrong with the server
configuration - double check the server configuration against the php installation
instructions." I did this, multiple times. I have set up the LoadModule and AddType
lines as specified, and I put all the files where it said to put them and
triple-checked to make sure I used forward slashes. Could the problem be that I have
installed Apache to H:\Program Files\Apache Group\Apache2\ and PHP to C:\PHP\ and that
maybe one of the two programs doesn't want to look at the right place? I appreciate
any help you could provide.
Seth Dix
n00b
--- End Message ---
--- Begin Message ---
Matt - Thankyou for the suggestions. Security isn't a _big_ issue for me, since I
really only wanted to install Apache so that I could install PHP on top of it and
basically mirror my website on my own computer. Since it's behind a very 'strict'
school, I am not extremely concerned about security, because, as I will tell...
Tony - Thanks for the suggestion. I movied php.ini back and forth from c:\winnt to
c:\winnt\system32 to the Apache install directory and all of its subdirectories to the
PHP directory and all of its subdirectories, but it didn't work. And the reason I
don't really care about security is that I mostly prefer RedHat 8.0, but I just have
been too lazy to reinstall it since I had to reformat and reinstall Windows (which I
always do first, since it overwrites the boot loader).
Your comments have been very much appreciated and now I see the light - I'll install
the same Apache version and PHP version that my host uses, and since I believe they
run a *nix server, I will install it to RedHat. Thanks again, guys!
Seth
--- End Message ---
--- Begin Message ---
Hi,
The ./configure script completed successfully but during the make following
error message occurs:
/usr/bin/ld: cannot find -ldb2
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1
This behavior is interesting since I had no troubles at all with version 4.2.3.
I used the same ./configure statement with 4.3.0 as with 4.2.3.
I hope that somebody has already solved this kind of problem and is able to
help me.
Regards,
Helmut
P.S.: Here is the configure statement, if needed:
./configure --prefix=/usr/local/php --with-config-file-path=/etc
--with-apxs2=/usr/local/apache/bin/apxs --with-mysql
--with-ibm-db2=/opt/IBM/db2/V8.1 --with-xml --enable-cli
--enable-force-cgi-redirect --disable-debug --enable-pic
--enable-inline-optimization --with-curl --with-ncurses --with-iconv
--with-regex=system --enable-bcmath --enable-exif --enable-ftp
--enable-magic-quotes --enable-sockets --enable-sysvsem --enable-sysvshm
--enable-track-vars --enable-trans-sid --enable-wddx --without-oci8
--enable-ucd-snmp-hack --enable-memory-limit --enable-shmop --enable-versioning
--enable-calendar --enable-dbx --enable-dio --enable-mcal --with-gettext
--with-dom --with-zlib --with-zlib-dir=/usr/lib --with-imap
--with-openssl=/usr/local/ssl
--- End Message ---
--- Begin Message ---
I am generating static HTML pages from a PHP script that forms the
content based on a database query. One problem is that old page gets
cached.
For instance, if I write, http://localhost/index.php, from a PHP script
called http://localhost/generateindex.php, when I call the URL
http://localhost, I get the old content. When I call the URL explicitly
http://localhost/index.php, I get the updated information.
I think this has something to do with the way that Apache is serving up
the cached pages but not sure where to start looking. Is there a module
directive that I should look into. I have not tried this on my
production server which is running FreeBSD with Apache. I am seeing
this on my testing site which is running Apache on top of Win XP Pro.
Any ideas?
Thanks,
Jeff
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jeff Wallman
Tibetan Buddhist Resource Center
at the Rubin Cultural Trust
115 5th Ave, 7th Floor
New York, NY 10003
212-780-2280 | 212-780-2005 (direct)
[EMAIL PROTECTED] | http://www.tbrc.org
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- End Message ---
--- Begin Message ---
I have a system that is currently running Redhat 7.3, and has the
default Apache 1.3.x and PHP 4.1.x RPM's installed. We also have suexec
enabled for CGI's. I would like to create a suexec PHP-CGI for a single
VHOST. I compiled a standalone CGI PHP system with the following
configure line:
'./configure' '--enable-force-cgi-redirect=yes'
'--enable-memory-limit=yes' '--enable-safe-mode=no'
'--enable-sysvsem=yes' '--enable-sysvshm=yes' '--with-gd'
'--with-jpeg-dir=/usr/local' '--with-zlib' '--enable-wddx'
'--enable-calendar' '--enable-ftp' '--with-db'
'--enable-gdbm=/usr/local/lib' '--with-mysql'
'--with-config-file-path=/etc/'
'--with-include-path=/home/USER/php/include/'
I coped the resulting php executable (from sapi/cgi/php) to my cgi-bin
directory (/home/sites/myconid.com/cgi-bin), and made the following
.htaccess in my webroot (/home/sites/myconid.com/html):
Addtype application/x-cgiphp .phpcgi
Action application/x-cgiphp /cgi-bin/php
I then made a php.phpcgi file that has the following:
<?
echo "<BR>\n";
echo passthru("/usr/bin/whoami");
echo "<BR>\n";
phpinfo(); ?>
The resulting HTML is:
Content-type: text/html
X-Powered-By: PHP/4.3.0
<br>myconid
<br><br><br><br><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html><head>
<style type="text/css"><!--
body {background-color: #ffffff; color: #000000;}
If I telnet to the server and request the file I get:
[sbrinker@host243 php-4.3.0]$ telnet www.myconid.com 80
Trying...
Connected to host.
Escape character is '^]'.
GET /php.phpcgi HTTP/1.1
Host: www.myconid.com
HTTP/1.1 0
Date: Fri, 03 Jan 2003 17:33:43 GMT
Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.8.12
OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26
Transfer-Encoding: chunked
Content-Type: text/html
e
Content-type:
9
text/html
2
17
X-Powered-By: PHP/4.3.0
2
2
4
<br>
Im not sure where thoes extra bits are comming from (e,9,2 etc), however
they do not show up in my browser. The second Content-type and on do
show up howerver. Is there something I can do to avoid this second
Content-type?
Thanks
--- End Message ---
--- Begin Message ---
To uninstall php on RedHat Linux, type, as root: rpm -e php
See my FAQ for building PHP with Apache 2:
http://dan.drydog.com/apache2php.html
Reinstall it in the same location as the php rpm, /usr/lib/httpd/modules/libphp4.so
M A <[EMAIL PROTECTED]> wrote:
> well, i downloaded PHP 4.2 and i am using redhat 8.0.
> my question is how could i remove "uninstall" the php that came with the
> redhat? and when i install php again where should i install it to "path"?
--
Dan Anderson <[EMAIL PROTECTED]>, San Diego, CA, US
--- End Message ---
--- Begin Message ---
To whom it may concern,
Hello, my name is Rika Yamada. I have a problem installing php 4.3.0 on my
Mac OS 10.2.
As far as I can see from debug.log, it seems like the conftest cannot find
libpq.3.0.dylib. However, libpg.3.0.dylib is located at
/usr/local/pgsql/lib/. Attached file is the debug.log that I gained from
./configure. I also got the following message at the end of ./configure, and
it does not let me pass the make install - saying that cannot find
libpq.3.0.dylib.
+--------------------------------------------------------------------+
| *** 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. |
+--------------------------------------------------------------------+
I will be really appreciated if you could let me know the way to go through
this problem.
Thank you very much in advance.
---------------------------------------
Rika Yamada
Service Development Specialist
IIJ America Inc.
1211 Avenue of the Americas, Suite 2900
New York, NY 10036
212.440.8080
---------------------------------------
--- End Message ---
--- Begin Message ---
Hi,
I'm running PHP on an XP system (with IIS) and am having a bit of a
problem with some of the extensions...the php_yaz.dll to be exact. I've
set extension_dir = c:\php\extensions where all of the extensions are
located. When I uncomment the extension=php_yaz.dll line, I get a
warning box that pops up and states "Unknown(): Unable to load dynamic
library 'c:\php\extensions\php_yaz.dll' - The specified procedure could
not be found." However, the file is in fact there.
I tried placing this file in the Windows and Windows\system32 folders
after looking at some posts, but to no avail. I noticed that php_gd.dll
worked, so I went through and tested every extension to see which ones
worked to a grand total of 25 of the 46. I uninstalled and reinstalled
using both the manual method and the installer, but with the same
result. Does anyone have any suggestions?
These were the extensions that didn't work:
php_curl.dll
php_domxml.dll
php_flosql.dll
php_gd2.dll
php_gettext.dll
php_iconv.dll
php_ifx.dll
php_iisfunc.dll
php_interbase.dll
php_ldap.dll
php_mcrypt.dll
php_mhash.dll
php_msql.dll
php_oli8.dll
php_openssl.dll
php_oracle.dll
php_snmp.dll
php_sybase_ct.dll
php_xmlrpc.dll
php_xslt.dll
php_yaz.dll
**************************************
Wayne Graham
Systems Office
Earl Gregg Swem Library
College of William and Mary
PO Box 8794
Williamsburg, VA 23187-8794
757.221.3112
--- End Message ---
--- Begin Message ---
hallo wayne,
I am having that exact same problem right now, except none of my extensions
work at all! And I know they are in the right directory, which php.ini
points to...
I am running PHP on a win2K server under the IIS.
kimblim | www.kimblim.dk
----- Original Message -----
From: "Wayne Graham" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 03, 2003 10:39 PM
Subject: [PHP-INST] Yaz Extension
> Hi,
>
> I'm running PHP on an XP system (with IIS) and am having a bit of a
> problem with some of the extensions...the php_yaz.dll to be exact. I've
> set extension_dir = c:\php\extensions where all of the extensions are
> located. When I uncomment the extension=php_yaz.dll line, I get a
> warning box that pops up and states "Unknown(): Unable to load dynamic
> library 'c:\php\extensions\php_yaz.dll' - The specified procedure could
> not be found." However, the file is in fact there.
>
> I tried placing this file in the Windows and Windows\system32 folders
> after looking at some posts, but to no avail. I noticed that php_gd.dll
> worked, so I went through and tested every extension to see which ones
> worked to a grand total of 25 of the 46. I uninstalled and reinstalled
> using both the manual method and the installer, but with the same
> result. Does anyone have any suggestions?
>
>
> These were the extensions that didn't work:
>
> php_curl.dll
> php_domxml.dll
> php_flosql.dll
> php_gd2.dll
> php_gettext.dll
> php_iconv.dll
> php_ifx.dll
> php_iisfunc.dll
> php_interbase.dll
> php_ldap.dll
> php_mcrypt.dll
> php_mhash.dll
> php_msql.dll
> php_oli8.dll
> php_openssl.dll
> php_oracle.dll
> php_snmp.dll
> php_sybase_ct.dll
> php_xmlrpc.dll
> php_xslt.dll
> php_yaz.dll
>
> **************************************
> Wayne Graham
> Systems Office
> Earl Gregg Swem Library
> College of William and Mary
> PO Box 8794
> Williamsburg, VA 23187-8794
> 757.221.3112
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
> Thank you for your prompt reply. Now I'm getting other messages.
>
> http://localhost/phptest.php gave the following error:
>
> "Security Alert! The PHP CGI cannot be accessed directly.
> This PHP CGI binary was compiled with force-cgi-redirect enabled. This
means
> that a page will only be served up if the REDIRECT_STATUS CGI variable is
> set, e.g. via an Apache Action directive.
>
> For more information as to why this behaviour exists, see the manual page
> for CGI security.
>
> For more information about changing this behaviour or re-enabling this
> webserver, consult the installation file that came with this distribution,
> or visit the manual page."
>
> When pressed 'refresh'. got the following message:
>
> "CGI Error
> The specified CGI application misbehaved by not returning a complete set
of
> HTTP headers. The headers it did return are:"
>
> My "php.ini" file is attached for your quick review. Thanks.
>
> ----- Original Message -----
> From: "Jaap Prins" <[EMAIL PROTECTED]>
> To: "'Javed@TechnoCanada'" <[EMAIL PROTECTED]>
> Sent: Thursday, January 02, 2003 11:53 PM
> Subject: RE: [PHP-INST] Http error 403
>
>
> > Edit the advanced properties in the PWS and set to 'execute'.
> > Jaap
> >
> >
> > -----Original Message-----
> > From: Javed@TechnoCanada [mailto:[EMAIL PROTECTED]]
> > Sent: 03 January 2003 07:00
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-INST] Http error 403
> >
> >
> > Trying to use PHP4.0 with PWS4 on Win98.
> > CGI works fine from dos prompt, e.g., c:\php>php phptest.php , and get
> > expected output.
> > But, when tried with IE Browser 5, a blank screen appears. View souce
> option
> > reveals the original file.
> >
> > Following is the error message I'm getting:
> >
> > HTTP Error 403
> > 403.1 Forbidden: Execute Access Forbidden
> >
> > This error can be caused if you try to execute a CGI, ISAPI, or other
> > executable program from a directory that does not allow programs to be
> > executed.
> >
> > Please contact the Web server's administrator if the problem persists.
> >
> > A php file called "phptest.php" is located under "c:\inetpub\webpub"
> folder.
> >
> > What am I doing wrong? Please advise, thank you.
> >
> > Javed Ahmad
> > TechnoCanada Enterprises
> > 604-780-6617
> > http://www.technocanada.ca
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
--- End Message ---