php-install Digest 8 Oct 2001 19:51:06 -0000 Issue 496
Topics (messages 4540 through 4549):
Php/Apache bug
4540 by: Umberto Valsecchi
Tuning issue php4.0.6 / Apache 1.3.19 Linux/2.4 - Possible bug?
4541 by: Barry Flanagan
font support
4542 by: user.domain.invalid
4544 by: Fred Phase
Re: Upgrading debian stable
4543 by: B. PERRINE
Re: PHP-Oracle build problems
4545 by: B. PERRINE
Re: Php on Windows not running!!! Any help ???
4546 by: belforti.hotmail.com
trouble building php-4.0.7RC3
4547 by: Jens Ansorg
PHP/MySQL/Apache w/Frontpage Extensions
4548 by: Jamie Willard
Configure error with Suse Linux 7.1 (PPC)
4549 by: Christine
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 ---
Hello, I've read your address from bugs.php.net, so I've decided to write
you for explain a bug that I have during the installation of Php.
My PC configuration is:
. PII - 266 Mhz
. Ram 128 Mb
. HD 2 Gb (1 free)
. OS win95
I've installed Apache 1.3.20 (downloaded from ufficial site), and it's
works.
I've downloaded Php 4.0.6 and I've modified the relative configuration files
(php.ini and httpd.conf).
Now when I start Apache module it doesn't work and appeared the below
message on screen:
"Error on line 203 of c:/programmi/apache group/apache/conf/httpd.conf:
Cannot load c:/programmi/php/sapi/php4apache.dll into server: (31) the
device connected to system doesn't work"
I hope in your help, Thanks.
Bye. Umberto
_________________________________________________________________
Scarica GRATUITAMENTE MSN Explorer all'indirizzo
http://explorer.msn.it/intl.asp
--- End Message ---
--- Begin Message ---
Hi,
We are running a high-volume php4.0.6/Apache3.1.19 on Linux2.4x and are
running into load problems. In httpd.conf we have
<Directory / >
Options FollowSymlinks
AllowOverride None
</Directory>
...however, doing an strace on a running httpd process shows up the
following:
lstat("/web", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0
lstat("/web/apache", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/web/apache/httpd", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/web/apache/httpd/virtual", {st_mode=S_IFDIR|0755, st_size=4096,
...}) = 0
lstat("/web/apache/httpd/virtual/ads.online.ie", {st_mode=S_IFDIR|0755,
st_size=4096, ...}) = 0
lstat("/web/apache/httpd/virtual/ads.online.ie/html",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) =
0lstat("/web/apache/httpd/virtual/ads.online.ie/html/acl.inc.php",
{st_mode=S_IFREG|0444, st_size=5528, ...}) = 0
This is happening for every request. It did not happen with php3 AFAIR.
Is this a PHP problem or does anyone have any clue?
Thanks in adcvance.
-Barry Flanagan
--- End Message ---
--- Begin Message ---
all,
i'm having trouble getting font support to work with my php in install.
i'm running version 4.0.5 under linux 2.2.14-5 using the following:
./configure --with-informix --with-apxs
--with-config-file-path=/etc/httpd/conf --with-gd --with-ttf
--enable-gd-native-ttf
this is the error i keep on getting:
Warning: ImageTtfBBox: No TTF support in this PHP build in
any clues?
-deno
--- End Message ---
--- Begin Message ---
What version of Freetype did you use?
--with-ttf only applies to Freetype 1.x otherwise you should use
--with-freetype instead for 2.x.
Regards,
Fred.
[EMAIL PROTECTED] wrote:
> all,
>
> i'm having trouble getting font support to work with my php in install.
> i'm running version 4.0.5 under linux 2.2.14-5 using the following:
>
> ./configure --with-informix --with-apxs
> --with-config-file-path=/etc/httpd/conf --with-gd --with-ttf
> --enable-gd-native-ttf
>
>
> this is the error i keep on getting:
> Warning: ImageTtfBBox: No TTF support in this PHP build in
>
>
> any clues?
>
> -deno
>
>
>
--- End Message ---
--- Begin Message ---
If you are using an apache already installed,
you may try to compile php as a module for apache :
./configure --with-apxs=/[Where is apache is installed]/bin/apxs
make
make install
Do not forget to configure httpd.conf.
You can discover where is the apache directory with the find command or
whith the dpkg command.
I use the source of apache1.3.20 and php-4.0.4pl1.
Last, you may find Debian Potato packages with php-4.0.4pl1 at
www.alcove-labs.org. (I don't try them)
B.
le sam 06-10-2001 at 00:13 Ariejan de Vroom a écrit :
> I have a server running Debian/stable. This runs Apache 1.3.9, with PHP 4.03
>
> I needed PHP 4.06, so I downloaded the source, untarred it, ./configure,
> make, make install, just as the install doc tells us.
> After that I swapped my old php.ini file in /etc/php4/php.ini with the
> php.ini-dist file. Then I restarted apache.
>
> phpinfo() still tells me it is version 4.03. What could be wrong? Is phpinfo
> mistaking? Or am I still using 4.03?
>
> -- Please cc: your reply to [EMAIL PROTECTED] thank you.
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
try --with-oci8=$ORACLE_HOME where $ORACLE_HOME is like
/u01/app/oracle/product/8.1.6
The file you seek exists : [where is the source]/ext/oci8/php_oci8.h
le lun 08-10-2001 at 09:37 Rudy Ramirez a écrit :
> Hi
> I'm trying to build php4 on my SuSE 6.4 Linux machine with Oracle OCI8
> support.
> My Oracle 8.1.5 programmer interface is configured via default GUI
> installation. I run configure --with-oci and everything is OK, then
> after make I get the error:
>
> /root/php-4.0.6/ext/oci8/php_oci8.h:52: oci.h: No such file or directory
>
> I couldn't locate oci.h, even under $ORACLE_HOME!
>
> Can someone help me?
>
> Thanks
>
> Bye
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
It happened to me as well.
I fixed it leaving empty the following item on the php.ini file:
; The root of the PHP pages, used only if nonempty.
doc_root =
Regards....
Gabriel Belforti
"Dennis Butler" <[EMAIL PROTECTED]> wrote in message
1103_999974443@dennisb">news:1103_999974443@dennisb...
> Hi,
> Did you rename php.ini-dist to php.ini and put a copy of it in your
windows directory? Also, with Xitami I had to set a new filter to point the
web server to php.exe
> ASP is different because the ASP engine runs as a separate app. PHP runs
from the web server, so you will have to look at PWS to see how to add new
file
> extensions.
>
> Dennis
>
> On Fri, 10 Aug 2001 09:03:39 GMT, [EMAIL PROTECTED] wrote:
> > Hello Everyone
> >
> > I have installed php on my windows computer running with PWS.
> > PHP files are in c:\php folder.
> > I have placed test.php file in c:\inetpub\wwwroot folder on which I hav=
> > e
> > given execute permission.
> > When I call it in internet explorer as http://localhost/test.php it gi=
> > ves
> > an error as File not found --- Error 500 ?Internal Server Error. Howeve=
> > r,
> > my ASP files are running perfectly well.
> > What does it mean?
> > However, when run c:\php\php.exe ?i it shows some html codes which I
> > presume it is in order.
> >
> > What should I do to run my PHP files.
> >
> >
> > Ajay K. Ratra
> > Ludhiana (INDIA)
> > [EMAIL PROTECTED]=
> >
> >
>
>
--- End Message ---
--- Begin Message ---
I try to build php-4.0.7RC3 on a RedHat 7.1 i386 box.
Currently I run php-4.0.7RC1 which build witout problems but with RC3 it
does not build.
./configure --myoptions runs through without apparent errors but at the
end I get this "Something is likely to be messed up here ..." error
message :-((
my configure.log shows a lot of these undefined references:
configure:57892: gcc -o conftest -g -O2 -DLINUX=2 -DNO_DBM_REWRITEMAP -DUSE_HSREGEX
-DUSE_EXPAT -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-rpath,/usr/lib/mysql
-L/usr/lib/mysql conftest.c -ldl -lsablot -lxmltok -lxmlparse -lmysqlclient -lz -lgd
-lt1 -lX11 -lXpm -ljpeg -lz -lxml2 -lz -lcrypt -lresolv -lm -ldl -lnsl -lresolv
-lcrypt 1>&5
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsablot.so: undefined reference to
`XML_ParserCreateNS'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsablot.so: undefined reference to
`XML_SetParamEntityParsing'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsablot.so: undefined reference to
`XML_SetEncoding'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsablot.so: undefined reference to
`XML_SetCommentHandler'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libsablot.so: undefined reference to
`XML_SetNamespaceDeclHandler'
collect2: ld returned 1 exit status
I have sablotron-0.65, expat-1.95 installed
any ideas what's wrong here?
thanks
Jens
--- End Message ---
--- Begin Message ---
PHP 4.0.6
MySQL 3.23.39
Apache 1.3.19
Frontpage Extensions Ver5.0 (2002)
Everything so far is working great with my build, except one thing. While
compiling PHP I receive the following when I do "make".
Any help is appreciated. There are several older posts on this exact
problem, but nobody has given an answer.
PHP configuration
./configure --prefix=/opt/php --with-config-file-path=/opt/php --with-mysql=
/opt/mysql --with-apache=/temp/instapps/apache_1.3.19 --enable-track-vars --
enable-magic-quotes
(./configure results snipped)
# make
Making all in Zend
Making all in main
gcc -I. -I/temp/instapps/php-4.0.6/php-4.0.6/main -I/temp/instapps/php-4.0.
6/php-4.0.6/main -I/temp/instapps/php-4.0.6/php-4.0.6 -I/temp/instapps/apach
e_1.3.19/src/include -I/temp/instapps/apache_1.3.19/src/os/unix -I/temp/inst
apps/php-4.0.6/php-4.0.6/Zend -I/opt/mysql/include -I/temp/instapps/php-4.0.
6/php-4.0.6/ext/xml/expat/xmltok -I/temp/instapps/php-4.0.6/php-4.0.6/ext/xm
l/expat/xmlparse -I/temp/instapps/php-4.0.6/php-4.0.6/TSRM -DSUPPORT_UTF8 -
DXML_BYTE_ORDER=21 -g -O2 -c internal_functions.c && touch
internal_functions.lo
/bin/sh
/temp/instapps/php-4.0.6/php-4.0.6/libtool --silent --mode=link
gcc -I. -I/temp/instapps/php-4.0.6/php-4.0.6/main -I/temp/instapps/php-4.0.
6/php-4.0.6/main -I/temp/instapps/php-4.0.6/php-4.0.6 -I/temp/instapps/apach
e_1.3.19/src/include -I/temp/instapps/apache_1.3.19/src/os/unix -I/temp/inst
apps/php-4.0.6/php-4.0.6/Zend -I/opt/mysql/include -I/temp/instapps/php-4.0.
6/php-4.0.6/ext/xml/expat/xmltok -I/temp/instapps/php-4.0.6/php-4.0.6/ext/xm
l/expat/xmlparse -I/temp/instapps/php-4.0.6/php-4.0.6/TSRM -DSUPPORT_UTF8 -
DXML_BYTE_ORDER=21 -g -O2 -o libmain.la main.lo internal_functions.lo
snprintf.lo php_sprintf.lo safe_mode.lo fopen_wrappers.lo alloca.lo
php_ini.lo SAPI.lo rfc1867.lo php_content_types.lo strlcpy.lo strlcat.lo
mergesort.lo reentrancy.lo php_variables.lo php_ticks.lo streams.lo
network.lo php_open_temporary_file.lo php_logos.lo
Making all in ext
Making all in mysql
Making all in pcre
Making all in pcrelib
Making all in posix
Making all in session
Making all in standard
Making all in xml
Making all in expat
Making all in xmltok
Making all in xmlparse
Making all in sapi
Making all in apache
Making all in TSRM
/bin/sh ../libtool --silent --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../main -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21
-g -O2 -c tsrm_virtual_cwd.c
tsrm_virtual_cwd.c: In function `virtual_open':
tsrm_virtual_cwd.c:568: `mode_t' is promoted to `int' when passed through
`...'
tsrm_virtual_cwd.c:568: (so you should pass `int' not `mode_t' to `va_arg')
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
#
Jamie Willard
Sherlock Services
--- End Message ---
--- Begin Message ---
"cheking output file root ./configure:lex command not found
Configure: error cannot find output from lex: giving up".
Php 4.0.6
Dura flex sed lex: where could this one be coming from ?
Apache 1.3.17 up and about.
Thanks
XC
--- End Message ---