php-install Digest 8 Aug 2001 09:59:26 -0000 Issue 402
Topics (messages 3888 through 3898):
Re: php.ini is not there after installation !!????
3888 by: Siamak Amirghodsi
3889 by: B. van Ouwerkerk
cvs make problem ?
3890 by: David Chang
Apache 1.3.12 /windows 2k/ PHP
3891 by: John Calhoun
3895 by: Phil Driscoll
Re: storage size of 'buf' isn't known - Slackware
3892 by: David Schanen
Call to undefined function: debugger_on()
3893 by: Patrice Garbe
3898 by: Thies C. Arntzen
installation on windows
3894 by: legal.HEROCYCLES.COM
LINUX-Curi.s behav. of php4 with gd
3896 by: Oliver Heinisch
Installation problem
3897 by: Arkoudeas Dimosthenis \( Arkonet \)
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]
----------------------------------------------------------------------
Hello,
Thanks for the Info. It is greately appreciated.
What happens to the options that I have choosen [ e.g --withoracle ]
during configure session?
Do I have to find them and make sure the new php.ini does not change them
?
The section about extensions is the part that is confusing me.
Thanks
"Jeff Wiegley, Ph.D." wrote:
> You do have to install one yourself as far as I know.
> Pick one of:
>
> ./php-4.0.6/php.ini-dist
> ./php-4.0.6/php.ini-optimized
>
> and copy it to php.ini wherever you need it to be.
>
> - Jeff
>
> Siamak Amirghodsi wrote:
> > Hello,
> >
> > When I Install PHP with apache, it does not install the php.ini !!!!
> > The path is defined as /usr/local/apache, but nothing is there after
> > make install.
> > Every thing else is OK.
> >
> > Do I have to copy the php.ini from somewhere ?
> >
> > Thanks,
> > Sam
> >
> >
> >
>When I Install PHP with apache, it does not install the php.ini !!!!
>The path is defined as /usr/local/apache, but nothing is there after
>make install.
>Every thing else is OK.
>
>Do I have to copy the php.ini from somewhere ?
Yeah..
In the directory where your sourcefiles are found you should find a file
called php.ini-dist
find -name php.ini-dist
should give you the exact location.
Bye,
B.
i all:
I got errors while run "make" command at php4-cvs source directory:
OS Linux RedHat 6.0 Kernel 2.2.5.15
cd /tmp/php4
/buildconf
/configure
/make
make[3]: Entering directory `/tmp/php4/ext/standard'
gcc -I. -I/tmp/php4/ext/standard -I/tmp/php4/main -I/tmp/php4
-I/tmp/apache_1.3.20/src/include -I/tmp/apache_1.3.20/src/os/unix
-I/tmp/php4/Zend -I/usr/local/BerkeleyDB.3.2/include
-I/usr/local/include -I/tmp/imap-2001.BETA.SNAP-0107112053/
c-client -I/home/informix/incl/esql -I/tmp/libmcal
-I/usr/local/include/mysql -I
/tmp/php4/ext/xml/expat -I/tmp/php4/TSRM -g -O2 -c html.c && touch
html.lo
html.c: In function `determine_charset':
html.c:232: `CODESET' undeclared (first use in this function)
html.c:232: (Each undeclared identifier is reported only once
html.c:232: for each function it appears in.)
make[3]: *** [html.lo] Error 1
make[3]: Leaving directory `/tmp/php4/ext/standard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/php4/ext/standard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/php4/ext'
make: *** [all-recursive] Error 1
I downloaeded and installed the smaller (1.4MB) version of PHP cause the
bigger one has no clear install method. So how do I configure the apache
1.3.12 and PHP under windows 2k to get it to work?
On Wednesday 08 August 2001 03:21, John Calhoun wrote:
> I downloaeded and installed the smaller (1.4MB) version of PHP cause the
> bigger one has no clear install method. So how do I configure the apache
> 1.3.12 and PHP under windows 2k to get it to work?
Read install.txt, then do what it says.
--
Phil Driscoll
Anybody have any idea what the problem is here?
David Schanen wrote:
> This is an older version of Slackware:
> Linux www 2.0.33 #1 Tue Apr 7 20:12:12 PDT 1998 i586 unknown
>
> Anyone have an idea what I can do to fix this?
>
> /bin/sh /usr/local/src/php-4.0.6/libtool --silent --mode=compile gcc
> -I. -I/usr/local/src/php-4.0.6/ext/standard
> -I/usr/local/src/php-4.0.6/main -I/usr/local/src/php-4.0.6
> -I/usr/local/apache/include -I/usr/local/src/php-4.0.6/Zend
> -I/usr/local/src/php-4.0.6/ext/mysql/libmysql
> -I/usr/local/src/php-4.0.6/ext/xml/expat/xmltok
> -I/usr/local/src/php-4.0.6/ext/xml/expat/xmlparse
> -I/usr/local/src/php-4.0.6/TSRM -DLINUX=20 -DUSE_HSREGEX -DUSE_EXPAT
> -DNO_DL_NEEDED -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c filestat.c
> filestat.c: In function `php_if_diskfreespace':
> filestat.c:157: storage size of `buf' isn't known
> make[3]: *** [filestat.lo] Error 1
> make[3]: Leaving directory `/usr/local/src/php-4.0.6/ext/standard'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/src/php-4.0.6/ext/standard'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/php-4.0.6/ext'
> make: *** [all-recursive] Error 1
Hello !
I compiled PHP 4.0.6 with the --enable-debug option but the
function debugger_on() is not defined !
Is there another option to set ?
>From phpinfo() :
- Configure command :
./configure [...] '--enable-debug'
- ZEND_DEBUG : enabled
I set these in php.ini :
debugger.port = 1400
debugger.enabled = true
But they don't appear in phpinfo(). Is it normal ?
Thank you
Patrice
On Wed, Aug 08, 2001 at 09:58:59AM +0000, Patrice Garbe wrote:
> Hello !
>
> I compiled PHP 4.0.6 with the --enable-debug option but the
> function debugger_on() is not defined !
> Is there another option to set ?
this function has be deprecated in 4.0 - but there are some
debuggers out there that allow php-debugging:
www.zend.com (commercial)
www.activestate.com (commercial)
dd.cron.ru (opensource)
tc
Dear Friends,
I am new to PHP (but familiar with ASP,JSP) and would like to have some
guidance notes from you.
I am using windows 98 OS on my PC with PWS installed on it.
I want to install PHP that runs on windows using PWS.
For this I have done the following:
1. Downloaded php for windows from www.php.net , its is of about 738
bytes.
2. I extracted the same in c:\php folder.
3. shifted the php.ini in c:\windows folder.
My queries are:
1. In which folder I have to place my php files? whether in c:
\inetpub\wwwroot folder where other asp files I put.
Because, when I put test.php file in c:\inetpub\wwwroot folder and
called by using http://localhost/test.php , It showed a blank white
sheet that is without interpreting php.
2. Whether I have omitted any step for installation?
Pl. clarify.
Ajay K. Ratra
Ludhiana (INDIA)
[EMAIL PROTECTED]
Hi folks,
I made a brand new server with apache 1.3.20 , php4 4.0.6 and all graphics
stuff.
T1-1.1.1, jpegsrc.v6b, freetype 2.0.4, libpng-1.0.11, zlib-1.1.3 so far so
good.
everything worked fine while compiling the whole bunch and no errormessages
appeared.
But when I tried ImagePNG(), php tells me that no png support is avaliable.
FYI I show you the actual output of phpinfo()
machine Linux 2.2.5 #6 SMP Fri Mar 31 12:16:11 MEST 2000 i686
'./configure' '--prefix=/usr' '--with-config-file-path=/etc'
'--disable-debug'
'--enable-pic' '--enable-shared' '--enable-inline-optimization'
'--with-apache=/sdc/download/apache_1.3.20/' '--with-exec-dir=/usr/bin'
'--with-regex=system' '--with-gettext' '--with-gd' '--with-jpeg-dir=/usr'
'--with-png' '--with-zlib' '--enable-debugger' '--enable-magic-quotes'
'--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm'
'--enable-track-vars' '--enable-yp' '--enable-ftp' '--enable-wddx'
'--with-mysql'
'--with-oracle' '--with-oci8' '--with-xml'
'--with-freetype-dir=/usr/local/lib'
'--with-t1lib'
I juggled around with several configurations, but I cannot find the problem.
Any suggestions?
Mit freundlichem Gruss
Oliver Heinisch * ITProtect GmbH
- Software Solutions -
In den Weiden 18 * 58285 Gevelsberg
Tel 0 23 32 / 75 96 -00 * Fax 0 23 32 / 75 96-11
E-Mail: [EMAIL PROTECTED] * Web:
<http://www.itprotect.de/>www.itprotect.de
Im trying to compile PHP 4.0.6 to a Slackware linux machine with support for mssql
(via freetds) and sapdb
I send you the debug.log
CONFIGURE: './configure' '--with-apxs=/usr/sbin/apxs' '--with-ftp'
'--enable-versioning' '--enable-tracking-vars=yes' '--enable-url-includes'
'--enable-sysvshm=yes' '--enable-sysvsem=yes' '--with-config-file-path=/etc'
'--without-mysql' '--with-sapdb=/opt/sapdb/interface/odbc'
'--with-mssql=/usr/local/freetds' '--with-sybase=/usr/local/freetds'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -DLINUX=22 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -DSUPPORT_UTF8
CXX:
CXXFLAGS:
INCLUDES: -I/usr/include/apache -I$(top_builddir)/Zend
-I/opt/sapdb/interface/odbc/incl
LDFLAGS: -Wl,-rpath,/opt/sapdb/interface/odbc/lib -L/opt/sapdb/interface/odbc/lib
LIBS: -lsqlrte -lsqlod -lcrypt -lresolv -lm -ldl -lnsl -lresolv
DLIBS:
SAPI: apache
PHP_RPATHS: /opt/sapdb/interface/odbc/lib
uname -a: Linux web 2.4.5 #6 Fri Jun 22 01:38:20 PDT 2001 i686 unknown
gcc -o conftest -g -O2 -DLINUX=22 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -DSUPPORT_UTF8
-Wl,-rpath,/opt/sapdb/interface/odbc/lib -L/opt/sapdb/interface/odbc/lib conftest.c
-lsqlrte -lsqlod -lcrypt -lresolv -lm -ldl -lnsl -lresolv 1>&5
/usr/i386-slackware-linux/bin/ld: cannot find -lsqlrte
collect2: ld returned 1 exit status
Any help is acceptable
Thanks in advance
Arkoudeas Dimosthenis