php-install Digest 31 Oct 2002 06:19:40 -0000 Issue 1096
Topics (messages 8975 through 8981):
change of php.ini doesn't work
8975 by: Liu, Zhilin (UMC-Student)
8976 by: Jim Thome
php + gd + gettext Install
8977 by: Jorge Alberto Reteguín Pimentel
Re: [php 4.2.3] trouble in setting up debugger
8978 by: Yasuo Ohgaki
Re: PHP 4.2.* & GD 2.0.4
8979 by: Yasuo Ohgaki
Re: mail()
8980 by: Yasuo Ohgaki
Re: Lost connection to MySQL server during query
8981 by: Lukasz Karapuda
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,
I have installed php4.2.3 with the following commands on a Redhat Linux 8.0:
./configure --with-apxs2=/usr/sbin/apxs --with-mysql --prefix=/usr/local/php
make
make install
After that, I have tried to change the php.ini which is under /usr/local/lib. But when
I restart the computer, the changes don't work. When I looked into the php
information, I found the Configuration File (php.ini) path is /usr/local/php/lib. But
there is no such a file there. So what's wrong?
Thanks for help.
PS1: The system originally has no apxs. I get a httpd-devel rpm and installed it.
PS2: Part of the information shown with php test:
PHP Version 4.2.3
System Linux (content deleted) 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686
i386 GNU/Linux
Build Date Oct 30 2002 11:54:08
Configure Command './configure' '--with-apxs2=/usr/sbin/apxs' '--with-mysql'
'--prefix=/usr/local/php'
Server API Apache 2.0 Filter
Virtual Directory Support enabled
Configuration File (php.ini) Path /usr/local/php/lib
Debug Build no
Thread Safety enabled
Zend logo <http://www.zend.com/> This program makes use of the Zend Scripting
Language Engine:
Zend Engine v1.2.0, Copyright (c) 1998-2002 Zend Technologies
--- End Message ---
--- Begin Message ---
The default location is /usr/local/lib. Copy either php.ini-recommended or
php.ini-dist to /usr/local/php/lib from your source distribution and rename to php.ini
>>> "Liu, Zhilin (UMC-Student)" <[EMAIL PROTECTED]> 10/30/02 02:21PM >>>
Hi,
I have installed php4.2.3 with the following commands on a Redhat Linux 8.0:
./configure --with-apxs2=/usr/sbin/apxs --with-mysql --prefix=/usr/local/php
make
make install
After that, I have tried to change the php.ini which is under /usr/local/lib. But when
I restart the computer, the changes don't work. When I looked into the php
information, I found the Configuration File (php.ini) path is /usr/local/php/lib. But
there is no such a file there. So what's wrong?
Thanks for help.
PS1: The system originally has no apxs. I get a httpd-devel rpm and installed it.
PS2: Part of the information shown with php test:
PHP Version 4.2.3
System Linux (content deleted) 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686
i386 GNU/Linux
Build Date Oct 30 2002 11:54:08
Configure Command './configure' '--with-apxs2=/usr/sbin/apxs' '--with-mysql'
'--prefix=/usr/local/php'
Server API Apache 2.0 Filter
Virtual Directory Support enabled
Configuration File (php.ini) Path /usr/local/php/lib
Debug Build no
Thread Safety enabled
Zend logo <http://www.zend.com/> This program makes use of the Zend Scripting
Language Engine:
Zend Engine v1.2.0, Copyright (c) 1998-2002 Zend Technologies
--- End Message ---
--- Begin Message ---
Hello everybody:
I have the same problem about gettext.
I uninstalled gd rpms and instaled gd 2.0.4 from tar.gz
The trouble with gd got solved doing what John Coder did.
I compiled libgd.a ( make libgd.a )
and copied libgd.a and libgd.so to ext/gd php install directory.
The trouble is with gettext:
checking for GNU gettext support... yes
checking for bindtextdomain in -lintl... no
checking for bindtextdomain in -lc... no
configure: error: Unable to find required gettext library
I'm working with RedHat Linux 8.0
apacheVersion='1.3.27'
phpVersion='4.2.3'
gdVersion='2.0.4';
../configure --with-mysql=/usr/ --with-pgsql
--with-apache=../../Apache/apache_1.3.27--enable-track-vars --with-fdftk
--enable-calendar
--with-swf=/usr/local/dist --with-mcrypt
--with-zlib-dir=/usr/include --with-pdflib --with-jpeg-dir
--with-tiff-dir --with-t1lib --with-png-dir
--enable-trans-sid --with-gd --enable-exif
--with-gettext
I have already tried:
--with-gettext=/usr/local,
--with-gettext=/usr/share/gettext,
Does anybody have any clue ?
Without the option --with-gettext everything works fine.
Thanks all!
--
Jorge Alberto Reteguín Pimentel
--- End Message ---
--- Begin Message ---
It simply does not work with PHP4.
(Not supported)
--
Yasuo Ohgaki
Dennis Leist wrote:
I have troubles in setting up the debugger. My php.ini goes like this:
debugger.host = 192.168.1.99
debugger.port = 7869
debugger.enabled = True
But when checking these values via phpinfo() I never see entries
concerning the debugger, except from 'Debug Build: yes'.
What is missing?
ccD
--- End Message ---
--- Begin Message ---
Don't expect newer libs works well....
If you really need GD2.0.4, try CVS versoin.
--
Yasuo Ohgaki
Eg Ortego wrote:
Iv'e been trying to compile php with gd,
I had been running PHP 4.2.1 and first tryed to use that version when I was unsucessful I figured the next PHP version might be sucessful, well I I have gd installed and working but get identical make errors in PHP-4.2.1 and PHP-4.2.3...
gcc -I. -I/usr/local/src/php-4.2.3/ext/gd -I/usr/local/src/php-4.2.3/main -I/usr
/local/src/php-4.2.3 -I/usr/local/src/apache_1.3.23//src/include -I/usr/local/sr
c/apache_1.3.23//src/os/unix -I/usr/local/src/php-4.2.3/Zend -I/usr/local/includ
e/freetype2/freetype -I/usr/local//include -I/usr/local/mysql/include/mysql -I/u
sr/local/src/php-4.2.3/ext/xml/expat -I/usr/local/src/php-4.2.3/TSRM -g -O2 -c
gd.c && touch gd.lo
In file included from gd.c:83:
gd_ctx.c: In function `_php_image_output_ctx':
gd_ctx.c:70: structure has no member named `free'
gd_ctx.c:98: structure has no member named `free'
gd.c: In function `_php_image_type':
gd.c:1014: structure has no member named `free'
gd.c:1017: structure has no member named `free'
gd.c: In function `_php_image_create_from':
gd.c:1209: structure has no member named `free'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.2.3/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.2.3/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.3/ext'
make: *** [all-recursive] Error 1
Any help would be apreciated.
HELP!
Cheers,
Eric.
--- End Message ---
--- Begin Message ---
I guess you are using older PHP.
(BYou have to rebuild PHP with sendmail compatible command
(Binstalled or get newer PHP (which is better)
(B
(B--
(BYasuo Ohgaki
(B
(BTony Simopoulos wrote:
(B> folks,
(B>
(B> ./configure did not specify any fancy directives for installing mail()
(B> support. in fact configure went out and my sendmail program all on its own.
(B> however, when invoking the function i get the following error:
(B>
(B> Warning: mail() is not supported in this PHP build in problems.inc on line
(B> 80
(B>
(B> the mail section of the php.ini file are the default. furthermore a quick
(B> test of sendmail [EMAIL PROTECTED] worked as expected.
(B>
(B> any ideas??
(B>
(B> tonys.
(B>
(B>
--- End Message ---
--- Begin Message ---
Hello John.
I am working with a clean install of Redhat 7.3 / php.4.2.2 / MySQL 3.23.49.
Everything is installed correctly and verified.
However while trying to connect to the MySQL server from outsite of
localhost I get the error:
Lost connection to MySQL server during query.
After I tried to upgrade to MySQL 3.23.52, which is not an official RedHat
7.3 package everything seemed to be working correctly.
If you find any solution to your problem I would appreciate you getting back
to me.
Thanks in advance,
Lukasz Karapuda
[EMAIL PROTECTED]
"John Thorne" <[EMAIL PROTECTED]> wrote in message
news:20021009181725.56455.qmail@;pb1.pair.com...
> Working with new clean install of Redhat 8.0 and
> Apache 2.0.40 / php 4.2.2 / mySQL 3.23.52
>
> I have a phpinfo page and mySQL is setup
>
> When ever I try to attach to mySQL
> thru php (DreamweaverMX/phpmysqladmin)
> I get the following error:
>
> Lost connection to MySQL server during query
>
> Is there an article on setting up these new versions of
> Apache/mySQL/PHP someone could point me to
>
> I must be missing something in one of the conf files
>
> thanks
>
> jrt
>
>
--- End Message ---