php-install Digest 28 May 2002 00:58:02 -0000 Issue 856
Topics (messages 7118 through 7127):
problems installing PHP
7118 by: Alberto Tarantino
Re: PHP with apache 1.3
7119 by: Peter Goggin
7120 by: Julie Meloni
7121 by: Peter Goggin
7125 by: Ryugen Fisher
7126 by: Ryugen Fisher
Problems with buildconf and php 4.1.2
7122 by: Markus Boehmer
7123 by: gamin
WinME, PHP 4.2.1 and PWS problem
7124 by: CAElliott
what is bizon ?
7127 by: Erik
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 ---
Sorry for this second post but I realized I had to supply more details..
Hi there,
I'm trying to compile PHP 4.1.2 as an Apahce module on a standard Suse Pro
8.0 distro.
This is my Configure string:
./configure --prefix=/usr/share --datadir=/usr/share/php --bindir=/usr/bin -
-lib
dir=/usr/share --with-config-file-path=/etc/httpd --with-exec-dir=/usr/lib/p
hp/b
in --with-mysql=/usr --with-zlib=yes --with-xml --with-mcrypt --with-mm --en
able
-trans-sid --enable-track-vars --enable-memory-limit --enable-sigchild --wit
h-ap
xs=/usr/sbin/apxs --with-oci8
As you can see I need both Oracle8 and Mysql support and, in my past
experiences everything always worked right.I used this very same string on a
standard SuSE Pro 7.3.
Now.. the config utility script seems to be unable to find the Mysql
client.. I've checked it twice and I'm sure I
have installed it.. since I used it. I have also intalled the dev files for
mySQL
Can you please help me?
Thanks in advance
Alberto Tarantino
Debug.log:
CONFIGURE: './configure' '--prefix=/usr/share' '--datadir=/usr/share/php'
'--bindir=/usr/bin' '--libdir=/usr/share'
'--with-config-file-path=/etc/httpd' '--with-exec-dir=/usr/lib/php/bin'
'--with-mysql=/usr' '--with-zlib=yes' '--with-xml' '--with-mcrypt'
'--with-mm' '--enable-trans-sid' '--enable-track-vars'
'--enable-memory-limit' '--enable-sigchild' '--with-apxs=/usr/sbin/apxs'
'--with-oci8'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -DEAPI_MM -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHARD_SER
VER_LIMIT=2048 -DDYNAMIC_MODULE_LIMIT=128 -DLINUX=22 -DMOD_SSL=208107 -DEAPI
CXX:
CXXFLAGS:
INCLUDES: -I/usr/include/apache -I$(top_builddir)/Zend -I/usr/include/my
sql -I/opt/oracle/product/817/rdbms/public -I/opt/oracle/product/817/rdbms/d
emo
LDFLAGS: -Wl,-rpath,/opt/oracle/product/817/lib -L/opt/oracle/product/81
7/lib
LIBS: -lmm -lm -ldl -lmysqlclient -lz -lmcrypt -lltdl -lz -lcrypt -lre
solv -lm -ldl -lnsl -lresolv -lcrypt -lclntsh
DLIBS:
SAPI: apache
PHP_RPATHS: /opt/oracle/product/817/lib
uname -a: Linux servizi2 2.4.18-64GB-SMP #1 SMP Wed Mar 27 13:58:12 UTC
2002 i686 unknown
gcc -o
conftest -g -O2 -DEAPI_MM -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHARD
_SERVER_LIMIT=2048 -DDYNAMIC_MODULE_LIMIT=128 -DLINUX=22 -DMOD_SSL=208107 -D
EAPI -Wl,-rpath,/opt/oracle/product/817/lib -L/opt/oracle/product/817/lib
conftest.c -lmm -lm -ldl -lmysqlclient -lz -lmcrypt -lltdl -lz -lcrypt -lres
olv -lm -ldl -lnsl -lresolv -lcrypt -lclntsh 1>&5
/usr/i486-suse-linux/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
--- End Message ---
--- Begin Message ---
I still havnt got PHP to work. When I start Apache in a console window it
says:
Apache/1.3.24 (Win32) PHP/4.2.1 running ...
This implies the two are working together, yet php sections of web pages are
not parsed. Where should I start looking for the problem? Has anyone else
had this problem?
Regards
Peter Goggin
----- Original Message -----
From: "Peter Goggin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 25, 2002 8:42 PM
Subject: [PHP-INST] PHP with apache 1.3
> I am trying to install php with apache 1.3
>
> The steps I followed are:
> 1. Unpack the zip file for 4.2.1. This unpacked to directory
> c:\php-4.21-Win32
> 2. Rename directory to c:\php
> 3. Copy php4ts.dll to C:\windows\system
> 4. Copy php4apache.dll to c:\windows\system
> 5. Edit the php.ini file
> � Copy php.ini-recommended to php.ini
> � Make following changes
> � Extension directory: extension_dir = C:\php\extensions
> � Doc_root: doc_root = "C:/usr/www/my-domain"
>
> 6. copied moved to c:\usr\mibs
> 7. Edit the apache.conf file
> � Add loadmodule: LoadModule php4_module c:/php/sapi/php4apache.dll
> � Addmodule: AddModule mod_php4.c - this was placed above AddModule
mod_so.c
> � AddType: AddType application/x-httpd-php .php .phtml .htm
> � Script Alias:
> ScriptAlias /php/ "c:/php/"
> <Directory "c:/php/">
> Allowoverride None
> Options None
> Order Allow,deny
> Allow from all
> </directory>
> 8. Start apache
> 9. Use web browser to open file:
> <html>
> <body>
> <?php
> print "hello world.";
> ?>
> </body>
> </html>
>
> I get a blank screen in the brwser, but can view the script (view source)
> Can anyone please tell me what I missed out or got wrong?
>
> Regards
>
> Peter Goggin
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
PG> I still havnt got PHP to work. When I start Apache in a console window it
PG> says:
PG> Apache/1.3.24 (Win32) PHP/4.2.1 running ...
PG> This implies the two are working together, yet php sections of web pages are
PG> not parsed. Where should I start looking for the problem?
Look for an incorrect file extension (hidden, perhaps) on the files
you think are PHP files.
- Julie
--> Julie Meloni
--> [EMAIL PROTECTED]
--> www.thickbook.com
Find "Sams Teach Yourself MySQL in 24 Hours" at
http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20
--- End Message ---
--- Begin Message ---
I have checked file extensions at dos level and they are correct, e.g.
x.htm. y.php etc
I have used sample php files sent to me and they still do not work,
displaying only the parts of the file that are not tagged at php code. The
php code appears not to be parsed by the php parser, but is skipped over y
the web browser.
Regards
Peter Goggin
----- Original Message -----
From: "Julie Meloni" <[EMAIL PROTECTED]>
To: "Peter Goggin" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, May 28, 2002 12:01 AM
Subject: Re[2]: [PHP-INST] PHP with apache 1.3
> PG> I still havnt got PHP to work. When I start Apache in a console window
it
> PG> says:
> PG> Apache/1.3.24 (Win32) PHP/4.2.1 running ...
>
> PG> This implies the two are working together, yet php sections of web
pages are
> PG> not parsed. Where should I start looking for the problem?
>
> Look for an incorrect file extension (hidden, perhaps) on the files
> you think are PHP files.
>
>
> - Julie
>
> --> Julie Meloni
> --> [EMAIL PROTECTED]
> --> www.thickbook.com
>
> Find "Sams Teach Yourself MySQL in 24 Hours" at
> http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
At 09:35 AM 5/27/2002, Peter Goggin wrote:
>I have checked file extensions at dos level and they are correct, e.g.
>x.htm. y.php etc
>
>I have used sample php files sent to me and they still do not work,
>displaying only the parts of the file that are not tagged at php code. The
>php code appears not to be parsed by the php parser, but is skipped over y
>the web browser.
>
>Regards
>
>Peter Goggin
I am having a similar problem... specifically...
Files with .php3 and .php work perfectly
however .. EMBEDDED php .. that is php embedded into standard .html
(i.e. <?php print("this is a test\n"); ?> )
does NOT work
anyone have any clues or suggestions?
>o unsubscribe, visit: http://www.php.net/unsub.php
Ryugen C. Fisher
Palaver Consulting Group
http://www.palaver.org
*Serving our clients since 1984*
--- End Message ---
--- Begin Message ---
the following files
info.php3
info.php
(both files contain <? phpinfo(); > ) display php3 and php4
information respectively
the file
admin.html
which only contains the line <? print("this is a test\n"); ?>
shows NO errors on screen. but no text either
doing a VIEW SOURCE shows the <? print("this is a test\n"); ?> string
itself rather then parsed and sent as php
At 12:05 AM 5/28/2002, you wrote:
>Hi,
>
>What do mean "Files with .php3 and .php work perfectly". I don't understand
>how they can work perfectly while embeded doesn't.
>Could you tell more about the error-messages?
>
>Mike Lee
>
>----- Original Message -----
>From: "Ryugen Fisher" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Cc: "Julie Meloni" <[EMAIL PROTECTED]>
>Sent: Monday, May 27, 2002 10:13 AM
>Subject: Re: Re[2]: [PHP-INST] PHP with apache 1.3
>
>
> > At 09:35 AM 5/27/2002, Peter Goggin wrote:
> > >I have checked file extensions at dos level and they are correct, e.g.
> > >x.htm. y.php etc
> > >
> > >I have used sample php files sent to me and they still do not work,
> > >displaying only the parts of the file that are not tagged at php code.
>The
> > >php code appears not to be parsed by the php parser, but is skipped over
>y
> > >the web browser.
> > >
> > >Regards
> > >
> > >Peter Goggin
> >
> > I am having a similar problem... specifically...
> >
> > Files with .php3 and .php work perfectly
> >
> > however .. EMBEDDED php .. that is php embedded into standard .html
> > (i.e. <?php print("this is a test\n"); ?> )
> >
> > does NOT work
> >
> > anyone have any clues or suggestions?
> >
> >
> > >o unsubscribe, visit: http://www.php.net/unsub.php
> >
> > Ryugen C. Fisher
> > Palaver Consulting Group
> > http://www.palaver.org
> > *Serving our clients since 1984*
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >
Ryugen C. Fisher
Palaver Consulting Group
http://www.palaver.org
*Serving our clients since 1984*
--- End Message ---
--- Begin Message ---
Hi Guys and gals,
I have a little problem.
I have to build php on a solaris machine with a few extras, so here is
my normal configure command:
./configure --enable-libgcc \
--with-oci8 \
--with-oracle \
--with-pdflib=/usr/local \
--with-apxs=/usr/local/bin/apxs \
--with-zlib-dir=/usr/local/lib \
--with-gd=/usr/local
We use pdflib version 4.0.2 and to use this pdflib version with php we
have to copy some files from the pdflib distribution to the php source
tree.
In fact we replace <phpdir>/ext/pdf/pdf.c and <phpdir>/ext/pdf/config.m4
After this replacement, I have to run buildconf, which results in the
following errors:
<begin-snip>
# ./buildconf
buildconf: checking installation...
buildconf: autoconf version 2.13 (ok)
buildconf: automake version 1.4 (ok)
buildconf: libtool version 1.4.2 (ok)
rebuilding Makefile templates
rebuilding configure
autoconf: Undefined macros:
configure.in:11: AC_MSG_ERROR(--with-shared-apache is not supported.
Please refer to the documentation for using APXS)
configure.in:15: AC_MSG_ERROR(--with-apache and --with-apxs cannot be
used together)
configure.in:219: AC_DEFINE(HAVE_LIBSOCKET,1,[ ]) ], [
configure.in:237: AC_DEFINE(HAVE_LIBNSL,1,[ ]) ],[
configure.in:240: AC_DEFINE(HAVE_LIBNSL,1,[ ]) ], [])
configure.in:266: AC_DEFINE(HAVE_LIBSOCKET,1,[ ]) ], [
configure.in:269: AC_DEFINE(HAVE_LIBRESOLV,1,[ ])
configure.in:362: AC_DEFINE(HAVE_IPV6,1,[Whether you have IPv6
support])
configure.in:437: AC_DEFINE(HAVE_GETADDRINFO,1,[Define if you have the
getaddrinfo function])
configure.in:465: AC_DEFINE(in_addr_t, u_int, [ ])
configure.in:528: AC_DEFINE(PHP_SAFE_MODE,1,[ ])
configure.in:530: AC_DEFINE(PHP_SAFE_MODE,0,[ ])
configure.in:540:
AC_DEFINE(PHP_SAFE_MODE_EXEC_DIR,"/usr/local/php/bin", [ ])
configure.in:543:
AC_DEFINE_UNQUOTED(PHP_SAFE_MODE_EXEC_DIR,"$withval", [ ])
configure.in:547:
AC_DEFINE(PHP_SAFE_MODE_EXEC_DIR,"/usr/local/php/bin", [ ])
configure.in:551:
AC_DEFINE(PHP_SAFE_MODE_EXEC_DIR,"/usr/local/php/bin", [ ])
configure.in:569: AC_DEFINE(PHP_SIGCHILD, 1, [ ])
configure.in:571: AC_DEFINE(PHP_SIGCHILD, 0, [ ])
configure.in:578: AC_DEFINE(MAGIC_QUOTES, 1, [ ])
configure.in:580: AC_DEFINE(MAGIC_QUOTES, 0, [ ])
configure.in:593: AC_MSG_ERROR(Cannot locate libgcc. Make sure that
gcc is in your path)
configure.in:603: AC_DEFINE(DEFAULT_SHORT_OPEN_TAG,"1",[ ])
configure.in:605: AC_DEFINE(DEFAULT_SHORT_OPEN_TAG,"0",[ ])
configure.in:616: AC_DEFINE(HAVE_DMALLOC,1,[Whether you have
dmalloc])
configure.in:619: AC_MSG_ERROR(Problem with enabling dmalloc. Please
check config.log for details.)
configure.in:629: AC_DEFINE(HAVE_PHP_STREAM, 1, [Whether to use php
streams])
configure.in:635: AC_DEFINE(HAVE_CRYPT,1,[ ])
configure.in:706: AC_DEFINE(ZTS,1,[ ])
configure.in:819:AC_DEFINE_UNQUOTED(PHP_BUILD_DATE,"$PHP_BUILD_DATE",[PH
P build date])
configure.in:821:AC_DEFINE_UNQUOTED(PHP_UNAME,"$PHP_UNAME",[uname -a
output])
configure.in:823:AC_DEFINE_UNQUOTED(PHP_OS,"$PHP_OS",[uname output])
rebuilding main/php_config.h.in
<end-snip>
I don't know what to do now and hopefully someone here is able to help
me.
Regards
Markus
--
Markus Boehmer
SSI Schaefer Shop GmbH
Datenbankadministration/-entwicklung
mailto:[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
I have never used Solaris but if it supports DSOs you could try this -
then you could simply cp the relevant pdfxxxx.so to the php lib directory
and add
extension=pdfxxxx.so in the php.ini file
hope this helps
let me know if im wrong
gamin.
"Markus Boehmer" <[EMAIL PROTECTED]> wrote in message
013201c20594$5e14df00$0197130a@yavin4">news:013201c20594$5e14df00$0197130a@yavin4...
> Hi Guys and gals,
>
> I have a little problem.
> I have to build php on a solaris machine with a few extras, so here is
> my normal configure command:
> ./configure --enable-libgcc \
> --with-oci8 \
> --with-oracle \
> --with-pdflib=/usr/local \
> --with-apxs=/usr/local/bin/apxs \
> --with-zlib-dir=/usr/local/lib \
> --with-gd=/usr/local
>
> We use pdflib version 4.0.2 and to use this pdflib version with php we
> have to copy some files from the pdflib distribution to the php source
> tree.
> In fact we replace <phpdir>/ext/pdf/pdf.c and <phpdir>/ext/pdf/config.m4
> After this replacement, I have to run buildconf, which results in the
> following errors:
>
> <begin-snip>
> # ./buildconf
> buildconf: checking installation...
> buildconf: autoconf version 2.13 (ok)
> buildconf: automake version 1.4 (ok)
> buildconf: libtool version 1.4.2 (ok)
> rebuilding Makefile templates
> rebuilding configure
> autoconf: Undefined macros:
> configure.in:11: AC_MSG_ERROR(--with-shared-apache is not supported.
> Please refer to the documentation for using APXS)
> configure.in:15: AC_MSG_ERROR(--with-apache and --with-apxs cannot be
> used together)
> configure.in:219: AC_DEFINE(HAVE_LIBSOCKET,1,[ ]) ], [
> configure.in:237: AC_DEFINE(HAVE_LIBNSL,1,[ ]) ],[
> configure.in:240: AC_DEFINE(HAVE_LIBNSL,1,[ ]) ], [])
> configure.in:266: AC_DEFINE(HAVE_LIBSOCKET,1,[ ]) ], [
> configure.in:269: AC_DEFINE(HAVE_LIBRESOLV,1,[ ])
> configure.in:362: AC_DEFINE(HAVE_IPV6,1,[Whether you have IPv6
> support])
> configure.in:437: AC_DEFINE(HAVE_GETADDRINFO,1,[Define if you have the
> getaddrinfo function])
> configure.in:465: AC_DEFINE(in_addr_t, u_int, [ ])
> configure.in:528: AC_DEFINE(PHP_SAFE_MODE,1,[ ])
> configure.in:530: AC_DEFINE(PHP_SAFE_MODE,0,[ ])
> configure.in:540:
> AC_DEFINE(PHP_SAFE_MODE_EXEC_DIR,"/usr/local/php/bin", [ ])
> configure.in:543:
> AC_DEFINE_UNQUOTED(PHP_SAFE_MODE_EXEC_DIR,"$withval", [ ])
> configure.in:547:
> AC_DEFINE(PHP_SAFE_MODE_EXEC_DIR,"/usr/local/php/bin", [ ])
> configure.in:551:
> AC_DEFINE(PHP_SAFE_MODE_EXEC_DIR,"/usr/local/php/bin", [ ])
> configure.in:569: AC_DEFINE(PHP_SIGCHILD, 1, [ ])
> configure.in:571: AC_DEFINE(PHP_SIGCHILD, 0, [ ])
> configure.in:578: AC_DEFINE(MAGIC_QUOTES, 1, [ ])
> configure.in:580: AC_DEFINE(MAGIC_QUOTES, 0, [ ])
> configure.in:593: AC_MSG_ERROR(Cannot locate libgcc. Make sure that
> gcc is in your path)
> configure.in:603: AC_DEFINE(DEFAULT_SHORT_OPEN_TAG,"1",[ ])
> configure.in:605: AC_DEFINE(DEFAULT_SHORT_OPEN_TAG,"0",[ ])
> configure.in:616: AC_DEFINE(HAVE_DMALLOC,1,[Whether you have
> dmalloc])
> configure.in:619: AC_MSG_ERROR(Problem with enabling dmalloc. Please
> check config.log for details.)
> configure.in:629: AC_DEFINE(HAVE_PHP_STREAM, 1, [Whether to use php
> streams])
> configure.in:635: AC_DEFINE(HAVE_CRYPT,1,[ ])
> configure.in:706: AC_DEFINE(ZTS,1,[ ])
> configure.in:819:AC_DEFINE_UNQUOTED(PHP_BUILD_DATE,"$PHP_BUILD_DATE",[PH
> P build date])
> configure.in:821:AC_DEFINE_UNQUOTED(PHP_UNAME,"$PHP_UNAME",[uname -a
> output])
> configure.in:823:AC_DEFINE_UNQUOTED(PHP_OS,"$PHP_OS",[uname output])
> rebuilding main/php_config.h.in
> <end-snip>
>
>
> I don't know what to do now and hopefully someone here is able to help
> me.
>
> Regards
> Markus
> --
> Markus Boehmer
> SSI Schaefer Shop GmbH
> Datenbankadministration/-entwicklung
> mailto:[EMAIL PROTECTED]
>
--- End Message ---
--- Begin Message ---
I have installed 4.2.1 and get an 500 Error when trying to view in IE
browser.
I have done the following steps:
1. Copied DLLS to Windows dir. Moved the PHP4TS.DLL to the Windows and
checked that the MSVCRT.DLL is already there.
2. Copied the php.ini-dist to the Windows dir and renamed it to php.ini.
Set the doc_root to = "c:\Inetpub\webpub". Other changes to the php.ini are
as follows:
extension_dir = "c:\PHP\extensions"
session.save_handler = "C:\WINDOWS\TEMP"
session.save_path = "C:\WINDOWS\TEMP"
register_globals = Off
magic_quotes_gpc = On
Clicked on the PWS-php4isapi file and message came back that changes had
been made. I guess this is to reflect where the location of the
php-4isapi.dll. In the PWS Manager, I made sure the execute check box is
checked. I have done this for all directories. I believe that the browser
defaults to the Inetpub\webpub directory to open files.
I would appreciate any suggestions.
Thanks in advance.
Cheryl McCann
--- End Message ---
--- Begin Message ---
hi,
gd is up and running i found a way around my counters wich uses gd are
working so i am pleased.every time i compile php it says warning you wil
need bizon if you want to generate the php parsers again.it says the same
for zend parsers
what is bizon ?
regards Erik
--- End Message ---