php-install Digest 27 Feb 2003 14:07:04 -0000 Issue 1267
Topics (messages 10209 through 10216):
PHP 4.3.1 & pth.20
10209 by: CyberTiVo
10210 by: CyberTiVo
Is PHP Reinstall required?
10211 by: Patrick LOK
Re: [PHP] Is PHP Reinstall required?
10212 by: Rasmus Lerdorf
10213 by: Patrick LOK
server error 500, any idea what dis?
10214 by: Rubylinda Otero
imagecopyresized converts image to black and white
10215 by: Mark Clegg
operation not permitted with exec/passthru
10216 by: ati ati
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 ---
I am adding 4.3.1 from the ports collection in FreeBSD 4.7. I get the following
message:
ws1 /usr/ports/www/mod_php4>make install -DWITH_APACHE2
===> Extracting for mod_php4-4.3.1
>> Checksum OK for php-4.3.1.tar.bz2.
===> mod_php4-4.3.1 depends on file: /usr/local/sbin/apxs - found
===> mod_php4-4.3.1 depends on executable: autoconf213 - found
===> mod_php4-4.3.1 depends on shared library: pth.20 - not found
===> Verifying install for pth.20 in /usr/ports/devel/pth
make: don't know how to make install. Stop
*** Error code 2
I downloaded pth2.0.0 and put it in "/usr/ports/devel/pth" with no success. Any ideas?
--- End Message ---
--- Begin Message ---
I am adding 4.3.1 from the ports collection in FreeBSD 4.7. I get the following
message:
ws1 /usr/ports/www/mod_php4>make install -DWITH_APACHE2
===> Extracting for mod_php4-4.3.1
>> Checksum OK for php-4.3.1.tar.bz2.
===> mod_php4-4.3.1 depends on file: /usr/local/sbin/apxs - found
===> mod_php4-4.3.1 depends on executable: autoconf213 - found
===> mod_php4-4.3.1 depends on shared library: pth.20 - not found
===> Verifying install for pth.20 in /usr/ports/devel/pth
make: don't know how to make install. Stop
*** Error code 2
I downloaded pth2.0.0 and put it in "/usr/ports/devel/pth" with no success. Any ideas?
--- End Message ---
--- Begin Message ---
I have to uninstall my Apache 2.0.x that came along with RedHat 8.0 because
the httpd (rpm) in RH8.0 does not have Apache apxs (why dont they include
it).
I need apxs to install lxp... (it seems lxp can only be installed on a
customized Linux platform... USER NOT FRIENDLY :( )
I already have PHP 4.3.1 installed.
I will replace the RH Apache with the latest Apache 2.0.44
Can anyone tell me do I have to remove PHP 4.3.1 before removing Apache? Or
Can I just remove Apache & install 2.0.44? Do I have to re-install PHP
4.3.1 by overwriting previous PHP after Apache 2.0.44 installed?
Thank you very much.
./pl :<
--- End Message ---
--- Begin Message ---
Just install the apache-devel package which is where the apxs tool lives.
-Rasmus
On Thu, 27 Feb 2003, Patrick LOK wrote:
> I have to uninstall my Apache 2.0.x that came along with RedHat 8.0 because
> the httpd (rpm) in RH8.0 does not have Apache apxs (why dont they include
> it).
>
> I need apxs to install lxp... (it seems lxp can only be installed on a
> customized Linux platform... USER NOT FRIENDLY :( )
>
> I already have PHP 4.3.1 installed.
> I will replace the RH Apache with the latest Apache 2.0.44
>
> Can anyone tell me do I have to remove PHP 4.3.1 before removing Apache? Or
> Can I just remove Apache & install 2.0.44? Do I have to re-install PHP
> 4.3.1 by overwriting previous PHP after Apache 2.0.44 installed?
>
> Thank you very much.
> ./pl :<
>
>
>
>
--- End Message ---
--- Begin Message ---
But where is the package?
rgds
./pl
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Just install the apache-devel package which is where the apxs tool lives.
>
> -Rasmus
>
> On Thu, 27 Feb 2003, Patrick LOK wrote:
>
> > I have to uninstall my Apache 2.0.x that came along with RedHat 8.0
because
> > the httpd (rpm) in RH8.0 does not have Apache apxs (why dont they
include
> > it).
> >
> > I need apxs to install lxp... (it seems lxp can only be installed on a
> > customized Linux platform... USER NOT FRIENDLY :( )
> >
> > I already have PHP 4.3.1 installed.
> > I will replace the RH Apache with the latest Apache 2.0.44
> >
> > Can anyone tell me do I have to remove PHP 4.3.1 before removing Apache?
Or
> > Can I just remove Apache & install 2.0.44? Do I have to re-install PHP
> > 4.3.1 by overwriting previous PHP after Apache 2.0.44 installed?
> >
> > Thank you very much.
> > ./pl :<
> >
> >
> >
> >
>
--- End Message ---
--- Begin Message ---
I encounter this error while i'm testing my page with form to email using mail (),
then it says that php.exe is in illegal operation..
[Thu Feb 27 14:55:14 2003] [error] [client 127.0.0.1] Premature end of script headers:
c:/php-4.3.0-win32/php.exe
my environment is
win98
apache 1.3X
php 4.3
---------
Rubylinda F. Otero
Cathay Drug Co., Inc.
--- End Message ---
--- Begin Message ---
I'm using imagecopyresized/resampled under PHP4.2.3 to convert an image
uploaded via a file upload control to 90x90 pixels for storage in a MySQL
database, but am finding when imagecopyresized or imagecopyresampled is used
to scale the image, the result is converted to greyscale.
Sample code....
$photo = $_FILES["photo"];
if($photo["type"]=="image/jpeg")
$image=imagecreatefromjpeg($photo["tmp_name"]);
else if($photo["type"]=="image/pjpeg")
$image=imagecreatefromjpeg($photo["tmp_name"]);
if($image) {
// convert image to 90x90 JPEG
$target=imagecreate(90,90);
imagecopyresized($target,$image,0,0,0,0,90,90,imagesx($image),imagesy($image
));
imagejpeg($target,$photo["tmp_name"]);
$fd=fopen($photo["tmp_name"],"r");
$imagestring=addslashes(fread($fd,filesize($photo["tmp_name"])));
fclose($fd);
imagedestroy($target);
imagedestroy($image);
}
If I remove the resize/resample, then the colours are correct.
The resize code works fine on another system using GD <2.0
PHPinfo....
./configure' '--with-gd' '--enable-gd-native-ttf' '--enable-track-vars'
'--enable-sysvsem' '--enable-sysvshm' '--with-zlib' '--prefix=/opt/php-4.2'
'--with-config-file-path=/usr/local/etc/httpd/conf' '--enable-memory-limit'
'--with-db2=/usr' '--with-db3=/usr' '--with-gdbm=/usr' '--with-ndbm=/usr'
'--with-dbase' '--with-xml' '--with-expat-dir=/usr' '--enable-debugger'
'--enable-ftp' '--enable-sockets' '--with-ttf' '--with-jpeg-dir=/usr'
'--enable-bcmath' '--enable-mbstring' '--enable-mbregex' '--with-openssl'
'--enable-trans-sid' '--with-mysql=/usr' '--with-xpm-dir=/usr/X11R6'
'--with-png' '--with-png-dir=/usr' '--with-imap' '--with-dom=/usr'
'--with-bz2' '--with-curl' '--with-mhash=/usr' '--with-mcrypt=/usr'
'--with-pgsql' '--with-ming' '--with-gmp' '--with-gettext' '--with-iconv'
'--with-kerberos' '--with-pspell' '--enable-xslt' '--with-xslt-sablot'
'--with-freetype-dir=/usr' '--with-apxs=/usr/sbin/apxs'
Apache 1.3.27
GD is reported as 2.0 or higher.
--- End Message ---
--- Begin Message ---
Hello all,
I've installed PHP 4.1.2 to the Apache Web server,
and I wanted to control IO ports. But I always got
"error: Cannot open /dev/port: Operation not permitted "
or
"error: ioperm: Operation not permitted "
I played with the httpd.conf - <Directory /> ... </Directory>
<Directory /var/www..> ...</Directory>
no success. I have root access.
Any help aprecaited.
Thanks
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
--- End Message ---