php-install Digest 27 Mar 2003 18:03:43 -0000 Issue 1309

2003-03-27 Thread php-install-digest-help

php-install Digest 27 Mar 2003 18:03:43 - Issue 1309

Topics (messages 10436 through 10436):

Problem
10436 by: Sandra Rius

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 php 4.3.1 in my Apache server 1.3.2 as a server module abd the 
operative system is Window 98. It works with my php scripts but, when I try to pass 
variables to a php from another file or from the browser, php doesn't recognise the 
variable.

For example, with a script like this:   test.php
  

  
  
  
  
when I call it from a browser like this: 
   test.php?var=hello
I get a blank screen. I have tried this script in other php servers and it works 
correctly. So maybe I have to load a specific module or parameter.  Could somebody 
help me ?

Thanks.

Sandra
--- End Message ---


php-install Digest 28 Mar 2003 06:06:54 -0000 Issue 1310

2003-03-27 Thread php-install-digest-help

php-install Digest 28 Mar 2003 06:06:54 - Issue 1310

Topics (messages 10437 through 10444):

Re: Problem
10437 by: Stembridge, Michael
10438 by: Rich Gray
10439 by: Stembridge, Michael

PHP 4.2.3 install under x86 RedHat 8.0 keeps SIDs in URL
10440 by: Michael Bull
10441 by: Jim Thome
10442 by: Michael Bull
10443 by: Jim Thome

Problem with -c option and --with-config-file-path option
10444 by: Mark Striebeck

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 ---
Any of the following will work:







If these don't work I suggest adding this to your script and reloading the
page:



That should print your php info screen, if it does not then you have a
configuration issue.


 - Mike


> -Original Message-
> From: Sandra Rius [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 26, 2003 6:04 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] Problem
> 
> 
> Hi,
> 
> I have installed php 4.3.1 in my Apache server 1.3.2 as a 
> server module abd the operative system is Window 98. It works 
> with my php scripts but, when I try to pass variables to a 
> php from another file or from the browser, php doesn't 
> recognise the variable.
> 
> For example, with a script like this:   test.php
>   
> 
>   
>   
>   
>   
> when I call it from a browser like this: 
>test.php?var=hello
> I get a blank screen. I have tried this script in other php 
> servers and it works correctly. So maybe I have to load a 
> specific module or parameter.  Could somebody help me ?
> 
> Thanks.
> 
> Sandra
> 
--- End Message ---
--- Begin Message ---
> I have installed php 4.3.1 in my Apache server 1.3.2 as a server
> module abd the operative system is Window 98. It works with my
> php scripts but, when I try to pass variables to a php from
> another file or from the browser, php doesn't recognise the variable.
>
> For example, with a script like this:   test.php
>   
>
>   
>   
>   
>   
> when I call it from a browser like this:
>test.php?var=hello
> I get a blank screen. I have tried this script in other php
> servers and it works correctly. So maybe I have to load a
> specific module or parameter.  Could somebody help me ?
>
> Thanks.
>
> Sandra
>

Sandra

>From v4.2.x register_globals is switched off by default ... use $_GET['var']
in this case

http://www.php.net/manual/en/security.registerglobals.php

Rich

--- End Message ---
--- Begin Message ---
Oops, forgot about register globals.  

I'll just add that register globals can't be changed with ini_set();  It has
to be done in the php.ini config file (and Apache must be restarted).   

If this is a site open to the general public it's a good idea to not turn
globals on, and to use the example Rich provided below.   All this is
documented in the page below (with more or less verbosity).  

 - Mike


> From v4.2.x register_globals is switched off by default ... 
> use $_GET['var']
> in this case
> 
> http://www.php.net/manual/en/security.registerglobals.php
> 
> Rich
--- End Message ---
--- Begin Message ---
Evening, all:

Looking for some suggestions for troubleshooting.   We're in the processing of 
moving a PHP application from a Solaris box to a Linux box.   The Linux Box in 
question is a Pentium 4 running RedHat 8.0 (as shipped from Dell).  We're 
running the IMP Webmail software, though this doesn't appear to be related to 
the application from troubleshooting so far.

The Apache 1.3.27 w/ PHP 4.2.3 setup that we have working insists on placing 
the SIDs in the URL instead of using cookies.  I've had similar results when 
I've configured 4.2.2 and 4.3.1. Moving over the current php code we're 
running without problem on the solaris server... the SIDs start to show up in 
the URL again.  

I'm compiling PHP with the following parameters -

--with-apache=(path to apache sources) --with-mysql=/usr --with-imap=(path to c-
client 2002, compiled without ssl) --with-ldap --with-gettext --disable-debug --
prefix=(path to where I install the php files).

Under 4.3.1, I tried to force sessions through cookies only, and then people 
couldn't login (couldn't use the session).   

Even moving over the 4.2.2 sources that worked fine on the solaris box, making 
clean and compiling those, have the SID showing up in the URL.


If anyone can suggest further troubleshooting ideas, or has some thoughts on 
possible solutions, I'm all up to hear them.


Thanks for your time.
mb.
--- End Message ---
--- Begin Message ---
Change this line in your php.ini from...

session.use_trans_sid = 1

to...

session.use_trans_sid = 0

[restart server]

--
Jim

>>> Michael Bull <[EMAIL PROTECTED]> 03/27/03 03:32PM >>>
Evening, all:

Lookin

php-install Digest 28 Mar 2003 18:17:06 -0000 Issue 1311

2003-03-28 Thread php-install-digest-help

php-install Digest 28 Mar 2003 18:17:06 - Issue 1311

Topics (messages 10445 through 10448):

Re: Problem with -c option and --with-config-file-path option
10445 by: Rasmus Lerdorf

Newbie question: Version conflict - PHP vs. MySQL
10446 by: Martin Schalck

php & cracklib install
10447 by: Yann Larrivee

Re: Cannot send session cookie - headers already sent by
10448 by: Atif Jakupovic

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 ---
Please do not spam multiple lists with the same question.  Especially 
since you haven't managed to hit the right one yet.  
[EMAIL PROTECTED] would have been the appropriate list.

On Thu, 27 Mar 2003, Mark Striebeck wrote:

> Hi,
> 
> we are building PHP with the --with-config-file-path compile setting to 
> get our php.ini file from our own location.
> 
> Now, in some scenarios we need to run PHP with the -c command line 
> option to get the php.ini file from a different location.
> 
> This seems to cause problems!
> 
> When using the -c command line option, our PHP files cannot find their 
> includes anymore.
> 
> My last attempt was to set the -c command line option to the exact same 
> location that we use for the --with-config-file-path compile setting. 
> With the same result: without the -c option everything works, with the 
> -c setting the include files are not found.
> 
> What are the differences between these two options? Does the -c have any 
> other side effects?
> 
> Thanks
>   MarkS
> 
> ---
> Mark Striebeck  SourceForge Engineering Manager
> VA Software http://www.vasoftware.com
> 
> 
> 


--- End Message ---
--- Begin Message ---
hi all,

i was wondering; is it true that when using php with mysql one have to use
an old version
of mysql ? if  it is true then why is that ? can you guide to some links
where i can read about it

best regards
martin


--- End Message ---
--- Begin Message ---
Hi i am trying to compile PHP 4.3.2rc1 with cracklib

Crack lib has been installed via rpm

I see all the file on my hd


/usr/include/crack.h
/usr/lib/cracklib_dict.hwm
/usr/lib/cracklib_dict.pwd
/usr/lib/cracklib_dict.pwi
/usr/lib/libcrack.so
/usr/lib/libcrack.so.2
/usr/lib/libcrack.so.2.7
/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/crack.ph
/usr/sbin/create-cracklib-dict

But when i try to compile php


/configure --with-apache=../apache_1.3.27 --enable-track-vars
--with-mysql --with-dom --enable-sockets --enable-wddx --with-xmlrpc
--enable-xslt --with-xslt-sablot=/usr/local/
--with-zlib-dir=/usr/local/include --with-expat-dir=/usr/local
--with-iconv-dir=/usr/local/ --with-crack=/usr/lib/

I always get the error
checking for CRACKlib support... yes
configure: error: Cannot find a cracklib header file

I guess this is the path for cracklib that is wrong ? 
I need to compile cracklib ?

Any help with that would be appreciated.

Thanks

Yann

PS. Sorry if this is a duplicate but i had some problem with my configuration


--- End Message ---
--- Begin Message ---
Hi everybody,

Please, could you help me to find out why I'm getting an error message 
like one below.

Warning: session_start() [function.session-start]: Cannot send session 
cookie - headers already sent by (output started at file1.php:2) in  
InitSession.php on line 2.

It was working fine few days ago.

Thank you,

Atif--- End Message ---


php-install Digest 29 Mar 2003 21:10:51 -0000 Issue 1312

2003-03-29 Thread php-install-digest-help

php-install Digest 29 Mar 2003 21:10:51 - Issue 1312

Topics (messages 10449 through 10452):

Re: Cannot send session cookie - headers already sent by
10449 by: Jeffrey_N_Dyke.Keane.com

compile problems with mysql - php4.3.1
10450 by: Willie Klein
10451 by: Willie Klein

Need some help!!!
10452 by: Taaniel Jakobs

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 ---

this means there has been content already sent to the browser.  even you
have a space in your file before thecc:   
 
 Subject: [PHP-INST]  PHP: Cannot send 
session cookie - headers already 
03/28/2003 01:14  sent by  
 
PM 
 
   
 
   
 




Hi everybody,

Please, could you help me to find out why I'm getting an error message
like one below.

   Warning: session_start() [function.session-start]: Cannot send
session
cookie - headers already sent by (output started at file1.php:2) in
InitSession.php on line 2.

It was working fine few days ago.

Thank you,

Atif



--- End Message ---
--- Begin Message ---
Hi All;

This is driving me crazy.  I've been seaching the various newsgroups and
forums for days and have found similar problems but no answers.

I have been trying to install php 4.3.1 I am using Redhat 8 Apache 2.x with
MySQL4.0.12. I have gotten the same error with Redhatt 7.3 apache 1.3.x and
MySQL 3.23.56.  I configure ./configure --with
apxs2 --with-mysql --enable-track-vars The configure runs and make errors
out with:
ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
/usr/local/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:103: the use of
`tempnams dangerous, better use `mkstemp'

php4.2.x will compile

So I try to tell it where mysql is and I'm not sure what it wants.
/var/lib/mysql is where the data is, the mysqld is in /usr/sbin and the
header
file mysql.h is in /usr/include/mysql, the mysql client is in /usr/bin I've
givin it all those directorys and configure still tells me it can't find the
headers.

So if someone could give me a hint about this I would appreciate it.

Again this all worked fine with php4.2.x




--- End Message ---
--- Begin Message ---
Well yet more researching and I've found various threads at bugs.php.net
All claim this is not a php bug.  I don't pretend to know. (Although it does
work with older versions of php).  Anyway the gist of the threads there say
the compiler shouldn't stop on this warning, but it does.  My gcc version is
3.2-7 .  The Redhat 8 machine.  There are some cryptic references to libtool
in some of the threads but I've looked at that and I don't understand how to
use it or how it would help.  There must be an answer to this but I can't
figure it out.

Any help greatly apreciated.
"Willie Klein" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi All;
>
> This is driving me crazy.  I've been seaching the various newsgroups and
> forums for days and have found similar problems but no answers.
>
> I have been trying to install php 4.3.1 I am using Redhat 8 Apache 2.x
with
> MySQL4.0.12. I have gotten the same error with Redhatt 7.3 apache 1.3.x
and
> MySQL 3.23.56.  I configure ./configure --with
> apxs2 --with-mysql --enable-track-vars The configure runs and make errors
> out with:
> ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
> /usr/local/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:103: the use of
> `tempnams dangerous, better use `mkstemp'
>
> php4.2.x will compile
>
> So I try to tell it where mysql is and I'm not sure what it wants.
> /var/lib/mysql is where the data is, the mysqld is in /usr/sbin and the
> header
> file mysql.h is in /usr/include/mysql, the mysql client is in /usr/bin
I've
> givin it all those directorys and configure still tells me it can't find
the
> headers.
>
> So if someone could give me a hint about this I would appreciate it.
>
> Again this all worked fine with php4.2.x
>
>
>
>
>


--- End Message ---
--- Begin Message ---
Hello! I needet to re-install php on my comp, and I just can't get it to work.
I am using win98 with PWS 4.0 and the newest version of PHP.
I get DNS error.
The page can not be shown.

Anybody?--- End Message ---


php-install Digest 30 Mar 2003 11:45:56 -0000 Issue 1313

2003-03-30 Thread php-install-digest-help

php-install Digest 30 Mar 2003 11:45:56 - Issue 1313

Topics (messages 10453 through 10453):

Problem: Error: 403 - Forbidden
10453 by: Alessandro

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 ---
Greetings,

I am running Apache 2.0.44 with PHP 4.3.0 under Microsoft WindowsXPHome.
Now the problem:
When i make a requestat my server for a PHP page i get the error: 403 - Forbidden. 
At the buttom you can find the links to the conf. file and the INI.
I tried verry much but can't solve the problem i reinstalled Apache and PHP for 
several times and checked everything but could not find anything wrong.
Could you please help me?

Greetings
Alessandro Vermeulen

The link to the (apache)conf file:
http://home.planet.nl/~verm0754/httpd.conf
Link to the php.ini file:
http://home.planet.nl/~verm0754/php.ini

--- End Message ---


php-install Digest 31 Mar 2003 01:01:12 -0000 Issue 1314

2003-03-30 Thread php-install-digest-help

php-install Digest 31 Mar 2003 01:01:12 - Issue 1314

Topics (messages 10454 through 10455):

Error 403 - Forbidden
10454 by: Alessandro

php and Apache won't play nice
10455 by: Jim Kelly

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 ---



Greetings,I am running Apache 2.0.44 with PHP 4.3.0 under Microsoft 
WindowsXPHome.Now the problem:When i make a requestat my server for a 
PHP page i get the error: 403 - Forbidden. At the buttom you can find the 
links to the conf. file and the INI.I tried verry much but can't solve the 
problem i reinstalled Apache and PHP for several times and checked everything 
but could not find anything wrong.Could you please help 
me?GreetingsAlessandro VermeulenThe link to the (apache)conf 
file:http://home.planet.nl/~verm0754/httpd.confLink 
to the php.ini file:http://home.planet.nl/~verm0754/php.ini 

 
--- End Message ---
--- Begin Message ---
When I surf to a phpinfo.php file in apache htdocs dir the browser 
insists on downloading the file instead of executing it showing me my 
php setup page

I've modified httpd.conf adding:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
AddModule mod_php4.c
here are the last few lines in the section:
AddModule mod_access.c
AddModule mod_auth.c
AddModule mod_so.c
AddModule mod_setenvif.c

AddModule mod_ssl.c

AddModule mod_php4.c
When I do apachectl configtest I get:
Syntax error on line 233 of /usr/local/apache/conf/httpd.conf:
Cannot add module via name 'mod_php4.c': not in list of loaded modules
I installed php from source.
I used this config statement
./configure --with-mysql=/usr/local/mysql 
--with-apxs=/usr/local/apache/bin/apxs --enable-bcmath --enable-sockets 
--enable-track-vars

then i mv'ed php.ini-recommended to /usr/local/lib/php.ini

Could someone please point me straight?
Why is php stubbornly refusing to work here
jim kelly

--- End Message ---


php-install Digest 31 Mar 2003 17:10:27 -0000 Issue 1315

2003-03-31 Thread php-install-digest-help

php-install Digest 31 Mar 2003 17:10:27 - Issue 1315

Topics (messages 10456 through 10460):

Re: php and Apache won't play nice
10456 by: Jim Thome

PHP make failure...
10457 by: Michael Phillippi

PHP MYSQL and Apache
10458 by: Paul Myers

sybase-ct & freetds install problems
10459 by: bob pilly

Oracle 8i with php 4.3.1 debug.log
10460 by: Troy Miller

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 ---
Did you add the LoadModule line?

LoadModule php4_module  modules/libphp4.so

--
Jim

>>> Jim Kelly <[EMAIL PROTECTED]> 03/30/03 18:01 PM >>>
When I surf to a phpinfo.php file in apache htdocs dir the browser 
insists on downloading the file instead of executing it showing me my 
php setup page

I've modified httpd.conf adding:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps


AddModule mod_php4.c
here are the last few lines in the section:
AddModule mod_access.c
AddModule mod_auth.c
AddModule mod_so.c
AddModule mod_setenvif.c

AddModule mod_ssl.c

AddModule mod_php4.c

When I do apachectl configtest I get:
Syntax error on line 233 of /usr/local/apache/conf/httpd.conf:
Cannot add module via name 'mod_php4.c': not in list of loaded modules

I installed php from source.
I used this config statement
./configure --with-mysql=/usr/local/mysql 
--with-apxs=/usr/local/apache/bin/apxs --enable-bcmath --enable-sockets 
--enable-track-vars

then i mv'ed php.ini-recommended to /usr/local/lib/php.ini

Could someone please point me straight?
Why is php stubbornly refusing to work here

jim kelly


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--- End Message ---
--- Begin Message ---
I keep on trying to do a basic install on Apache 2.0.44 with the following
commands:

>
./configure --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/httpd-v2/b
in/apxs
> make

here is the dump from the 'make' command:
---
/bin/sh libtool --silent --mode=compile
gcc  -Iext/ctype/ -I/usr/src/php-4.3.1/ext/ctype/ -DPHP_ATOM_INC -I/usr/src/
php-4.3.1/include -I/usr/src/php-4.3.1/main -I/usr/src/php-4.3.1 -I/usr/loca
l/httpd-v2/include -I/usr/src/php-4.3.1/Zend -I/usr/local/mysql/include/mysq
l -I/usr/src/php-4.3.1/ext/xml/expat  -I/usr/src/php-4.3.1/TSRM  -g -O2  -pr
efer-pic -c /usr/src/php-4.3.1/ext/ctype/ctype.c -o ext/ctype/ctype.lo
/bin/sh libtool --silent --mode=compile
gcc  -Iext/mysql/ -I/usr/src/php-4.3.1/ext/mysql/ -DPHP_ATOM_INC -I/usr/src/
php-4.3.1/include -I/usr/src/php-4.3.1/main -I/usr/src/php-4.3.1 -I/usr/loca
l/httpd-v2/include -I/usr/src/php-4.3.1/Zend -I/usr/local/mysql/include/mysq
l -I/usr/src/php-4.3.1/ext/xml/expat  -I/usr/src/php-4.3.1/TSRM  -g -O2  -pr
efer-pic -c /usr/src/php-4.3.1/ext/mysql/php_mysql.c -o
ext/mysql/php_mysql.lo
/bin/sh libtool --silent --mode=compile
gcc  -Iext/overload/ -I/usr/src/php-4.3.1/ext/overload/ -DPHP_ATOM_INC -I/us
r/src/php-4.3.1/include -I/usr/src/php-4.3.1/main -I/usr/src/php-4.3.1 -I/us
r/local/httpd-v2/include -I/usr/src/php-4.3.1/Zend -I/usr/local/mysql/includ
e/mysql -I/usr/src/php-4.3.1/ext/xml/expat  -I/usr/src/php-4.3.1/TSRM  -g -O
2  -prefer-pic -c /usr/src/php-4.3.1/ext/overload/overload.c -o
ext/overload/overload.lo
/bin/sh libtool --silent --mode=compile
gcc -DSUPPORT_UTF8 -DLINK_SIZE=2 -I/usr/src/php-4.3.1/ext/pcre/pcrelib -Iext
/pcre/ -I/usr/src/php-4.3.1/ext/pcre/ -DPHP_ATOM_INC -I/usr/src/php-4.3.1/in
clude -I/usr/src/php-4.3.1/main -I/usr/src/php-4.3.1 -I/usr/local/httpd-v2/i
nclude -I/usr/src/php-4.3.1/Zend -I/usr/local/mysql/include/mysql -I/usr/src
/php-4.3.1/ext/xml/expat  -I/usr/src/php-4.3.1/TSRM  -g -O2  -prefer-pic -c
/usr/src/php-4.3.1/ext/pcre/pcrelib/maketables.c -o
ext/pcre/pcrelib/maketables.lo
/bin/sh libtool --silent --mode=compile
gcc -DSUPPORT_UTF8 -DLINK_SIZE=2 -I/usr/src/php-4.3.1/ext/pcre/pcrelib -Iext
/pcre/ -I/usr/src/php-4.3.1/ext/pcre/ -DPHP_ATOM_INC -I/usr/src/php-4.3.1/in
clude -I/usr/src/php-4.3.1/main -I/usr/src/php-4.3.1 -I/usr/local/httpd-v2/i
nclude -I/usr/src/php-4.3.1/Zend -I/usr/local/mysql/include/mysql -I/usr/src
/php-4.3.1/ext/xml/expat  -I/usr/src/php-4.3.1/TSRM  -g -O2  -prefer-pic -c
/usr/src/php-4.3.1/ext/pcre/pcrelib/get.c -o ext/pcre/pcrelib/get.lo
/bin/sh libtool --silent --mode=compile
gcc -DSUPPORT_UTF8 -DLINK_SIZE=2 -I/usr/src/php-4.3.1/ext/pcre/pcrelib -Iext
/pcre/ -I/usr/src/php-4.3.1/ext/pcre/ -DPHP_ATOM_INC -I/usr/src/php-4.3.1/in
clude -I/usr/src/php-4.3.1/main -I/usr/src/php-4.3.1 -I/usr/local/httpd-v2/i
nclude -I/usr/src/php-4.3.1/Zend -I/usr/local/mysql/include/mysql -I/usr/src
/php-4.3.1/ext/xml/expat  -I/usr/src/php-4.3.1/TSRM  -g -O2  -prefer-pic -c
/usr/src/php-4.3.1/ext/pcre/pcrelib/study.

php-install Digest 1 Apr 2003 05:39:03 -0000 Issue 1316

2003-03-31 Thread php-install-digest-help

php-install Digest 1 Apr 2003 05:39:03 - Issue 1316

Topics (messages 10461 through 10468):

Re: Oracle 8i with php 4.3.1 debug.log
10461 by: Thies C. Arntzen

Query String Help!
10462 by: Michael Scappa
10463 by: Matt Schroebel
10464 by: Michael Scappa

php 4.3.1 on Solaris 9 with Iplanet webserver 6.0
10465 by: Dave Gargan

Compiling against 64 bit Oracle
10466 by: Tom Tsongas
10467 by: Jim Thome

problem with the url query string--"Notice: Undefined variable"
10468 by: Isidro Hernandez Guillen

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 ---

what is your problem, you did not attach any log.

re,
tc
--- End Message ---
--- Begin Message ---
I just finished installing PHP 4.3.1, and for some reason when a page has a query 
string, it won't read the first key/value pair of the string. All of the rest seem to 
work fine, just not the first. It reads it as being blank (however it appearently is 
setting the variable name). 

For example:

results.php?term=023S&Program_Code=ART&Submit=Search

is my qs. The term=023S does not get set, although $term (or specifically $_GET[term]) 
does become a variable (just the value is not set). This works with any order, 
whichever key/value pair comes first (so I know its not a problem with $term being 
overwritten later).

Whats even more interesting, is after I'm onthe results.php page (And the $term 
doesn't work), I can hit refresh and it does all of a sudden. Any thoughts? Anyone? 
Please i'm lost on this, it worked before the upgrade which makes me thing possibly 
its a configuration thing? Heck call me at the # below if you have any ideas :-) or 
just email back.


Michael Scappa
Web Developer
Verve Internet Solutions
> for higher education
228 Krams Ave., Suite 300
Philadelphia, PA 19127
p: 215.508.4920
f: 215.508.4590
toll free: 1 866-672-2666
http://www.verveinternet.com
>Verve is a division of MRB Communications, Inc--- End Message ---
--- Begin Message ---

> -Original Message-
> From: Michael Scappa [mailto:[EMAIL PROTECTED] 
> Sent: Monday, March 31, 2003 1:47 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] Query String Help!
> 
> 
> I just finished installing PHP 4.3.1, and for some reason 
> when a page has a query string, it won't read the first 
> key/value pair of the string. All of the rest seem to work 
> fine, just not the first. It reads it as being blank (however 
> it appearently is setting the variable name). 

Turn register_globals back on in php.ini
 
--- End Message ---
--- Begin Message ---
Matt,

It is. Like I said all other variables being posted via the query string
work fine, its only the first key/value pair.

-Mike

- Original Message -
From: "Matt Schroebel" <[EMAIL PROTECTED]>
To: "Michael Scappa" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, March 31, 2003 2:21 PM
Subject: RE: [PHP-INST] Query String Help!


>
> > -Original Message-
> > From: Michael Scappa [mailto:[EMAIL PROTECTED]
> > Sent: Monday, March 31, 2003 1:47 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-INST] Query String Help!
> >
> >
> > I just finished installing PHP 4.3.1, and for some reason
> > when a page has a query string, it won't read the first
> > key/value pair of the string. All of the rest seem to work
> > fine, just not the first. It reads it as being blank (however
> > it appearently is setting the variable name).
>
> Turn register_globals back on in php.ini
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
Hello everyone.  I'm trying to get php 4.3.1 installed and working with
Iplanet Webserver 6.0 on a Solaris 9 box.  Here is the configure string I
am using:

../configure --with-mysql=/opt/sfw/mysql \
--with-nsapi=/usr/iplanet/iws \
--enable-track-vars \
--enable-libgcc

I had to hack the Makefile a little so that if finds the mysql libs
properly.  I commented out the for loop where it attempts to find
libmysqlclient.* and hard coded MYSQL_LIB_DIR=/opt/sfw/mysql/lib/mysql
around line 47933.  No biggie, it compiles without errors now.

However, though it will go through make and make install without errors,
the libphp4.so never gets created or installed.  I tried version 4.3.0 of
php with the same problem, libphp4.so never gets built.

Has anyone else seen this before?  I haven't found any fixes after some
google searches for this problem.

Dave


--- End Message ---
--- Begin Message ---
Hey gang.

I have successfully built PHP 4.3.1 against our older 32 bit Oracle 
installation but my colleague has recently upgraded our new server to 
the 64

php-install Digest 1 Apr 2003 20:15:33 -0000 Issue 1317

2003-04-01 Thread php-install-digest-help

php-install Digest 1 Apr 2003 20:15:33 - Issue 1317

Topics (messages 10469 through 10473):

The Document contains no data
10469 by: Sander Sokk

mcrypt configuration issues
10470 by: Ray Aspeitia
10471 by: Ray Aspeitia

Re: PHP make failure...
10472 by: Tom Tsongas
10473 by: Tom Tsongas

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!

System:
Debian chroot potato dist-upgraded to Woody
kernel 2.4.18
Memory 393216k
Processor 267.277 MHz
On real debian Woody
On Real server runs also second chrooted debian which works just fine 
(PHP 4.1.2 ,apache-ssl DSO ) OK that is not the case.

My problem is following. Im trying desperatedly to get work php 4.3.1 on
first chrooted debian. I installed following packs or sources with keys:
mod_ssl-2.8.13-1.3.27# ./configure --with-apache=../apache_1.3.27
First time I also compiled "mm" support in, but just in case disabled 
it. OK next I compiled apache with following keys:

apache_1.3.27# SSL_BASE=/usr/local/ssl/ ./configure --enable-module=ssl\
--enable-shared=ssl --enable-module=rewrite --enable-shared=rewrite 
--enable-module=expires --enable-shared=expires \
--enable-module=mime_magic --enable-shared=mime_magic 
--enable-module=unique_id --enable-shared=unique_id \
--enable-shared=max
and then make and make install. All went just fine.

I have openssl version 0.9.7 installed

Then I added AUTHPG module for apache ( modified Makefile in sourcedir) 
and make and then executed following

/AuthPG-1.3# /usr/local/apache/bin/apxs -i -a -n auth_pg mod_auth_pg.so

I have Postgres 7.3.2 compiled from source.
Again all went fine and after i modified httpd.conf file and brought 
server up with apachectl I was able to authenticate myself and view html 
files.

Next thing was to add libcurl,libxml2 and libxslt to system and later I 
discovered that bison is also needed, so i apt-get bison ( version 1.35) 
and compiled from source curl (7.10.3) libxml2(20504) libxslt(10027)

Ok, next thing to do was to compile php support, so i fetched version 
4.3.1 from net and started it compile with such keys:
Sources/php4# ./configure --enable-track-vars --enable-filepro 
--enable-ftp --enable-sockets --enable-bcmath --enable-yp --enable-ctype 
--enable-wwdx --with-gettext --enable-exif --with-ndbm --with-iconv \
--enable-mbstring --with-zlib --with-pcre-regex=/usr --prefix=/usr/php 
--with-pgsql=shared,/usr/local/pgsql/ --with-curl=shared,/usr/curl
--with-xml --with-expat-dir=/usr --with-dom=shared,/usr/libxml 
--with-zlib-dir=/usr --with-mysql=no --with-apxs=/usr/local/apache/bin/apxs

Ok it compiled, make and make install. Then I modified httpd.conf and added:

LoadModule php4_modulelibexec/libphp4.so
AddModule mod_php4.c

DirectoryIndex index.php3 index.php4 index.php index.html

AddType application/x-httpd-php .php .php3 .php4

I copied php.ini to right location and then tried something like this

$php phpinfo.php > index.html

File phpinfo consists following



Normally should this produce me html file (phpinfo function output), but
i get answers without html tags like this:
phpinfo()
PHP Version => 4.3.1
System => Linux rks2 2.4.18-686 #1 Sun Apr 14 11:32:47 EST 2002 i686
Build Date => Apr  1 2003 12:11:31
Configure Command =>  './configure' '--enable-track-vars' 
'--enable-trans-id' '--enable-filepro' '--enable-ftp' '--enable-sockets' 
'--enable-bcmath' '--enable-yp' '--enable and so on
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/php/lib/php.ini
PHP API => 20020918
PHP Extension => 20020429
Zend Extension => 20021010
Debug Build => no
Thread Safety => disabled
Registered PHP Streams => php, http, ftp, compress.zlib

and so on .

and my second problem was that if I wanted to view any php files from 
http i ended with following "The Document contains no data" and in 
apache error log was segfaults:

[Tue Apr  1 12:39:09 2003] [notice] SIGHUP received.  Attempting to restart
[Tue Apr  1 12:39:11 2003] [notice] Apache configured -- resuming normal 
operations
[Tue Apr  1 12:39:11 2003] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Tue Apr  1 12:40:47 2003] [notice] child pid 28537 exit signal 
Segmentation fault (11)
[Tue Apr  1 12:40:47 2003] [notice] child pid 28536 exit signal 
Segmentation fault (11)
[Tue Apr  1 12:40:47 2003] [notice] child pid 28535 exit signal 
Segmentation fault (11)
[Tue Apr  1 12:40:48 2003] [notice] child pid 28566 exit signal 
Segmentation fault (11)
[Tue Apr  1 12:40:48 2003] [notice] child pid 28539 exit signal 
Segmentation fault (11)
[Tue Apr  1 12:40:48 2003] [notice] child pid 28538 exit signal 
Segmentation fault (11)
[Tue Apr  1 12:40:49 2003] [notice] child pid 28

php-install Digest 2 Apr 2003 08:21:31 -0000 Issue 1318

2003-04-02 Thread php-install-digest-help

php-install Digest 2 Apr 2003 08:21:31 - Issue 1318

Topics (messages 10474 through 10475):

php install problem on solaris 2.6
10474 by: joshua dern

$B%$%s%9%H!<%k$N4pK\$N4pK\$N--- Begin Message ---
banging my head against the wall here... have tried numerous time to 
build apache 1.3.27 and php 4.3.1 on a solaris 2.6 box with no success 
either as a DSO or static. i tried using the same exact method that was 
successful on one of my other solaris 2.6 boxes; however, resulted in a 
message from configure saying there's an error. i've searched all over 
for reference and tried everything i could find or think of all 
resulting in segmentation faults or compile failures.

here's the output of my debug.log. any advice would be greatly 
appreciated.

CONFIGURE:   './configure' '--with-apache=../apache_1.3.27' 
'--with-mysql=/opt/mysql' '--with-zlib=/usr/local' 
'--with-png-dir=/usr/local' '--with-gd=/usr/local' 
'--with-jpeg-dir=/usr/local' '--enable-track-vars' '--enable-libgcc' 
'--enable-ftp'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS:-D_POSIX_PTHREAD_SEMANTICS
CXX:
CXXFLAGS:
INCLUDES:-I$(top_builddir)/Zend -I/usr/local/include 
-I/opt/mysql/include
LDFLAGS: -R/usr/ucblib -L/usr/ucblib 
-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3 
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3 -R/usr/local/lib 
-L/usr/local/lib -R/opt/mysql/lib -L/opt/mysql/lib
LIBS:   -lmysqlclient -lgd -lpng -lz -ljpeg -lz -lcrypt -lresolv 
-lm -lsocket  -lgcc -lcrypt
DLIBS:
SAPI:   apache
PHP_RPATHS:  /usr/ucblib 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3 /usr/local/lib 
/opt/mysql/lib
uname -a:   SunOS xxx.atlantic-records.com 5.6 Generic_105181-23 sun4u 
sparc SUNW,Ultra-250

gcc -o conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS  -R/usr/ucblib 
-L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3 
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3 -R/usr/local/lib 
-L/usr/local/lib -R/opt/mysql/lib -L/opt/mysql/lib conftest.c 
-lmysqlclient -lgd -lpng -lz -ljpeg -lz -lcrypt -lresolv -lm -lsocket  
-lgcc -lcrypt 1>&5	

--- End Message ---
--- Begin Message ---
$B$O$8$a$^$7$F!#NI$G$9!##P#H#P$r#W#i#n#n#d#o#w#s#N#T$G!"#I#I#S$G%$%s%9%H!<%k$7(B
$B$?$$$N$G$9$,!"%$%s%9%H!<%i!<$G%$%s%9%H!<%k$7$?>l9g!"%$%s%9%H!<%k$,=*N;$7$?$"(B
$B$H!"[EMAIL PROTECTED]($J$1$l$P$J$i$J$$$N$G$7$g$&$+!#$?$H$($P!"%U%!%$%k$N%G%#%l%/(B
$B%H%j$rJQ$([EMAIL PROTECTED]@%$%s%9%H!<[EMAIL 
(BPROTECTED]"#P#H#P$,A4$/F0$+$:!"!%#p#h(B
$B#p$N%U%!%$%k$r#W#e#b%5!<%P$N%k!<%H%G%#%l%/%H%j$K:[EMAIL 
(BPROTECTED]"$J$K$bI=<($5$l$^(B
$B$;$s!#$I$&$7$?$i$h$$$+$^$?!"%$%s%9%H!<%k$N\$7$/65$([EMAIL PROTECTED](B
$B$7$g$&$+!!(B--- End Message ---


php-install Digest 3 Apr 2003 14:45:38 -0000 Issue 1319

2003-04-03 Thread php-install-digest-help

php-install Digest 3 Apr 2003 14:45:38 - Issue 1319

Topics (messages 10476 through 10478):

Re: The Document contains no data
10476 by: Michael Mauch
10478 by: Sander Sokk

Re: php and Apache won't play nice
10477 by: Michael Mauch

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 ---
Sander Sokk <[EMAIL PROTECTED]> wrote:

> $php phpinfo.php > index.html
> 
> File phpinfo consists following
> 
> 
> 
> Normally should this produce me html file (phpinfo function output), but
> i get answers without html tags like this:

This is ok. Since PHP 4.3.0 the command line (CLI) version of PHP does
not produce HTML tags in phpinfo() anymore.

> and my second problem was that if I wanted to view any php files from 
> http i ended with following "The Document contains no data" and in 
> apache error log was segfaults:

> [Tue Apr  1 12:40:47 2003] [notice] child pid 28537 exit signal 
> Segmentation fault (11)

That's a problem, of course. You are using a lot of extensions - you
could try with the minimal set, i.e. only

./configure --with-apxs=/usr/local/apache/bin/apxs --prefix=/usr/php

Then see if it works and add the other options and extensions afterwards.

> Sources/php4# ./configure --enable-track-vars --enable-filepro 
> --enable-ftp --enable-sockets --enable-bcmath --enable-yp --enable-ctype 
> --enable-wwdx --with-gettext --enable-exif --with-ndbm --with-iconv \

Typo (probably unrelated): --enable-wddx

> --enable-mbstring --with-zlib --with-pcre-regex=/usr --prefix=/usr/php 
> --with-pgsql=shared,/usr/local/pgsql/ --with-curl=shared,/usr/curl
> --with-xml --with-expat-dir=/usr --with-dom=shared,/usr/libxml 
> --with-zlib-dir=/usr --with-mysql=no --with-apxs=/usr/local/apache/bin/apxs

I don't know whether "--with-mysql=no" should work, normally it's
"--without-mysql".

Regards...
Michael
--- End Message ---
--- Begin Message ---
Michael Mauch wrote:
Sander Sokk <[EMAIL PROTECTED]> wrote:


$php phpinfo.php > index.html

File phpinfo consists following



Normally should this produce me html file (phpinfo function output), but
i get answers without html tags like this:


This is ok. Since PHP 4.3.0 the command line (CLI) version of PHP does
not produce HTML tags in phpinfo() anymore.

and my second problem was that if I wanted to view any php files from 
http i ended with following "The Document contains no data" and in 
apache error log was segfaults:


[Tue Apr  1 12:40:47 2003] [notice] child pid 28537 exit signal 
Segmentation fault (11)


That's a problem, of course. You are using a lot of extensions - you
could try with the minimal set, i.e. only
./configure --with-apxs=/usr/local/apache/bin/apxs --prefix=/usr/php

Then see if it works and add the other options and extensions afterwards.


Sources/php4# ./configure --enable-track-vars --enable-filepro 
--enable-ftp --enable-sockets --enable-bcmath --enable-yp --enable-ctype 
--enable-wwdx --with-gettext --enable-exif --with-ndbm --with-iconv \


Typo (probably unrelated): --enable-wddx


--enable-mbstring --with-zlib --with-pcre-regex=/usr --prefix=/usr/php 
--with-pgsql=shared,/usr/local/pgsql/ --with-curl=shared,/usr/curl
--with-xml --with-expat-dir=/usr --with-dom=shared,/usr/libxml 
--with-zlib-dir=/usr --with-mysql=no --with-apxs=/usr/local/apache/bin/apxs


I don't know whether "--with-mysql=no" should work, normally it's
"--without-mysql".
Regards...
Michael
Hello

Configured with

./configure --with-apxs=/usr/local/apache/bin/apxs

Same results.

Ok I tried backtrace, but this does'nt tell me much, so here is output

 gdb /usr/local/apache/bin/httpd 17864
GNU gdb 2002-04-01-cvs
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...(no debugging symbols found)...
Attaching to program: /usr/local/apache/bin/httpd, process 17864
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libcrypt.so.1...(no debugging symbols 
found)...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libdb.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdb.so.2
Reading symbols from /usr/lib/libexpat.so.1...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libexpat.so.1
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libc.so.6...(no debugging

php-install Digest 4 Apr 2003 03:49:19 -0000 Issue 1320

2003-04-03 Thread php-install-digest-help

php-install Digest 4 Apr 2003 03:49:19 - Issue 1320

Topics (messages 10479 through 10499):

Oracle 8 problem
10479 by: Frédéric Lhoest
10485 by: Jim Thome
10486 by: Jim Thome

PHP not accepting variables
10480 by: Anton Piatek
10481 by: Matt Schroebel
10482 by: Rich Gray
10483 by: Anton Piatek
10484 by: Matt Schroebel

Safe_mode / PHP3 and 4
10487 by: Ronan Lucio

OS Versions PHP compiles with
10488 by: Kevin Angus
10489 by: Rasmus Lerdorf

PHP with PDFlib installation on Windows
10490 by: Bill Hudspeth
10491 by: Matt Schroebel

mail function is not working
10492 by: Dorian Szekely
10493 by: Michael Scappa
10494 by: Dorian Szekely

Re: PHP on Apache on WinXP
10495 by: John

Re: PHP on Apache for Windows
10496 by: John

Re: "GET" method can not get variables
10497 by: John

Re: Apache 1.3.1 PHP4 Win XP troubles
10498 by: John

php upgrade truncates text
10499 by: Ronald Wiplinger

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 ---
Help !
 
I cannot install php with oci8 on my second server ... on the first one it was very 
easy ... Anyone can help ?
 
Here is the dump : 
 
---
[...]
alloc.lo Zend/zend_compile.lo Zend/zend_constants.lo Zend/zend_dynamic_array.lo 
Zend/zend_execute_API.lo Zend/zend_highlight.lo Zend/zend_llist.lo Zend/zend_opcode.lo 
Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo 
Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo 
Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo 
Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo 
Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/getopt.lo 
main/internal_functions_cli.lo -lcrypt -lcrypt -lpng -lz -lz -lresolv -lm -ldl -lnsl 
-ldl -lm -lclntsh -lcrypt -lcrypt  -o sapi/cli/php
/lib/libpthread.so.0: undefined reference to `_rtld_global'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
/lib/libpthread.so.0: undefined reference to [EMAIL PROTECTED]'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
[EMAIL PROTECTED]/php-4.3.2RC1]# ll
---
 
Error 

php-install Digest 4 Apr 2003 15:57:04 -0000 Issue 1321

2003-04-04 Thread php-install-digest-help

php-install Digest 4 Apr 2003 15:57:04 - Issue 1321

Topics (messages 10500 through 10501):

PHP 4.3.1 on Mac OS X - make fails when configured with --with-pgsql
10500 by: Barry C. Hawkins

Debug Log
10501 by: Pat Hynes

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 all,
	In an effort to stay off the superhighway of the general list, I have 
searched through the other lists and found this one.  Searching the 
archives showed that some other people had the error I am having back 
in 1998 - 2001.  Lucky me, bringing back the oldies.  Anyway, I am 
running Mac OS 10.2.4 with PostgreSQL 7.3.2, Apache 1.3.27, and PHP 
4.3.1.  I went back and reconfigured the 4.3.1 source using the 
following:

[powerbookg4:/Volumes/FR-HD75/php-4.3.1] barryh% ./configure 
--with-apxs --with-mysql=/usr/local/mysql --with-pgsql=/usr/local/pgsql 
--with-xml --with-zlib-dir=/usr/local

Configure completes without error (and probably some buried warning), 
and upon running make I get the following:

[powerbookg4:/Volumes/FR-HD75/php-4.3.1] barryh% make
.
. (vertical ellipsis to show success until...)
.
ld: table of contents for archive: /usr/local/pgsql/lib/libpq.a is out 
of date; rerun ranlib(1) (can't load from it)
make: *** [libs/libphp4.bundle] Error 1

	The old postings refer to running "ldconfig" and "ldconfig -v" and 
regrettably I have no idea what that is.  I can tell you it's not a 
command in the 4.3.1 source directory 8^).  I even reconfigured, 
compiled, and reinstalled PostgreSQL 7.3.2 to see if that would bring 
"libpq.a up to date" - no dice.  To assure everyone, yes, 
/usr/local/pgsql is my valid install directory for PostgreSQL.  Thanks 
in advance for any insight.

Awaiting enlightenment,
--
Barry C. Hawkins
Systems Consultant
All Things Computed
404-795-9147 voice/fax
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---



 
--- End Message ---


php-install Digest 5 Apr 2003 07:09:12 -0000 Issue 1322

2003-04-04 Thread php-install-digest-help

php-install Digest 5 Apr 2003 07:09:12 - Issue 1322

Topics (messages 10502 through 10509):

Re: PHP 4.3.1 on Mac OS X - make fails when configured with --with-pgsql
10502 by: John
10503 by: Ray Aspeitia
10504 by: Barry C. Hawkins

Re: PHP on IIS
10505 by: Robert W. Catalano

Hold user on the home
10506 by: Ronan Lucio

cool site
10507 by: SaudiAfrah.com
10508 by: Michael Scappa

problem to the installation
10509 by: Milhouse Van Houten

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 ---
Here are some excellent docs on installing all sorts of software (PHP,
MySQL, Apache, etc.) for OS X.

http://www.entropy.ch/software/macosx/

Of course, these are prebuilt packages, not help on compiling.

"Barry C . Hawkins" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello all,
> In an effort to stay off the superhighway of the general list, I have
> searched through the other lists and found this one.  Searching the
> archives showed that some other people had the error I am having back
> in 1998 - 2001.  Lucky me, bringing back the oldies.  Anyway, I am
> running Mac OS 10.2.4 with PostgreSQL 7.3.2, Apache 1.3.27, and PHP
> 4.3.1.  I went back and reconfigured the 4.3.1 source using the
> following:
>
> [powerbookg4:/Volumes/FR-HD75/php-4.3.1] barryh% ./configure
> --with-apxs --with-mysql=/usr/local/mysql --with-pgsql=/usr/local/pgsql
> --with-xml --with-zlib-dir=/usr/local
>
> Configure completes without error (and probably some buried warning),
> and upon running make I get the following:
>
> [powerbookg4:/Volumes/FR-HD75/php-4.3.1] barryh% make
> .
> . (vertical ellipsis to show success until...)
> .
> ld: table of contents for archive: /usr/local/pgsql/lib/libpq.a is out
> of date; rerun ranlib(1) (can't load from it)
> make: *** [libs/libphp4.bundle] Error 1
>
> The old postings refer to running "ldconfig" and "ldconfig -v" and
> regrettably I have no idea what that is.  I can tell you it's not a
> command in the 4.3.1 source directory 8^).  I even reconfigured,
> compiled, and reinstalled PostgreSQL 7.3.2 to see if that would bring
> "libpq.a up to date" - no dice.  To assure everyone, yes,
> /usr/local/pgsql is my valid install directory for PostgreSQL.  Thanks
> in advance for any insight.
>
> Awaiting enlightenment,
> --
> Barry C. Hawkins
> Systems Consultant
> All Things Computed
> 404-795-9147 voice/fax
> [EMAIL PROTECTED]
>


--- End Message ---
--- Begin Message ---
Barry,

I'm running the same system and what I found was that you need to run 
the following command to update your compiler link table:

sudo ranlib /usr/local/pgsql/lib/libpq.a

try that command and recompile php. (ran under sudo because ranlib 
needs to be run by root)

Ray A.


Hello all,
	In an effort to stay off the superhighway of the general 
list, I have searched through the other lists and found this one. 
Searching the archives showed that some other people had the error I 
am having back in 1998 - 2001.  Lucky me, bringing back the oldies. 
Anyway, I am running Mac OS 10.2.4 with PostgreSQL 7.3.2, Apache 
1.3.27, and PHP 4.3.1.  I went back and reconfigured the 4.3.1 
source using the following:

[powerbookg4:/Volumes/FR-HD75/php-4.3.1] barryh% ./configure 
--with-apxs --with-mysql=/usr/local/mysql 
--with-pgsql=/usr/local/pgsql --with-xml --with-zlib-dir=/usr/local

Configure completes without error (and probably some buried 
warning), and upon running make I get the following:

[powerbookg4:/Volumes/FR-HD75/php-4.3.1] barryh% make
.
. (vertical ellipsis to show success until...)
.
ld: table of contents for archive: /usr/local/pgsql/lib/libpq.a is 
out of date; rerun ranlib(1) (can't load from it)
make: *** [libs/libphp4.bundle] Error 1

	The old postings refer to running "ldconfig" and "ldconfig 
-v" and regrettably I have no idea what that is.  I can tell you 
it's not a command in the 4.3.1 source directory 8^).  I even 
reconfigured, compiled, and reinstalled PostgreSQL 7.3.2 to see if 
that would bring "libpq.a up to date" - no dice.  To assure 
everyone, yes, /usr/local/pgsql is my valid install directory for 
PostgreSQL.  Thanks in advance for any insight.

Awaiting enlightenment,
--
Barry C. Hawkins
Systems Consultant
All Things Computed
404-795-9147 voice/fax
[EMAIL PROTECTED]
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--
--- End Message ---
--- Begin Message ---
Ray,
	Thanks so much for the tip!  I have to wait until tonight to try it, 
but I can't wait!  I keep all my source on a FireWire drive at home b/c 
this PowerBook is short on drive space.

Regards,

On Friday, April 4, 2003, at 11:01 AM, Ray Aspeitia wrote:

Barry,

I'm runn

php-install Digest 5 Apr 2003 19:19:42 -0000 Issue 1323

2003-04-05 Thread php-install-digest-help

php-install Digest 5 Apr 2003 19:19:42 - Issue 1323

Topics (messages 10510 through 10514):

problem to the installation
10510 by: Milhouse Van Houten
10512 by: Rasmus Lerdorf

File Upload Issues / Mandrake Linux v8.2 / PHP 4.2.3 -> 4.3.1
10511 by: Christophe Banal
10513 by: Rasmus Lerdorf
10514 by: Christophe Banal

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 have downloaded PHP 4.3.1 in php.net for Linux. When I execute ./configure 
--prefix=/php --with-mysql --with-apache2=/httpd-2.0.34 everything is ok. But, when I 
execute the command make after, I have two errors:  the use of `tempnam' is dangerou
s, better use `mkstemp' 
and a few style error: ext/mysql/libmysql/my_lib.o(.text+0x3c4): In function `my_dir':
/php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno'

Who can help me?

Thank you,
Benoit Tremblay--- End Message ---
--- Begin Message ---
There is no --with-apache2 switch.  Use --with-apxs2 and point it at your
apxs script.

But, keep in mind that Apache2+PHP is barely beta-quality and you are
likely to run into problems.  For any sort of production server, use
Apache-1.3.x

-Rasmus

On Sat, 5 Apr 2003, Milhouse Van Houten wrote:

> I have downloaded PHP 4.3.1 in php.net for Linux. When I execute ./configure 
> --prefix=/php --with-mysql --with-apache2=/httpd-2.0.34 everything is ok. But, when 
> I execute the command make after, I have there errors in the compilation, who can 
> help me???:
>
> In function `my_tempnam':
> /php-4.3.1/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is dangerou
> s, better use `mkstemp'
> ext/mysql/libmysql/my_lib.o(.text+0x3c4): In function `my_dir':
> /php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno'
> ext/mysql/libmysql/my_lib.o(.text+0x5ab): In function `my_stat':
> /php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno'
> ext/mysql/libmysql/my_malloc.o(.text+0xb7): In function `my_malloc':
> /php-4.3.1/ext/mysql/libmysql/my_malloc.c:24: undefined reference to `errno'
> ext/mysql/libmysql/my_realloc.o(.text+0xb0): In function `my_realloc':
> /php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined reference to `errno'
> ext/mysql/libmysql/my_delete.o(.text+0x71): In function `my_delete':
> /php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference to `errno'
> ext/mysql/libmysql/my_tempnam.o(.text+0x78):/php-4.3.1/ext/mysql/libmysql/my_tem
> pnam.c:108: more undefined references to `errno' follow
> collect2: ld returned 1 exit status
> make: *** [sapi/cgi/php] Error 1
>
--- End Message ---
--- Begin Message ---
Hello All,

I would appreciate any help in trouble shooting the following issue.

Current Installation:
Static Apache 1.3.27 w/ PHP 4.2.3
Mandrake Linux 8.2
With this installation file uploads have no issues.
New Installation
Static Apache 1.3.27 w/ PHP 4.3.1
Mandrake Linux 8.2 (same system as above)
With this installation the same script does not handle file uploads 
properly. The file upload variables are empty.

Other Installation
Static Apache 1.3.27 w/ PHP 4.3.1
Red Hat Linux v9 (different system)
With this installation file uploads have no issues.
Other Installation
Static Apache 1.3.27 w/ PHP 4.3.1
MacOS 10.2.4 (different system)
With this installation file uploads have no issues.up
I would like to upgrade the version of PHP which is currently running 
PHP 4.2.3 but without the functionality of file uploads I am unable to 
do so. Any ideas would be greatly appreciated.

Thank you,
Christophe Banal
--- End Message ---
--- Begin Message ---
Check for any php.ini differences between the working and non-working
installations.  Most like it is the register_globals setting that is
tripping you up.

-Rasmus

On Fri, 4 Apr 2003, Christophe Banal wrote:

> Hello All,
>
> I would appreciate any help in trouble shooting the following issue.
>
>
> Current Installation:
> Static Apache 1.3.27 w/ PHP 4.2.3
> Mandrake Linux 8.2
> With this installation file uploads have no issues.
>
> New Installation
> Static Apache 1.3.27 w/ PHP 4.3.1
> Mandrake Linux 8.2 (same system as above)
> With this installation the same script does not handle file uploads
> properly. The file upload variables are empty.
>
> Other Installation
> Static Apache 1.3.27 w/ PHP 4.3.1
> Red Hat Linux v9 (different system)
> With this installation file uploads have no issues.
>
>
> Other Installation
> Static Apache 1.3.27 w/ PHP 4.3.1
> MacOS 10.2.4 (different system)
> With this installation file uploads have no issues.up
>
>
> I would like to upgrade the version of PHP which is currently running
> PHP 4.2.3 but without the functionality of file uploads I am unable to
> do so. Any ideas would be greatly appreciated

php-install Digest 6 Apr 2003 14:42:04 -0000 Issue 1324

2003-04-06 Thread php-install-digest-help

php-install Digest 6 Apr 2003 14:42:04 - Issue 1324

Topics (messages 10515 through 10516):

Re: problem to the installation
10515 by: Milhouse Van Houten
10516 by: Rasmus Lerdorf

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 have try to install PHP with apache 1.3.27 but I have again the error when
I make:
ext/mysql/libmysql/my_tempnam.o(.text+0x40): In function `my_tempnam':
/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is
dangerous, better use `mkstemp'
ext/mysql/libmysql/my_lib.o(.text+0x3c4): In function `my_dir':
/php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno'
ext/mysql/libmysql/my_lib.o(.text+0x5ab): In function `my_stat':
/php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno'
ext/mysql/libmysql/my_malloc.o(.text+0xb7): In function `my_malloc':
/php-4.3.1/ext/mysql/libmysql/my_malloc.c:24: undefined reference to `errno'
ext/mysql/libmysql/my_realloc.o(.text+0xb0): In function `my_realloc':
/php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined reference to
`errno'
ext/mysql/libmysql/my_delete.o(.text+0x71): In function `my_delete':
/php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference to `errno'
ext/mysql/libmysql/my_tempnam.o(.text+0x78):/php-4.3.1/ext/mysql/libmysql/my
_tempnam.c:108: more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Erreur 1

Just before I have executed
./configure --prefix=/php --with-mysql --with-apache=/apache_1.3.27. Why
there errors? Who can help me? I use Linux Mandrake 9.1 with i586.

bye,
Benoit Tremblay

- Original Message -
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: "Milhouse Van Houten" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, April 05, 2003 2:37 AM
Subject: Re: [PHP-INST] problem to the installation


> There is no --with-apache2 switch.  Use --with-apxs2 and point it at your
> apxs script.
>
> But, keep in mind that Apache2+PHP is barely beta-quality and you are
> likely to run into problems.  For any sort of production server, use
> Apache-1.3.x
>
> -Rasmus
>
> On Sat, 5 Apr 2003, Milhouse Van Houten wrote:
>
> > I have downloaded PHP 4.3.1 in php.net for Linux. When I execute
./configure --prefix=/php --with-mysql --with-apache2=/httpd-2.0.34
everything is ok. But, when I execute the command make after, I have there
errors in the compilation, who can help me???:
> >
> > In function `my_tempnam':
> > /php-4.3.1/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is
dangerou
> > s, better use `mkstemp'
> > ext/mysql/libmysql/my_lib.o(.text+0x3c4): In function `my_dir':
> > /php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to
`errno'
> > ext/mysql/libmysql/my_lib.o(.text+0x5ab): In function `my_stat':
> > /php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to
`errno'
> > ext/mysql/libmysql/my_malloc.o(.text+0xb7): In function `my_malloc':
> > /php-4.3.1/ext/mysql/libmysql/my_malloc.c:24: undefined reference to
`errno'
> > ext/mysql/libmysql/my_realloc.o(.text+0xb0): In function `my_realloc':
> > /php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined reference to
`errno'
> > ext/mysql/libmysql/my_delete.o(.text+0x71): In function `my_delete':
> > /php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference to
`errno'
> >
ext/mysql/libmysql/my_tempnam.o(.text+0x78):/php-4.3.1/ext/mysql/libmysql/my
_tem
> > pnam.c:108: more undefined references to `errno' follow
> > collect2: ld returned 1 exit status
> > make: *** [sapi/cgi/php] Error 1
> >
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> _
> Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger
> http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France

_
Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger
http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France

--- End Message ---
--- Begin Message ---
Use your system's libmysql instead by specifying a path to your
--with-mysql switch.  Most likely you want: --with-mysql=/usr

-Rasmus

On Sun, 6 Apr 2003, Milhouse Van Houten wrote:

> I have try to install PHP with apache 1.3.27 but I have again the error when
> I make:
> ext/mysql/libmysql/my_tempnam.o(.text+0x40): In function `my_tempnam':
> /php-4.3.1/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is
> dangerous, better use `mkstemp'
> ext/mysql/libmysql/my_lib.o(.text+0x3c4): In function `my_dir':
> /php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to `

php-install Digest 5 Jun 2003 11:38:58 -0000 Issue 1409

2003-06-05 Thread php-install-digest-help

php-install Digest 5 Jun 2003 11:38:58 - Issue 1409

Topics (messages 11011 through 11013):

Imagick
11011 by: Jacob Marble

Re: 45443-343556
11012 by: mrose.dbc.mtview.ca.us

problem with LDAP in PHP 4.3.2
11013 by: delfin.feld.cvut.cz

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 ---
Hey all-
I'm trying to compile with Imagick 0.9.6 on Debian 3.0.  I untar'ed to
php-4.3.2/ext/imagick, made a new ./configure and gave the following
command:

CFLAGS="-O3 -march=athlon-xp" CPPFLAGS="-O3 -march=athlon-xp"
./configure --with-pgsql=/usr/local/pgsql --with-apxs2=/usr/local/apache2/bi
n/apxs --without-mysql --with-mssql --with-imagick

That works fine, then I do a make and after a few screenful's of text, I
get the following error:

/bin/sh /usr/src/php-4.3.2/libtool --silent --preserve-dup-deps --mode=link
gcc -export-dynamic -O3 -march=athlon-xp  -avoid-version -module -L/usr/loca
l/lib -L/usr/local/pgsql/lib  -R /usr/local/lib -R /usr/local/pgsql/lib
ext/ctype/ctype.lo ext/imagick/imagick.lo ext/mssql/php_mssql.lo
ext/overload/overload.lo ext/pcre/pcrelib/maketables.lo
ext/pcre/pcrelib/get.lo ext/pcre/pcrelib/study.lo ext/pcre/pcrelib/pcre.lo
ext/pcre/php_pcre.lo ext/pgsql/pgsql.lo ext/posix/posix.lo
ext/session/session.lo ext/session/mod_files.lo ext/session/mod_mm.lo
ext/session/mod_user.lo ext/standard/array.lo ext/standard/base64.lo
ext/standard/basic_functions.lo ext/standard/browscap.lo
ext/standard/crc32.lo ext/standard/crypt.lo ext/standard/cyr_convert.lo
ext/standard/datetime.lo ext/standard/dir.lo ext/standard/dl.lo
ext/standard/dns.lo ext/standard/exec.lo ext/standard/file.lo
ext/standard/filestat.lo ext/standard/flock_compat.lo
ext/standard/formatted_print.lo ext/standard/fsock.lo ext/standard/head.lo
ext/standard/html.lo ext/standard/image.lo ext/standard/info.lo
ext/standard/iptc.lo ext/standard/lcg.lo ext/standard/link.lo
ext/standard/mail.lo ext/standard/math.lo ext/standard/md5.lo
ext/standard/metaphone.lo ext/standard/microtime.lo ext/standard/pack.lo
ext/standard/pageinfo.lo ext/standard/parsedate.lo
ext/standard/quot_print.lo ext/standard/rand.lo ext/standard/reg.lo
ext/standard/soundex.lo ext/standard/string.lo ext/standard/scanf.lo
ext/standard/syslog.lo ext/standard/type.lo ext/standard/uniqid.lo
ext/standard/url.lo ext/standard/url_scanner.lo ext/standard/var.lo
ext/standard/versioning.lo ext/standard/assert.lo ext/standard/strnatcmp.lo
ext/standard/levenshtein.lo ext/standard/incomplete_class.lo
ext/standard/url_scanner_ex.lo ext/standard/ftp_fopen_wrapper.lo
ext/standard/http_fopen_wrapper.lo ext/standard/php_fopen_wrapper.lo
ext/standard/credits.lo ext/standard/css.lo ext/standard/var_unserializer.lo
ext/standard/ftok.lo ext/standard/aggregation.lo ext/standard/sha1.lo
ext/tokenizer/tokenizer.lo ext/xml/xml.lo ext/xml/expat/xmlparse.lo
ext/xml/expat/xmlrole.lo ext/xml/expat/xmltok.lo regex/regcomp.lo
regex/regexec.lo regex/regerror.lo regex/regfree.lo TSRM/TSRM.lo
TSRM/tsrm_strtok_r.lo TSRM/tsrm_virtual_cwd.lo main/main.lo main/snprintf.lo
main/spprintf.lo main/php_sprintf.lo main/safe_mode.lo
main/fopen_wrappers.lo main/alloca.lo main/php_scandir.lo main/php_ini.lo
main/SAPI.lo main/rfc1867.lo main/php_content_types.lo main/strlcpy.lo
main/strlcat.lo main/mergesort.lo main/reentrancy.lo main/php_variables.lo
main/php_ticks.lo main/streams.lo main/network.lo
main/php_open_temporary_file.lo main/php_logos.lo main/output.lo
main/memory_streams.lo main/user_streams.lo Zend/zend_language_parser.lo
Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo
Zend/zend_ini_scanner.lo Zend/zend_alloc.lo Zend/zend_compile.lo
Zend/zend_constants.lo Zend/zend_dynamic_array.lo Zend/zend_execute_API.lo
Zend/zend_highlight.lo Zend/zend_llist.lo Zend/zend_opcode.lo
Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo
Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo
Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo
Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo
Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_execute.lo
sapi/cli/php_cli.lo sapi/cli/getopt.lo
main/internal_functions_cli.lo -lcrypt -lcrypt -lpq -lsybdb -lresolv -lm -ld
l -lnsl -lMagick -lm -lcrypt -lcrypt  -o sapi/cli/php
ext/imagick/imagick.lo: In function `zif_imagick_begindraw':
ext/imagick/imagick.lo(.text+0x38bf): undefined reference to
`DrawAllocateContext'
ext/imagick/imagick.lo: In function `_php_imagick_clean_up_handle':
ext/imagick/imagick.lo(.text+0x7489): undefined reference to
`DrawDestroyContext'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
[EMAIL PROTECTED]:/usr/src/php-4.3.2#

What's up?  It looks like this has to do with the CLI and Imagick, so I
a

php-install Digest 6 Jun 2003 00:46:24 -0000 Issue 1410

2003-06-06 Thread php-install-digest-help

php-install Digest 6 Jun 2003 00:46:24 - Issue 1410

Topics (messages 11014 through 11018):

Compiling error in PHP 4.3.2
11014 by: Bix

Approved
11015 by: aleast.capri.it

PHP install help gettext
11016 by: Andrew Li

Re: Help for PHP Newbie!
11017 by: Emily Wrenholt

php.ini ignored
11018 by: Mat

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'm compiling with:

./configure --with-apxs --with-mysql=/usr --with-mcrypt=/usr/local/lib/ --wi
th-imap=/home/redhat/SOURCES/imap-2001a/ --with-imap-ssl=/usr/local/ssl --wi
th-dba --with-gd --with-jpeg-dir=/usr/local/lib --with-zlib-dir=/usr/local/l
ib --enable-gd-native-ttf --with-png-dir=/usr/local/lib

This worked fine with 4.3.1 and in 4.3.2 it configures fine, but under
make...

ext/gd/gd.lo: In function `zm_deactivate_gd':
/home/src/php-4.3.2/ext/gd/gd.c:382: undefined reference to
`gdFreeFontCache'
ext/gd/gd.lo: In function `zif_imagecolorat':
/home/src/php-4.3.2/ext/gd/gd.c:1855: undefined reference to
`gdImageBoundsSafe'
/home/src/php-4.3.2/ext/gd/gd.c:1863: undefined reference to
`gdImageBoundsSafe'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

Any ideas?

TIA. ;o)




--- End Message ---
--- Begin Message ---
Please see the attached file.--- End Message ---
--- Begin Message ---
Hi,
 
We are attempting to install PHP 4.3.2 on to windows XP using Apache as
our web server. When we try to start apache, the Warning message
appears: "Unkown(): Unable to load dynamic library
'c:\PHP\extensions\php_gettext.dll' - The specified module could not be
found." We have not been able to locate the php_gettext.dll file, and it
was suggested to try the libintl.dll file, but we have not had any
success with it. Can you please help us?
 
Thanks,
Andrew
[EMAIL PROTECTED]
 
--- End Message ---
--- Begin Message ---
Stephen:

I'm having exactly the same problems as Bud...and I
*have* followed all Installation instructions
(Numerous times) But my php files still are not parsed
and are displayed as text only.

When I start the Apache server from the Apache icon
(Not the short cut) It prints in the command prompt
"Apache/1.3.27  PHP/4.3.2 running..." So I feel
like I've done something right. :)

Any idea what I'm doing wrong?
I'm on WinXP. 

Thanks,

Emily
[EMAIL PROTECTED]


- Original Message - 
From: "Stephen" <[EMAIL PROTECTED]>
Newsgroups: php.install
To: "Bud Roble" <[EMAIL PROTECTED]>
Cc: "Installation Helplist (PHP)"
<[EMAIL PROTECTED]>
Sent: Tuesday, June 03, 2003 4:07 AM
Subject: Re: [PHP-INST] Help for PHP Newbie!


> Sounds like your Apache is not correctly set to pass
php files. Heres how it
> should be done:
> 
> Open httpd.conf
> 
> Search for "# Dynamic Shared Object (DSO) Support"
> This should show a long list of commented (lines
with # in front) lines.
> Scroll to the bottom of the list and add:
> 
> LoadModule php4_module C:/server/PHP/php4apache.dll
> 
> Ensure that this command actually points to
php4apache.dll. Also, you need
> to find and copy php4ts.dll into EXACTLY the same
directory as
> php4apache.dll.
> 
> If you continue to scroll down, the next session
after the "LoadModule"
> lines should be "AddModule". At the bottom of this
list, you need to add the
> line
> 
> AddModule mod_php4.c
> 
> Okay, so that is php installed, but next you need to
set it so that .php
> files are run using php! To do this, search for
> "# AddType allows you to tweak mime.types without
actually editing it, or
> to"
> You may already have a short list of options here,
all you need to add is
> 
> AddType application/x-httpd-php .php
> 
> This tells Apache that all files that end in .php
should be parsed using
> php. Your files should now be working! One other
feature you might like...
> by default Apache will search for an index.html file
to be display. You can
> change this to load any file you like. Just search
for
> "# DirectoryIndex: Name of the file or files to use
as a pre-written HTML"
> Below it you should see this
> 
> 
> DirectoryIndex index.html
> 
> 
> Simply add the files you would like to be displayed
by default. Apache works
> from left to right so this:
> 
> DirectoryIndex index.php index.html
> 
> Would first look for an "index.php" file, and if it
was not found, then
> search for an "index.html"
> 
> Good Luck
> 
> Stephen
> 
> - Original Message - 
> From: "Bud Roble"
<[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, June 03, 2003 6:23 AM
> Subject: [PHP-INST] Help for PHP Newbie!
> 
> 
> > I've installed PHP 4.3.2 with Apache 1.3 and
believe I've followed all the
> > configuring instructions to the letter.I
create the phpinfo.php script
> > file for testing and placed it in the C:/program
files/apache

php-install Digest 6 Jun 2003 13:02:57 -0000 Issue 1411

2003-06-06 Thread php-install-digest-help

php-install Digest 6 Jun 2003 13:02:57 - Issue 1411

Topics (messages 11019 through 11021):

can't get apache to start with php
11019 by: David Jennings
11021 by: Stephen

Re: Initialized PHP Module frequently
11020 by: andre.lagadec.education.gouv.fr

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'm getting the following error when I try to start apache

The Apache service named reported the following error:
>>> Cannot load C:/php-4.2.3-Win32/sapi/phpapache2.dll into server: The specified 
>>> module could not be found. .

Any suggestions

php version 4.3.2-Win32
apache version2.0.46-Win32-x86-no_scr.msi

So far I've tried putting the php4ts.dll and the php4apache2.dll in to the following 
dir's windows, windows\system, windows\system32, and the appach dir

I've added this line to the httpd.conf file

LoadModule php4_module c:/php-4.2.3-Win32/sapi/php4apache2.dll

and

AddType application/x-httpd-php .php .phtml .html
AddType application/x-httpd-php-source .phps

Any help please



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.487 / Virus Database: 286 - Release Date: 01/06/2003--- End Message ---
--- Begin Message ---
You need to put phpapache2.dll into C:/php-4.2.3-Win32/sapi/

You also need to copy the file called php4ts.dll into the SAME directory. If
you do not have both files in the same place, Apache will fail to start.

Stephen

- Original Message - 
From: "David Jennings" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 06, 2003 11:37 AM
Subject: [PHP-INST] can't get apache to start with php


I'm getting the following error when I try to start apache

The Apache service named reported the following error:
>>> Cannot load C:/php-4.2.3-Win32/sapi/phpapache2.dll into server: The
specified module could not be found. .

Any suggestions

php version 4.3.2-Win32
apache version2.0.46-Win32-x86-no_scr.msi

So far I've tried putting the php4ts.dll and the php4apache2.dll in to the
following dir's windows, windows\system, windows\system32, and the appach
dir

I've added this line to the httpd.conf file

LoadModule php4_module c:/php-4.2.3-Win32/sapi/php4apache2.dll

and

AddType application/x-httpd-php .php .phtml .html
AddType application/x-httpd-php-source .phps

Any help please



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.487 / Virus Database: 286 - Release Date: 01/06/2003


--- End Message ---
--- Begin Message ---
Hi,

There is no core created on the server.

I use the same libphp4.so on an other web server on the same machine, and I
have no problem of restart ns-httpd.

The problem seem to happen when there is a lot of users on the web server.

Can I modify obj.conf or magnus.conf to optimize the web server ?
Can I use perfdump to see more information ?

Can I optimize PHP to work fine with a lot of charge ?
For exeample with option  '--without-pear' '--disable-FEATURE'
'--disable-xml' in configure ?

AL

Andre Lagadec a écrit :

> Hello,
>
> On Sun Solaris with Iplanet 4.1 et PHP 4.2.3, I have theses messages on
> the error log
> of the Web server :
> [04/Jun/2003:16:04:54] info ( 7643): php4_init reports: Initialized PHP
> Module
> [04/Jun/2003:16:09:57] info ( 7679): php4_init reports: Initialized PHP
> Module
> [04/Jun/2003:16:11:12] info ( 7690): php4_init reports: Initialized PHP
> Module
> [04/Jun/2003:16:17:17] info ( 7742): php4_init reports: Initialized PHP
> Module
> [04/Jun/2003:16:17:25] info ( 7745): php4_init reports: Initialized PHP
> Module
> [04/Jun/2003:16:19:26] info ( 7761): php4_init reports: Initialized PHP
> Module
> [04/Jun/2003:16:37:52] info ( 7906): php4_init reports: Initialized PHP
> Module
> [04/Jun/2003:16:47:24] info ( 7985): php4_init reports: Initialized PHP
> Module
> [04/Jun/2003:16:48:40] info ( 7992): php4_init reports: Initialized PHP
> Module
> [04/Jun/2003:16:50:04] info ( 8002): php4_init reports: Initialized PHP
> Module
> [04/Jun/2003:16:54:13] info ( 8032): php4_init reports: Initialized PHP
> Module
>
> And at the same time, I have theses other messages on the console :
> Jun  4 16:04:53 server1 uxwdog[23185]: server terminated (signal 10):
> watchdog is restarting it
> Jun  4 16:09:56 server1 uxwdog[23185]: server terminated (signal 11):
> watchdog is restarting it
> Jun  4 16:11:12 server1 uxwdog[23185]: server terminated (signal 10):
> watchdog is restarting it
> Jun  4 16:17:24 server1 last message repeated 2 times
> Jun  4 16:19:25 server1 uxwdog[23185]: server terminated (signal 11):
> watchdog is restarting it
> Jun  4 16:37:51 server1 uxwdog[23185]: server terminated (signal 10):
> watc

php-install Digest 7 Jun 2003 11:51:39 -0000 Issue 1412

2003-06-07 Thread php-install-digest-help

php-install Digest 7 Jun 2003 11:51:39 - Issue 1412

Topics (messages 11022 through 11026):

CGI error - iis 4 system
11022 by: SF1100

Problem
11023 by: Andrew Summersgill

Missing OCX Control  message during install
11024 by: Todd McLean

Select Problem with PHP-4.3.1 Apache 2.0.40 Interbase 7
11025 by: shayb52.bezeqint

Re: Application
11026 by: nick.easysoft.com

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 have recently inherited the responsibility for an NT 4.0 server running
IIS 4.  I was told to install PHP on the server.  I downloaded the latest
version from PHP.net and followed the install instructions.  I created the
test.php file as suggest and it ran perfectly,  ONCE.  I have not been able
to duplicate it.  I have gone through all of the help I can find and cannot
seem to find what my problem is.

I am getting  the

CGI Error
The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are:

Most solutions I have found suggest that it is a rights issue but I cannot
determine what the correct rights should be.  Any suggestions would be
greatly appreciated.

If I run the "php -i " command it scrolls what appears to be the correct
html code.  According to the install files that means the program is
installed correctly

Thanks in advance
Shawn



--- End Message ---
--- Begin Message ---
hi i am running Apache version 2.x (latest version to date 06/06/03)  I have installed 
php as followed by install.txt and it will not read the .php files. I am trying to run 
a .php Board (free of charge from www.phpbb.com) and i cannot run it. I just get a 
Parent Directory.

To see for yourself please visit the site at http://213.78.150.215

Thank You.--- End Message ---
--- Begin Message ---
Installing PHP using the downloaded installer.  My system is a win200
server, service pack 3.  Installlation goes OK until the end when I get a
messaage stating I'm missing an OCX control and the web server cannot be
configured and must be configured manually.  I followed the instructions in
the install.txt, still not working.  Can anyone help?


--- End Message ---
--- Begin Message ---
hello,

i am installing Apache 2.0.40 and Php 4.3.1 and Interbase 7 and for some
reason i have problem when my code try to select from a database if the
query is update or insert delete etc. all works well until i try a select.

if i install interbase 6 or lower version then everything is ok.

also i tryed running the interbase as: --with-interbase=shared and load it
as extension but that failed too, also tryed to use an interbase.so of
version 6 when the actual installed interbase is 7 and that worked but
failes when doing transaction and blob stuff - which means - no good

any of you guys out there encountered that kind of problem? any idea ?

thanks ahead gmb.


--- End Message ---
--- Begin Message ---
Please see the attached file.--- End Message ---


php-install Digest 28 May 2003 08:16:13 -0000 Issue 1397

2003-05-28 Thread php-install-digest-help

php-install Digest 28 May 2003 08:16:13 - Issue 1397

Topics (messages 10969 through 10971):

Re: Solaris 8 , Apache 1.3.26 , php-4.3.1 install problems
10969 by: Michael Mauch
10971 by: Garrett, Matt M SITI-ITDIEEE

PHP4/Apache2
10970 by: David Peralta

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 ---
Matt M Siti-Itdieee Garrett wrote:

> I have build PHP 4.3.1 quite happily using
> ./configure  --with-apxs=/local/apache/bin/apxs --prefix=/local/php4 
> --with-config-file-path=/local/php4/lib
> 
> Done make , make install
> 
> Added the following to httpd.conf file
> 
> LoadModule php4_modulelibexec/libphp4.so
> ScriptAlias /php/ /local/apache/php/
> AddType application/x-httpd-php .php
> 
> AllowOverride None
> Options ExecCGI

I guess this one is the culprit. Everything above this line is ok for
mod_php, but this ExecCGI is only needed for CGI mode.

Regards...
Michael
--- End Message ---
--- Begin Message ---
Unfortunately removing Options ExecCGI
Makes no difference !

Any other suggestions

Thanks

Matt


Matthew Garrett
Unix System Support
Shell Information Technology International Limited
Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom

Tel: +44 (0)1224 81 8373 Other Tel: Internal 630 8373
Email: [EMAIL PROTECTED]
Internet: http://www.shell.com


> -Original Message-
> From: Michael Mauch [mailto:[EMAIL PROTECTED]
> Sent: 27 May 2003 17:06
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] Re: Solaris 8 , Apache 1.3.26 , php-4.3.1 install
> problems
> 
> 
> Matt M Siti-Itdieee Garrett wrote:
> 
> > I have build PHP 4.3.1 quite happily using
> > ./configure  --with-apxs=/local/apache/bin/apxs 
> --prefix=/local/php4 --with-config-file-path=/local/php4/lib
> > 
> > Done make , make install
> > 
> > Added the following to httpd.conf file
> > 
> > LoadModule php4_modulelibexec/libphp4.so
> > ScriptAlias /php/ /local/apache/php/
> > AddType application/x-httpd-php .php
> > 
> > AllowOverride None
> > Options ExecCGI
> 
> I guess this one is the culprit. Everything above this line is ok for
> mod_php, but this ExecCGI is only needed for CGI mode.
> 
> Regards...
>   Michael
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
--- End Message ---
--- Begin Message ---
Hi,

I'm trying to install PHP 4.3.1 as an apache2 (2.0.45) module in RH7.
I've followed the instructions in INSTALL file but the --activate-module
apache "configure" script options is no longer available. Is there
another way?

Thanks,

David 
--- End Message ---


php-install Digest 29 May 2003 04:42:11 -0000 Issue 1398

2003-05-29 Thread php-install-digest-help

php-install Digest 29 May 2003 04:42:11 - Issue 1398

Topics (messages 10972 through 10976):

ftp extension
10972 by: Matthias Redl

Antwort: [PHP-INST] ftp extension
10973 by: thomas.sinka.it-choice.de

Apache Authentication: htpasswd failed to create a password file on Solaris
10974 by: Atif Jakupovic

php-4.3.1 & apache_1.3.27 on Mac OS X Server
10975 by: Gregory Tomas Concepcion
10976 by: Jie Lu

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 just tried to use PHP's FTP functions, however I received the following
error.

> Call to undefined function: ftp_connect()

So I thought that PHP was not built with ftp, but I checked phpinfo() and it
says:

>'--enable-ftp=shared'

Then I verified if the extension is loaded in php.ini, where it is not. So I
added the following code:

if (!extension_loaded('ftp')) {
if (!dl('ftp.so')) {
exit;
}
}

to load it dynamically, but I get the following error:

> Unable to load dynamic library /usr/lib/php4/ftp.so: cannot
>open shared object file: No such file or directory

I verified the directory, "ftp.so" is not there.

Since I'm a linux newbie, my question is simple: Where do I get "ftp.so"
from and why is it not there, when PHP was built with "enable-ftp"

Thanks,
Matthias



--- End Message ---
--- Begin Message ---
>  Hi,
> 
>  I just tried to use PHP's FTP functions, however I received the 
following
>  error.
> 
>  > Call to undefined function: ftp_connect()
> 
>  So I thought that PHP was not built with ftp, but I checked phpinfo() 
and it
>  says:
> 
>  >'--enable-ftp=shared'
> 
>  Then I verified if the extension is loaded in php.ini, where it is not. 
So I
>  added the following code:
> 
>  if (!extension_loaded('ftp')) {
>  if (!dl('ftp.so')) {
>  exit;
>  }
>  }
> 
>  to load it dynamically, but I get the following error:
> 
>  > Unable to load dynamic library /usr/lib/php4/ftp.so: cannot
>  >open shared object file: No such file or directory
> 
>  I verified the directory, "ftp.so" is not there.
> 
>  Since I'm a linux newbie, my question is simple: Where do I get 
"ftp.so"
>  from and why is it not there, when PHP was built with "enable-ftp"
> 
>  Thanks,
>  Matthias
> 
> 
> 
> 
>  --
>  PHP Install Mailing List (http://www.php.net/)
>  To unsubscribe, visit: http://www.php.net/unsub.php
> 
Hi,

the easiest way would be to enable the ftp extension in the php.ini by 
uncommenting or inserting the following line:

extension=ftp.so

Regards,
Thomas
===
Thomas Sinka
mobil: +49 163 3 23 12 72
mailto: [EMAIL PROTECTED]

IT-Choice Software AG
Kaiserstraße 160-162, 76133 Karlsruhe, Germany
Tel.: +49(0)721-85 006-0, Fax: +49(0)721-85 006-77
www.it-choice.de, [EMAIL PROTECTED]

Amtsgericht Karlsruhe, HRB 9060
USt-Id Nr.: DE 812 950 635
Vorstand: Mirko Ketterer (Vorsitzender),
Stephanie Lehmann, Dirk Ludwig
Aufsichtsratsvorsitzender: Horst Gann
--- End Message ---
--- Begin Message ---
Hi,

I have installed apache 1.3.26 on Solaris 8 UNIX servers.
Now I want to start using basic authentication features.

I have tried to create a password file on my server using the htpasswd 
command, but it's failed.

./htpasswd -c ./auth/tsepasswd.file myuser
htpasswd: Cannot find ELF
Killed

Please could somebody help!

Thak you,

Atif--- End Message ---
--- Begin Message ---
I've followed the directions on php.net to install apache with php support
 on mac OS X server and have had success, but with a few warnings that i
am concerned about.

These are the warning messages i am receiving:

gcc  -DDARWIN -DTARGET=\"apache\" -DUSE_EXPAT -I./lib/expat-lite `./apaci`
\
  -o apache buildmark.o modules.o modules/php4/libphp4.a
modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a
lib/expat-lite/libexpat.a  -Lmodules/php4 -L../modules/php4
-L../../modules/php4 -lmodphp4  -lm
ld: warning -L: directory name (../modules/php4) does not exist
ld: warning -L: directory name (../../modules/php4) does not exist

Normally i wouldn't be too concerned with these warnings since php and
apache seemed to install fine after doing a make install, but when i try
to load a php page, all i get is raw php code mixed in with the html that
displays properly. Is there an additional step to the ones listed at
http://www.php.net/manual/en/install.macosx.php that i am overlooking?
Can anyone point me in the direction of where i should be looking to solve
my problem? I've successfully installed apache and php on a mac OS X
client machine with no problems, but we are migrating over to a server
machine and i have little experience with OS X server (10.2.6)
thanks
-Greg

--- End Message ---
--- Begin Message ---
Hi,

I guess yo

php-install Digest 29 May 2003 19:06:11 -0000 Issue 1399

2003-05-30 Thread php-install-digest-help

php-install Digest 29 May 2003 19:06:11 - Issue 1399

Topics (messages 10977 through 10979):

about apache 1.3.27 for SGI and PHP 4.2.3
10977 by: VIKRANT

Make fails :(  PHP 4.3.1, Solaris 2.6 Netscape Enterprise server 3.6
10978 by: Daniel Rubio

Compile error upgrading from 4.3.1 to 4.3.2
10979 by: Papo Napolitano

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 there
I have installed apache 1.3.24 for SGI and have it
running on my SGI box.
I did download PHP and made changes in the httpd.conf
but still php thing doesnt work.
whenever I try to click on php link it gives me the
php code and doesnt run the actual php script

plz help

__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
--- End Message ---
--- Begin Message ---
Hi list!!

I'm having a strange error during the make process for PHP 4.3.1, here 
are te configure options:

./configure --prefix=/apps/php-4.3.1 --with-pgsql=/apps/pgsql 
--with-nsapi=/apps/suitespot --without-mysql --enable-libgcc

No problems on configuration, but I've this error in the make process:

/bin/sh libtool --silent --mode=compile gcc  -Imain/ 
-I/export/home/drubior/src/php-4.3.1/main/ -DPHP_ATOM_INC 
-I/export/home/drubior/src/php-4.3.1/include 
-I/export/home/drubior/src/php-4.3.1/main 
-I/export/home/drubior/src/php-4.3.1 
-I/export/home/drubior/src/php-4.3.1/Zend -I/aplicacions/pgsql/include 
-I/export/home/drubior/src/php-4.3.1/ext/xml/expat 
-D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT 
-I/export/home/drubior/src/php-4.3.1/TSRM  -g -O2 -pthreads -DZTS 
-prefer-pic -c main/internal_functions.c -o main/internal_functions.lo
/bin/sh libtool --silent --mode=link gcc -g -O2 -pthreads -DZTS 
-prefer-pic  -rpath /export/home/drubior/src/php-4.3.1/libs 
-avoid-version -module -L/usr/ucblib 
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.1 
-L/aplicacions/pgsql/lib  -R /usr/ucblib -R 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.1 -R 
/aplicacions/pgsql/lib ext/ctype/ctype.lo ext/overload/overload.lo 
ext/pcre/pcrelib/maketables.lo ext/pcre/pcrelib/get.lo 
ext/pcre/pcrelib/study.lo ext/pcre/pcrelib/pcre.lo ext/pcre/php_pcre.lo 
ext/pgsql/pgsql.lo ext/posix/posix.lo ext/session/session.lo 
ext/session/mod_files.lo ext/session/mod_mm.lo ext/session/mod_user.lo 
ext/standard/array.lo ext/standard/base64.lo 
ext/standard/basic_functions.lo ext/standard/browscap.lo 
ext/standard/crc32.lo ext/standard/crypt.lo ext/standard/cyr_convert.lo 
ext/standard/datetime.lo ext/standard/dir.lo ext/standard/dl.lo 
ext/standard/dns.lo ext/standard/exec.lo ext/standard/file.lo 
ext/standard/filestat.lo ext/standard/flock_compat.lo 
ext/standard/formatted_print.lo ext/standard/fsock.lo 
ext/standard/head.lo ext/standard/html.lo ext/standard/image.lo 
ext/standard/info.lo ext/standard/iptc.lo ext/standard/lcg.lo 
ext/standard/link.lo ext/standard/mail.lo ext/standard/math.lo 
ext/standard/md5.lo ext/standard/metaphone.lo ext/standard/microtime.lo 
ext/standard/pack.lo ext/standard/pageinfo.lo ext/standard/parsedate.lo 
ext/standard/quot_print.lo ext/standard/rand.lo ext/standard/reg.lo 
ext/standard/soundex.lo ext/standard/string.lo ext/standard/scanf.lo 
ext/standard/syslog.lo ext/standard/type.lo ext/standard/uniqid.lo 
ext/standard/url.lo ext/standard/url_scanner.lo ext/standard/var.lo 
ext/standard/versioning.lo ext/standard/assert.lo 
ext/standard/strnatcmp.lo ext/standard/levenshtein.lo 
ext/standard/incomplete_class.lo ext/standard/url_scanner_ex.lo 
ext/standard/ftp_fopen_wrapper.lo ext/standard/http_fopen_wrapper.lo 
ext/standard/php_fopen_wrapper.lo ext/standard/credits.lo 
ext/standard/css.lo ext/standard/var_unserializer.lo 
ext/standard/ftok.lo ext/standard/aggregation.lo ext/standard/sha1.lo 
ext/tokenizer/tokenizer.lo ext/xml/xml.lo ext/xml/expat/xmlparse.lo 
ext/xml/expat/xmlrole.lo ext/xml/expat/xmltok.lo regex/regcomp.lo 
regex/regexec.lo regex/regerror.lo regex/regfree.lo TSRM/TSRM.lo 
TSRM/tsrm_strtok_r.lo TSRM/tsrm_virtual_cwd.lo main/main.lo 
main/snprintf.lo main/spprintf.lo main/php_sprintf.lo main/safe_mode.lo 
main/fopen_wrappers.lo main/alloca.lo main/php_ini.lo main/SAPI.lo 
main/rfc1867.lo main/php_content_types.lo main/strlcpy.lo 
main/strlcat.lo main/mergesort.lo main/reentrancy.lo 
main/php_variables.lo main/php_ticks.lo main/streams.lo main/network.lo 
main/php_open_temporary_file.lo main/php_logos.lo main/output.lo 
main/memory_streams.lo main/user_streams.lo Zend/zend_language_parser.lo 
Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo 
Zend/zend_ini_scanner.lo Zend/zend_alloc.lo Zend/zend_compile.lo 
Zend/zend_constants.lo Zend/zend_dynamic_array.lo 
Zend/zend_exec

php-install Digest 30 May 2003 15:06:44 -0000 Issue 1400

2003-05-31 Thread php-install-digest-help

php-install Digest 30 May 2003 15:06:44 - Issue 1400

Topics (messages 10980 through 10980):

freebsd build problemud
10980 by: david clark

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 am on a shared vserver running freebsd, & i'm trying to upgrade from php
4.0.6 to 4.3.2.

I am using the configure from my phpinfo, which is:

'./configure' '--with-apxs=/usr/local/www/bin/apxs'

'--with-config-file-path=/usr/local/www/etc' '--enable-versioning'
'--with-system-regex' '--disable-debug' '--enable-track-vars' '--without-gd'
'--without-mysql' '--with-zlib' '--with-imap=/usr/local'
'--with-mysql=/usr/local' '--prefix=/usr/local/www' 'i386--freebsd4.4'



I am in as su

make runs no problems

When i do make install, i get:

Installing PHP CLI binary: /usr/local/www/bin/

\Installing PHP CLI man page: /usr/local/www/man/man1/

Installing PHP SAPI module

[activating module `php4' in /usr/local/www/conf/httpd.conf]

cp libs/libphp4.so /usr/local/www/libexec/libphp4.so

cp: /usr/local/www/libexec/libphp4.so: Permission denied

apxs:Break: Command failed with rc=1

*** Error code 1

Stop in /usr/home/usr111074219/php-4.3.2.


--- End Message ---


php-install Digest 31 May 2003 14:10:13 -0000 Issue 1401

2003-06-01 Thread php-install-digest-help

php-install Digest 31 May 2003 14:10:13 - Issue 1401

Topics (messages 10981 through 10985):

Strange Error
10981 by: Rajib Momen

Re: freebsd build problemud
10982 by: heilo
10985 by: david clark

Access Violation
10983 by: Dieter Lunn

problems...IMAP/PHP
10984 by: db

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 running PHP on IIS 5.0 under Windows 2000. I just installed it on
an older machine that we are using for in-house web development. I am
having some rather strange errors. Maybe 4 out of 5 times, a page loads
perfectly fine. Then, the same page, w/o changing any coding at all,
loads up messed up. Some of the characters are missing, or changed, and
of course the site then fails to load properly. I know the code is fine,
because when I put it up on our real server it loads flawlessly 100% of
the time. I am totally baffled. Anyone ever see anything like this
before?
 
Best regards,
Rajib Momen

President, Director of I.T.
Boston Computing Network
http://www.bostoncomputing.net 
 
--- End Message ---
--- Begin Message ---
hi!

i run freebsd too, but i did not build php myself - i downloaded the package
http://www.freebsd.org/cgi/ports.cgi?query=%5Emod_php4-4.3.1&stype=name and
installed it with pkg_add (you have to have ports installed - you can do
this by typing /stand/sysinstall (if i remember correctly). I do not see any
special things you need from your configure?

.ma

david clark <[EMAIL PROTECTED]> [EMAIL PROTECTED] 16:52 Uhr:

> Hi,
> 
> i am on a shared vserver running freebsd, & i'm trying to upgrade from php
> 4.0.6 to 4.3.2.
> 
> I am using the configure from my phpinfo, which is:
> 
> './configure' '--with-apxs=/usr/local/www/bin/apxs'
> 
> '--with-config-file-path=/usr/local/www/etc' '--enable-versioning'
> '--with-system-regex' '--disable-debug' '--enable-track-vars' '--without-gd'
> '--without-mysql' '--with-zlib' '--with-imap=/usr/local'
> '--with-mysql=/usr/local' '--prefix=/usr/local/www' 'i386--freebsd4.4'
> 
> 
> 
> I am in as su
> 
> make runs no problems
> 
> When i do make install, i get:
> 
> Installing PHP CLI binary: /usr/local/www/bin/
> 
> \Installing PHP CLI man page: /usr/local/www/man/man1/
> 
> Installing PHP SAPI module
> 
> [activating module `php4' in /usr/local/www/conf/httpd.conf]
> 
> cp libs/libphp4.so /usr/local/www/libexec/libphp4.so
> 
> cp: /usr/local/www/libexec/libphp4.so: Permission denied
> 
> apxs:Break: Command failed with rc=1
> 
> *** Error code 1
> 
> Stop in /usr/home/usr111074219/php-4.3.2.
> 
>

--- End Message ---
--- Begin Message ---
hey,

that helped, but still having a problem:


===>  Extracting for mod_php4-4.3.1,1
>> Checksum OK for php-4.3.1.tar.bz2.
===>   mod_php4-4.3.1,1 depends on file: /usr/local/sbin/apxs - found
===>   mod_php4-4.3.1,1 depends on shared library: gd.2 - found
===>   mod_php4-4.3.1,1 depends on shared library: freetype.9 - not found
===>Verifying install for freetype.9 in /usr/ports/print/freetype2
==> Skipping freetype2-2.0.5 which is already installed.
===>   Returning to build of mod_php4-4.3.1,1
Error: shared library "freetype.9" does not exist
*** Error code 1

Stop in /usr/home/usr111074219/mod_php4.
*** Error code 1

Stop in /usr/home/usr111074219/mod_php4.
*** Error code 1

Stop in /usr/home/usr111074219/mod_php4.
*** Error code 1

Stop in /usr/home/usr111074219/mod_php4.
*** Error code 1

Stop in /usr/home/usr111074219/mod_php4.
*** Error code 1

Stop in /usr/home/usr111074219/mod_php4.


"Heilo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> hi!
>
> i run freebsd too, but i did not build php myself - i downloaded the
package
> http://www.freebsd.org/cgi/ports.cgi?query=%5Emod_php4-4.3.1&stype=name
and
> installed it with pkg_add (you have to have ports installed - you can do
> this by typing /stand/sysinstall (if i remember correctly). I do not see
any
> special things you need from your configure?
>
> .ma
>
> david clark <[EMAIL PROTECTED]> [EMAIL PROTECTED] 16:52 Uhr:
>
> > Hi,
> >
> > i am on a shared vserver running freebsd, & i'm trying to upgrade from
php
> > 4.0.6 to 4.3.2.
> >
> > I am using the configure from my phpinfo, which is:
> >
> > './configure' '--with-apxs=/usr/local/www/bin/apxs'
> >
> > '--with-config-file-path=/usr/local/www/etc' '--enable-versioning'
> > '--with-system-regex' '--disable-debug' '--enable-track-vars'
'--without-gd'
> > '--without-mysql' '--with-zlib' '--with-imap=/usr/local'
> > '--with-mysql=/usr/local' '--prefix=/usr/local/www' 'i386--freebsd4.4'
> >
> >
> >
> > I am in as su
> >
> > make runs no problems
> >
> > When i do make install, i get:
> >
> > Installing PHP CLI binary: /usr/local/www/bin/
> >
> > \Installing PHP CLI man page: /usr/local/www/man

php-install Digest 1 Jun 2003 02:47:51 -0000 Issue 1402

2003-06-01 Thread php-install-digest-help

php-install Digest 1 Jun 2003 02:47:51 - Issue 1402

Topics (messages 10986 through 10988):

Re: freebsd build problemud
10986 by: heilo

Php Downloading Even though set up by the book. Please help, Im lost..
10987 by: D. L.

First-timer
10988 by: David Wilson

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 ---
hm.. seems as if things are getting complicated :)

i experienced similar problems with building jsdk under freebsd. but i had
no problems with installing mod_php. i think this error occours because of
wrong versions. i just can tell you the package-dependencies (which includes
the versions):

mod_php4-4.3.1
apache-1.3.27_4
expat-1.95
autoconf213-2.13.000227_5
m4-1.4_1
mysql-client-3.23.56
libtool-1.3.4_4

So you have to install the packages in the following order:

expat-1.95
libtool-1.3.4_4
m4-1.4_1
mysql-client-3.23.56
autoconf213-2.13.000227_5
apache-1.3.27_4
mod_php4-4.3.1

do you have the right versions installed? you can test your packet-versions
with pkg_info

i did it this way... if this does not work i cannot help anymore :( sorry -
i'm a newbie on freeBSD myself.

.ma

david clark <[EMAIL PROTECTED]> [EMAIL PROTECTED] 16:02 Uhr:

> hey,
> 
> that helped, but still having a problem:
> 
> 
> ===>  Extracting for mod_php4-4.3.1,1
>>> Checksum OK for php-4.3.1.tar.bz2.
> ===>   mod_php4-4.3.1,1 depends on file: /usr/local/sbin/apxs - found
> ===>   mod_php4-4.3.1,1 depends on shared library: gd.2 - found
> ===>   mod_php4-4.3.1,1 depends on shared library: freetype.9 - not found
> ===>Verifying install for freetype.9 in /usr/ports/print/freetype2
> ==> Skipping freetype2-2.0.5 which is already installed.
> ===>   Returning to build of mod_php4-4.3.1,1
> Error: shared library "freetype.9" does not exist
> *** Error code 1
> 
> Stop in /usr/home/usr111074219/mod_php4.
> *** Error code 1
> 
> Stop in /usr/home/usr111074219/mod_php4.
> *** Error code 1
> 
> Stop in /usr/home/usr111074219/mod_php4.
> *** Error code 1
> 
> Stop in /usr/home/usr111074219/mod_php4.
> *** Error code 1
> 
> Stop in /usr/home/usr111074219/mod_php4.
> *** Error code 1
> 
> Stop in /usr/home/usr111074219/mod_php4.
> 
> 
> "Heilo" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> hi!
>> 
>> i run freebsd too, but i did not build php myself - i downloaded the
> package
>> http://www.freebsd.org/cgi/ports.cgi?query=%5Emod_php4-4.3.1&stype=name
> and
>> installed it with pkg_add (you have to have ports installed - you can do
>> this by typing /stand/sysinstall (if i remember correctly). I do not see
> any
>> special things you need from your configure?
>> 
>> .ma
>> 
>> david clark <[EMAIL PROTECTED]> [EMAIL PROTECTED] 16:52 Uhr:
>> 
>>> Hi,
>>> 
>>> i am on a shared vserver running freebsd, & i'm trying to upgrade from
> php
>>> 4.0.6 to 4.3.2.
>>> 
>>> I am using the configure from my phpinfo, which is:
>>> 
>>> './configure' '--with-apxs=/usr/local/www/bin/apxs'
>>> 
>>> '--with-config-file-path=/usr/local/www/etc' '--enable-versioning'
>>> '--with-system-regex' '--disable-debug' '--enable-track-vars'
> '--without-gd'
>>> '--without-mysql' '--with-zlib' '--with-imap=/usr/local'
>>> '--with-mysql=/usr/local' '--prefix=/usr/local/www' 'i386--freebsd4.4'
>>> 
>>> 
>>> 
>>> I am in as su
>>> 
>>> make runs no problems
>>> 
>>> When i do make install, i get:
>>> 
>>> Installing PHP CLI binary: /usr/local/www/bin/
>>> 
>>> \Installing PHP CLI man page: /usr/local/www/man/man1/
>>> 
>>> Installing PHP SAPI module
>>> 
>>> [activating module `php4' in /usr/local/www/conf/httpd.conf]
>>> 
>>> cp libs/libphp4.so /usr/local/www/libexec/libphp4.so
>>> 
>>> cp: /usr/local/www/libexec/libphp4.so: Permission denied
>>> 
>>> apxs:Break: Command failed with rc=1
>>> 
>>> *** Error code 1
>>> 
>>> Stop in /usr/home/usr111074219/php-4.3.2.
>>> 
>>> 
>> 
> 
> 

Matthias Steinböck
Email: [EMAIL PROTECTED]
Web: http://www.abendstille.at

Frühabendliches Webdesign.
--
Im Übrigen sind wir der Meinung, dass
Sie zu viel Butterbrote essen. Sie sollten
Sich was schämen! Misshandlung von
Butterbroten mit Zähnen gehört verboten!

--- End Message ---
--- Begin Message ---
I found out I needed to upgrade php to use something I wanted, so I followed the 
instruction on the php site for a install on apache 2 under redhat 8, installing from 
source the most current php and for some reason no matter what I do all php pages are 
prompted for download when I try to view them, and I get a blank page if I choose to 
download.  httpd.conf have all the correct peramiters in it, and should be working 
perfectly; All other aspects of the httpd are working perfectly, but not php even 
though from the dos 

php-install Digest 1 Jun 2003 20:00:25 -0000 Issue 1403

2003-06-02 Thread php-install-digest-help

php-install Digest 1 Jun 2003 20:00:25 - Issue 1403

Topics (messages 10989 through 10991):

installing php4 under OpenBSD 3.3 with mysql support
10989 by: Marcus Fredriksson
10991 by: Marcus Fredriksson

Upgrade 4.3.1 -> 4.3.2: CGI does not work anymore
10990 by: Sven Flossmann

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 all,

I have a freshly installed OpenBSD 3.3-box with mysql 3.23.55 and wish to
compile and install php4 from the ports-tree. The latest php4 in the
ports-branch for OpenBSD 3.3 is PHP 4.2.3. How do I compile php with mysql
support without having to build everything under
/usr/ports/www/php4/extensions/?

TIA,

///Marcus


--- End Message ---
--- Begin Message ---
"Marcus Fredriksson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all,
>
> I have a freshly installed OpenBSD 3.3-box with mysql 3.23.55 and wish to
> compile and install php4 from the ports-tree. The latest php4 in the
> ports-branch for OpenBSD 3.3 is PHP 4.2.3. How do I compile php with mysql
> support without having to build everything under
> /usr/ports/www/php4/extensions/?

I'll answer myself on this one. :-) Upon inspecting the makefile in
/usr/ports/www/php4/extensions, I found that the possible FLAVORS were
"inverted". That is, in order to compile php4 with mysql-support but nothing
else, I needed to set the FLAVOR environment variable to "no_pdf no_pgsql
no_shmop no_snmp no_sybase_ct no_.." and so on.

///Marcus


--- End Message ---
--- Begin Message ---
Hi,

we want to upgrade our PHP from 4.3.1 to 4.3.2 but now we have an problem.

We are using apache 2.0.46 with mod_php4. For some customers we are using
CGI-Version of PHP so that userid can be switched to the customers userid.
This works fine, but if php 4.3.2 module is loaded to apache, CGI-PHP does
not work anymore. All PHP-Scripts are executed from that module only.

I looked at changes file of php 4.3.2, and there is to see, that  "new
Apache 2.0 SAPI module" was added. I think, this could be the problem.

At now we are using following config:

Global:
LoadModule php4_modulemodules/libphp4.so
AddType application/x-httpd-php .php .phtml .php3

if we want to use cgi-version of php we are using following code snippet in
VirtualHost-Section:
Action  php3-script /cgi-bin/php
Action  php-script  /cgi-bin/php
AddHandler  php3-script .php3
AddHandler  php-script  .php

Does anyone has a solution to our problem?

May be disabling modules for virtualhosts?

Thanks,

regards Sven



--- End Message ---


php-install Digest 2 Jun 2003 13:22:20 -0000 Issue 1404

2003-06-02 Thread php-install-digest-help

php-install Digest 2 Jun 2003 13:22:20 - Issue 1404

Topics (messages 10992 through 10994):

LoadModule Help
10992 by: tmcclelland

Re: Make fails :(  PHP 4.3.1, Solaris 2.6 Netscape  Enterprise server 3.6
10993 by: Daniel Rubio

PWS 4 Win98 and PHP, "The page cannot be displayed"
10994 by: Craig Lewis

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, 

As you can probably guess I'm new to all this. I have installed the latest
version of Apache, and the latest version of PHP, on Windows 2000. I can
start the server fine but as soon as I change the httpd.conf file and add
the LoadModule section the server refuses to start.

I wonder if anyone can shed any light on this. I can run PHP under IIS 5.0
which I have installed and tried, but would prefer to use Apache. IIS has
been fully removed from the machine before the installation of Apache.

Hope someone can help.

King Regards

Tim


**
This email message and any files transmitted with it are confidential
and intended solely for the use of addressed recipient(s). If you have 
received this email in error please notify the Spotless IS Support Centre (61 3 9269 
7241) immediately who will advise further action.

This footnote also confirms that this email message has been scanned
for the presence of computer viruses.
**

--- End Message ---
--- Begin Message ---
FInally I found It

I was having an error with my installed bison, the error was showing in 
configure but with all this stuff in my window i didn't have seen it before.

Thanks Cris for your time

Cris Harrison wrote:
At 12:24 PM 5/29/2003 +0200, you wrote:

Hi list!!

I'm having a strange error during the make process for PHP 4.3.1, here 
are te configure options:

./configure --prefix=/apps/php-4.3.1 --with-pgsql=/apps/pgsql 
--with-nsapi=/apps/suitespot --without-mysql --enable-libgcc

No problems on configuration, but I've this error in the make process:

/bin/sh libtool --silent --mode=compile gcc  -Imain/ 
-I/export/home/drubior/src/php-4.3.1/main/ -DPHP_ATOM_INC 
-I/export/home/drubior/src/php-4.3.1/include 
-I/export/home/drubior/src/php-4.3.1/main 
-I/export/home/drubior/src/php-4.3.1 
-I/export/home/drubior/src/php-4.3.1/Zend -I/aplicacions/pgsql/include 
-I/export/home/drubior/src/php-4.3.1/ext/xml/expat 
-D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT 
-I/export/home/drubior/src/php-4.3.1/TSRM  -g -O2 -pthreads -DZTS 
-prefer-pic -c main/internal_functions.c -o main/internal_functions.lo
/bin/sh libtool --silent --mode=link gcc -g -O2 -pthreads -DZTS 
-prefer-pic  -rpath /export/home/drubior/src/php-4.3.1/libs 
-avoid-version -module -L/usr/ucblib 
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.1 
-L/aplicacions/pgsql/lib  -R /usr/ucblib -R 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/3.1 -R 
/aplicacions/pgsql/lib ext/ctype/ctype.lo ext/overload/overload.lo 
ext/pcre/pcrelib/maketables.lo ext/pcre/pcrelib/get.lo 
ext/pcre/pcrelib/study.lo ext/pcre/pcrelib/pcre.lo 
ext/pcre/php_pcre.lo ext/pgsql/pgsql.lo ext/posix/posix.lo 
ext/session/session.lo ext/session/mod_files.lo ext/session/mod_mm.lo 
ext/session/mod_user.lo ext/standard/array.lo ext/standard/base64.lo 
ext/standard/basic_functions.lo ext/standard/browscap.lo 
ext/standard/crc32.lo ext/standard/crypt.lo 
ext/standard/cyr_convert.lo ext/standard/datetime.lo 
ext/standard/dir.lo ext/standard/dl.lo ext/standard/dns.lo 
ext/standard/exec.lo ext/standard/file.lo ext/standard/filestat.lo 
ext/standard/flock_compat.lo ext/standard/formatted_print.lo 
ext/standard/fsock.lo ext/standard/head.lo ext/standard/html.lo 
ext/standard/image.lo ext/standard/info.lo ext/standard/iptc.lo 
ext/standard/lcg.lo ext/standard/link.lo ext/standard/mail.lo 
ext/standard/math.lo ext/standard/md5.lo ext/standard/metaphone.lo 
ext/standard/microtime.lo ext/standard/pack.lo 
ext/standard/pageinfo.lo ext/standard/parsedate.lo 
ext/standard/quot_print.lo ext/standard/rand.lo ext/standard/reg.lo 
ext/standard/soundex.lo ext/standard/string.lo ext/standard/scanf.lo 
ext/standard/syslog.lo ext/standard/type.lo ext/standard/uniqid.lo 
ext/standard/url.lo ext/standard/url_scanner.lo ext/standard/var.lo 
ext/standard/versioning.lo ext/standard/assert.lo 
ext/standard/strnatcmp.lo ext/standard/levenshtein.lo 
ext/standard/incomplete_class.lo ext/standard/url_scanner_ex.lo 
ext/standard/ftp_fopen_wrapper.lo ext/standard/http_fopen_wrapper.lo 
ext/standard/php_fopen_wrapper.lo ext/standard/credits.lo 
ext/standard/css.lo ext/standard/var_unserializer.lo 
ext/standard/ftok.lo ext/standard/aggregation.lo ext/standard/sha1.lo 
ext/tokenizer/tok

php-install Digest 3 Jun 2003 05:28:04 -0000 Issue 1405

2003-06-03 Thread php-install-digest-help

php-install Digest 3 Jun 2003 05:28:04 - Issue 1405

Topics (messages 10995 through 10999):

HTTPS & PHP - page cannot be displayed
10995 by: Karel van Zijl
10998 by: Jon Wagoner

Re: 45443-343556
10996 by: eriksson.php.net

PHP IMAP Installation problems...
10997 by: db

Help for PHP Newbie!
10999 by: Bud Roble

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,

Sometimes when I try to load a page on my secure webserver (HTTPS) I get an "page 
cannot be displayed" message from MS Internet Explorer. When I refresh the page after 
this message is shown, the page I wanted to load just loads as it should. I cannot 
figure out what the problem is, but it seems that the combination of PHP, SSL and 
perhaps somethings else too are responsible for it. It is very irritating, e.g.: 
someone has paid by CreditCard and get's an "page cannot be displayed" as a result 
page I've looked on the web for some answers but haven't found the solution yet. 
Hopefully someone on this mailing list does ;-)

Heres my configuration:

RedHat 7.2 Linux 2.4.9-34
PLESK 5.0.4 build 021223.16
Apache/1.3.27 (Unix) 
PHP/4.2.2 
 Configure Command:
  './configure' 
  '--with-apxs=/usr/local/psa/apache/bin/apxs' 
  '--prefix=/usr/local/psa/apache' 
  '--with-regex=php' 
  '--with-config-file-path=/usr/local/psa/apache/conf' 
  '--with-mysql=/usr/local/psa/mysql' 
  '--with-pgsql=/usr/local/pgsql' 
  '--with-imap=/root/imap-2002.DEV/imap-2002.DEV.SNAP-0205201832' 
  '--with-jpeg-dir=/usr/lib' 
  '--with-png-dir=/usr/lib' 
  '--with-xml' 
  '--with-openssl' 
  '--with-gettext' 
  '--with-curl' 
  '--with-mhash' 
  '--disable-debug' 
  '--without-iconv' 
  '--with-zlib-dir=/usr/lib' 
  '--enable-ftp' 
  '--enable-pear' 
  '--enable-calendar' 
  '--enable-bcmath' 
  '--enable-sockets' 
  '--enable-track-vars' 
  '--enable-dbase'
OpenSSL 0.9.6h



sONO Industries
Spaarnestraat 4a
2515 VN  The Hague
The Netherlands
t: +31(0)703819334
m: +31(0)650260781
f: +31(0)703816952
[EMAIL PROTECTED]

Dit e-mailbericht is uitsluitend bestemd voor de geadresseerde(n). Indien de e-mail 
bij vergissing bij u terecht is gekomen, wilt u ons dan direct bellen? Wij verzoeken u 
in dit geval de e-mail te vernietigen, de inhoud ervan niet te gebruiken en niet onder 
derden te verspreiden, omdat het bericht vertrouwelijke informatie kan bevatten. 
Telefoon: + 31 70 3 81 93 34

This e-mail message is intended exclusively for the addressee. If the e-mail was sent 
to you by mistake, would you please call us immediately? In that case, we also request 
you to destroy the e-mail and to neither use the contents or disclose them in any 
manner to third parties,because the message can contain confidential information. 
Telephone + 31 70 3 81 93 34

--- End Message ---
--- Begin Message ---
IE does not implement SSL according to standards, so the following needs to be in your 
Apache config to work around this, in your SSL VirtualHosts:

SetEnvIf User-Agent ".*MSIE.*" \
 nokeepalive ssl-unclean-shutdown \
 downgrade-1.0 force-response-1.0

-Original Message-
From: Karel van Zijl [mailto:[EMAIL PROTECTED]
Sent: Monday, June 02, 2003 11:03 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] HTTPS & PHP - page cannot be displayed


Hi,

Sometimes when I try to load a page on my secure webserver (HTTPS) I get an "page 
cannot be displayed" message from MS Internet Explorer. When I refresh the page after 
this message is shown, the page I wanted to load just loads as it should. I cannot 
figure out what the problem is, but it seems that the combination of PHP, SSL and 
perhaps somethings else too are responsible for it. It is very irritating, e.g.: 
someone has paid by CreditCard and get's an "page cannot be displayed" as a result 
page I've looked on the web for some answers but haven't found the solution yet. 
Hopefully someone on this mailing list does ;-)

Heres my configuration:

RedHat 7.2 Linux 2.4.9-34
PLESK 5.0.4 build 021223.16
Apache/1.3.27 (Unix) 
PHP/4.2.2 
 Configure Command:
  './configure' 
  '--with-apxs=/usr/local/psa/apache/bin/apxs' 
  '--prefix=/usr/local/psa/apache' 
  '--with-regex=php' 
  '--with-config-file-path=/usr/local/psa/apache/conf' 
  '--with-mysql=/usr/local/psa/mysql' 
  '--with-pgsql=/usr/local/pgsql' 
  '--with-imap=/root/imap-2002.DEV/imap-2002.DEV.SNAP-0205201832' 
  '--with-jpeg-dir=/usr/lib' 
  '--with-png-dir=/usr/lib' 
  '--with-xml' 
  '--with-openssl' 
  '--with-gettext' 
  '--with-curl' 
  '--with-mhash' 
  '--disable-debug' 
  '--without-iconv' 
  '--with-zlib-dir=/usr/lib' 
  '--enable-ftp' 
  '--enable-pear' 
  '--enable-calendar' 
  '--enable-bcmath' 
  '--enab

php-install Digest 3 Jun 2003 18:58:42 -0000 Issue 1406

2003-06-04 Thread php-install-digest-help

php-install Digest 3 Jun 2003 18:58:42 - Issue 1406

Topics (messages 11000 through 11002):

No input file specified.
11000 by: PHP User

Re: Help for PHP Newbie!
11001 by: Stephen

Unable to get pages to load
11002 by: B Hodge

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 have installed php and configured it per the install manual.
I associated .php extensions to run php scripts via the php interpreter and
ran the test.php script successfully.
I then configured my Netscape 3.63 server mime-types to support php as
magnus-internal/shellcgi
Then I enabled php extensions to run on  Netscape 3.63.
When I first ran test.php via webserver I got the security alert about
accessing php cgi's directly so I modified the php.ini file
cgi.force_redirect = 0 and now all I get is "No input file specified" when I
try to load the same test.php script.
Can someone help me with this please.



--- End Message ---
--- Begin Message ---
Sounds like your Apache is not correctly set to pass php files. Heres how it
should be done:

Open httpd.conf

Search for "# Dynamic Shared Object (DSO) Support"
This should show a long list of commented (lines with # in front) lines.
Scroll to the bottom of the list and add:

LoadModule php4_module C:/server/PHP/php4apache.dll

Ensure that this command actually points to php4apache.dll. Also, you need
to find and copy php4ts.dll into EXACTLY the same directory as
php4apache.dll.

If you continue to scroll down, the next session after the "LoadModule"
lines should be "AddModule". At the bottom of this list, you need to add the
line

AddModule mod_php4.c

Okay, so that is php installed, but next you need to set it so that .php
files are run using php! To do this, search for
"# AddType allows you to tweak mime.types without actually editing it, or
to"
You may already have a short list of options here, all you need to add is

AddType application/x-httpd-php .php

This tells Apache that all files that end in .php should be parsed using
php. Your files should now be working! One other feature you might like...
by default Apache will search for an index.html file to be display. You can
change this to load any file you like. Just search for
"# DirectoryIndex: Name of the file or files to use as a pre-written HTML"
Below it you should see this


DirectoryIndex index.html


Simply add the files you would like to be displayed by default. Apache works
from left to right so this:

DirectoryIndex index.php index.html

Would first look for an "index.php" file, and if it was not found, then
search for an "index.html"

Good Luck

Stephen

- Original Message - 
From: "Bud Roble" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 03, 2003 6:23 AM
Subject: [PHP-INST] Help for PHP Newbie!


> I've installed PHP 4.3.2 with Apache 1.3 and believe I've followed all the
> configuring instructions to the letter.I create the phpinfo.php script
> file for testing and placed it in the C:/program files/apache
> group/apache/htdocs folder for testing.When I type
localhost/phpinfo.php
> in my browser, the script is not being parsed.The script is simply
> displayed in the browser window as raw text.   I can display all of the
html
> documents in the htdocs folder fine but any php document I browse to
simply
> displays the raw text in the browser.It acts the same whether I try at
> the localhost or from another computer on the network.   What am I doing
> wrong?
>
> Any help will be greatly appreciated!
>
> Bud Roble
> [EMAIL PROTECTED]
> (805)794-3027
>
>
>
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--- End Message ---
--- Begin Message ---
I have installed php and configured it per the install manual.
I associated .php extensions to run php scripts via the php interpreter and
ran the test.php script successfully.
I then configured my Netscape 3.63 server mime-types to support php as
magnus-internal/shellcgi
Then I enabled php extensions to run on  Netscape 3.63.
When I first ran test.php via webserver I got the security alert about
accessing php cgi's directly so I modified the php.ini file
cgi.force_redirect = 0 and now all I get is "No input file specified" when I
try to load the same test.php script.
Can someone help me with this please.


--- End Message ---


php-install Digest 4 Jun 2003 08:12:48 -0000 Issue 1407

2003-06-04 Thread php-install-digest-help

php-install Digest 4 Jun 2003 08:12:48 - Issue 1407

Topics (messages 11003 through 11008):

move_uploaded_file > 1MB
11003 by: Maurício Valente
11004 by: Martin Östlund
11005 by: Martin Östlund

transfer of variables from one page to another
11006 by: Matthew Betts

Re: Getting PHP to work with Apache server
11007 by: Andrew Winton
11008 by: Stephen

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 everybody!

I'm trying to upload a file using the move_uploaded_file function, everyting
works fine when the files have less than 1MB but when I upload one more than
this, IE returns the error The page cannot be displayed and in it's title
shows Cannot find server. I alreary edit php.ini setting UPLOAD_MAX_FILESIZE
to 8388608 (8M), post_max_size = 8388608 and file_uploads = On (memory_limit
is 8388608 too).

Someone could help me?

Thanks in advance!

Maurício Valente


--- End Message ---
--- Begin Message ---
Hello Mauricio.

Could it be that simple that you have an slow Internet connection and
it times out? I think you can increase the time-to-live (ttl) setting
in your httpd.conf (if you're using Apache).

Just a guess.

Cheers, Martin Östlund

On Tue, 3 Jun 2003, Maurício Valente wrote:

> Hello everybody!
>
> I'm trying to upload a file using the move_uploaded_file function, everyting
> works fine when the files have less than 1MB but when I upload one more than
> this, IE returns the error The page cannot be displayed and in it's title
> shows Cannot find server. I alreary edit php.ini setting UPLOAD_MAX_FILESIZE
> to 8388608 (8M), post_max_size = 8388608 and file_uploads = On (memory_limit
> is 8388608 too).
>
> Someone could help me?
>
> Thanks in advance!
>
> Maurício Valente
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
 Hello Mauricio.

 Could it be that simple that you have an slow Internet connection and
 it times out? I think you can increase the time-to-live (ttl) setting
 in your httpd.conf (if you're using Apache).

 Just a guess.

 Cheers, Martin Östlund

> On Tue, 3 Jun 2003, Maurício Valente wrote:
>
> > Hello everybody!
> >
> > I'm trying to upload a file using the move_uploaded_file function, everyting
> > works fine when the files have less than 1MB but when I upload one more than
> > this, IE returns the error The page cannot be displayed and in it's title
> > shows Cannot find server. I alreary edit php.ini setting UPLOAD_MAX_FILESIZE
> > to 8388608 (8M), post_max_size = 8388608 and file_uploads = On (memory_limit
> > is 8388608 too).
> >
> > Someone could help me?
> >
> > Thanks in advance!
> >
> > Maurício Valente
> >
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
I have written some code that should display the variables that were entered
in text boxes on a previous page. I have tried the code ona freinds server
and it worked there so it must be a problem with the way mine was configured

I am running php 4.3.1 on apache 1.3.24 on windows 2k

Can anyone tell me what i should do in order to get this to work.

Many thanks

Matt

--- End Message ---
--- Begin Message ---
I have been referred to you regarding my PHP installation query below.

I do hope you can help.

Thanks and regards.

Andrew.

-Original Message-
From:   Gabor Hojtsy [SMTP:[EMAIL PROTECTED]
Sent:   Tuesday, June 03, 2003 1:51 PM
To: [EMAIL PROTECTED]
Cc: '[EMAIL PROTECTED]'
Subject:Re: Getting PHP to work with Apache server

Hi!

Please ask installation questions at [EMAIL PROTECTED] or 
[EMAIL PROTECTED] I hope you can understand that the php.net 
webmasters are not handling user problems.

Have a good luck with setting up PHP,
Goba

> Hello Webmaster,
> 
> I have spent some time looking at all the faqs and cannot find an answer. I 
> do so hope that you can help.
> 
> I had Apache running Perl scripts successfully. I now want to use it to run 
> PHP.
> 
> I have followed all the instructions on adding/changing httpd.conf and 
> php.ini. When I open my browser and open the file with  
> (called hello.php), it just shows the code, and not the screen I was 
> expecting.
> 
> I also did a time/date test file, with the same result.
> 
> For your information, in httpd.conf I have added:
> 
> DocumentRoot "C:/phpweb"
> 
> 
> 
> ScriptAlias /php4/ "c:/php4win/"
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php .php3
> AddType a

php-install Digest 4 Jun 2003 21:05:52 -0000 Issue 1408

2003-06-05 Thread php-install-digest-help

php-install Digest 4 Jun 2003 21:05:52 - Issue 1408

Topics (messages 11009 through 11010):

Initialized PHP Module frequently
11009 by: andre.lagadec.education.gouv.fr

Imagick 0.9.6
11010 by: Jacob Marble

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,

On Sun Solaris with Iplanet 4.1 et PHP 4.2.3, I have theses messages on
the error log
of the Web server :
[04/Jun/2003:16:04:54] info ( 7643): php4_init reports: Initialized PHP
Module
[04/Jun/2003:16:09:57] info ( 7679): php4_init reports: Initialized PHP
Module
[04/Jun/2003:16:11:12] info ( 7690): php4_init reports: Initialized PHP
Module
[04/Jun/2003:16:17:17] info ( 7742): php4_init reports: Initialized PHP
Module
[04/Jun/2003:16:17:25] info ( 7745): php4_init reports: Initialized PHP
Module
[04/Jun/2003:16:19:26] info ( 7761): php4_init reports: Initialized PHP
Module
[04/Jun/2003:16:37:52] info ( 7906): php4_init reports: Initialized PHP
Module
[04/Jun/2003:16:47:24] info ( 7985): php4_init reports: Initialized PHP
Module
[04/Jun/2003:16:48:40] info ( 7992): php4_init reports: Initialized PHP
Module
[04/Jun/2003:16:50:04] info ( 8002): php4_init reports: Initialized PHP
Module
[04/Jun/2003:16:54:13] info ( 8032): php4_init reports: Initialized PHP
Module

And at the same time, I have theses other messages on the console :
Jun  4 16:04:53 server1 uxwdog[23185]: server terminated (signal 10):
watchdog is restarting it
Jun  4 16:09:56 server1 uxwdog[23185]: server terminated (signal 11):
watchdog is restarting it
Jun  4 16:11:12 server1 uxwdog[23185]: server terminated (signal 10):
watchdog is restarting it
Jun  4 16:17:24 server1 last message repeated 2 times
Jun  4 16:19:25 server1 uxwdog[23185]: server terminated (signal 11):
watchdog is restarting it
Jun  4 16:37:51 server1 uxwdog[23185]: server terminated (signal 10):
watchdog is restarting it
Jun  4 16:47:23 server1 uxwdog[23185]: server terminated (signal 11):
watchdog is restarting it
Jun  4 16:48:40 server1 uxwdog[23185]: server terminated (signal 10):
watchdog is restarting it
Jun  4 16:50:03 server1 uxwdog[23185]: server terminated (signal 11):
watchdog is restarting it
Jun  4 16:54:12 server1 last message repeated 1 time

Why the process ns-httpd is restarting ? Is-it due to PHP ?

AL

--- End Message ---
--- Begin Message ---
Hey all-
I'm trying to compile with Imagick 0.9.6 on Debian 3.0.  I untar'ed to
php-4.3.2/ext/imagick, made a new ./configure and gave the following
command:

CFLAGS="-O3 -march=athlon-xp" CPPFLAGS="-O3 -march=athlon-xp"
./configure --with-pgsql=/usr/local/pgsql --with-apxs2=/usr/local/apache2/bi
n/apxs --without-mysql --with-mssql --with-imagick

That works fine, then I do a make and after a few screenful's of text, I
get the following error:

/bin/sh /usr/src/php-4.3.2/libtool --silent --preserve-dup-deps --mode=link
gcc -export-dynamic -O3 -march=athlon-xp  -avoid-version -module -L/usr/loca
l/lib -L/usr/local/pgsql/lib  -R /usr/local/lib -R /usr/local/pgsql/lib
ext/ctype/ctype.lo ext/imagick/imagick.lo ext/mssql/php_mssql.lo
ext/overload/overload.lo ext/pcre/pcrelib/maketables.lo
ext/pcre/pcrelib/get.lo ext/pcre/pcrelib/study.lo ext/pcre/pcrelib/pcre.lo
ext/pcre/php_pcre.lo ext/pgsql/pgsql.lo ext/posix/posix.lo
ext/session/session.lo ext/session/mod_files.lo ext/session/mod_mm.lo
ext/session/mod_user.lo ext/standard/array.lo ext/standard/base64.lo
ext/standard/basic_functions.lo ext/standard/browscap.lo
ext/standard/crc32.lo ext/standard/crypt.lo ext/standard/cyr_convert.lo
ext/standard/datetime.lo ext/standard/dir.lo ext/standard/dl.lo
ext/standard/dns.lo ext/standard/exec.lo ext/standard/file.lo
ext/standard/filestat.lo ext/standard/flock_compat.lo
ext/standard/formatted_print.lo ext/standard/fsock.lo ext/standard/head.lo
ext/standard/html.lo ext/standard/image.lo ext/standard/info.lo
ext/standard/iptc.lo ext/standard/lcg.lo ext/standard/link.lo
ext/standard/mail.lo ext/standard/math.lo ext/standard/md5.lo
ext/standard/metaphone.lo ext/standard/microtime.lo ext/standard/pack.lo
ext/standard/pageinfo.lo ext/standard/parsedate.lo
ext/standard/quot_print.lo ext/standard/rand.lo ext/standard/reg.lo
ext/standard/soundex.lo ext/standard/string.lo ext/standard/scanf.lo
ext/standard/syslog.lo ext/standard/type.lo ext/standard/uniqid.lo
ext/standard/url.lo ext/standard/url_scanner.lo ext/standard/var.lo
ext/standard/versioning.lo ext/standard/assert.lo ext/standard/strnatcmp.lo
ext/standard/levenshtein.lo ext/standard/incomplete_class.lo
ext/standard/url_scanner_ex.lo ext/standard/ftp_fopen_wrapper.lo
ext/standard/http_fopen_wrapper.lo ext/standard/php_fopen_wrapper.lo
ext/standard/credits.lo ext/standard/css.lo ext/standard/var_unserializer.lo
ext/standard/ftok.lo ext/standard/aggregation.l

php-install Digest 8 Jun 2003 00:25:23 -0000 Issue 1413

2003-06-07 Thread php-install-digest-help

php-install Digest 8 Jun 2003 00:25:23 - Issue 1413

Topics (messages 11027 through 11030):

./configure problems (jpeg.so)
11027 by: Chris Lewis

Make error in PHP 4.3.2 (libtiff ??)
11028 by: Lukasz Karapuda
11030 by: Robert L Cochran

Apache 1.3 Windows ME -- Trying to Download instead of display.
11029 by: Loren I. of Clevermill

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 all,

 

I am building out a RedHat Linux 9 machine i686ß  (it’s
really an AMD Athalon 2200) using the specs from the following link http://www.snort.org/docs/snort_acid_rh9.pdf


My problem occurs when ever I try to
./configure --prefix=/www/php --with-apxs2=/www/bin/apxs
--with-config- filepath=/

www/php --enable-sockets
--with-mysql=/usr/local/mysql --with-zlibdir=/usr/local --with- gd

 

the error that I get is =
configure: error: libpng.(a|so) not found

 

so I tried the switch –with-jpeg-dir=/usr/lib
and it still craps out

 

I have verified that the
libpng is there 

 

Any help would be greatly
appreciated!!!

 

 

Christopher Lewis

Sr. Security Consultant

[EMAIL PROTECTED] 

610-757-4181

 

 






BEGIN:VCARD
VERSION:2.1
N:Lewis;Chris
FN:Chris Lewis
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20030605T171353Z
END:VCARD


smime.p7s
Description: S/MIME cryptographic signature
--- End Message ---
--- Begin Message ---
Hello,

I am compiling PHP 4.3.2 with the following config options: (Red Hat
Linux 7.3)

./configure --with-mysql --with-apxs=/usr/sbin/apxs --with-zlib \
--enable-bcmath --with-bz2 --with-curl --with-dom \
--enable-exif --enable-ftp --with-gd --with-ttf --with-imap \
--with-mime-magic=/usr/share/magic.mime \
--with-mnogosearch=/usr --with-pdflib \
--enable-xslt --with-xslt-sablot --with-sablot-js --with-kerberos

./configure runs fine, however 'make' generates this error:

/usr/bin/ld: cannot find -ltiff
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

I would appreciate help in solving this issue.

Regards,

Lukasz Karapuda
@ [EMAIL PROTECTED]


--- End Message ---
--- Begin Message ---
You probably need to install 2 Red Hat packages: libtiff and
libtiff-devel. Go get the latest packages, install these, do a 'make
realclean' or 'make distclean' in your PHP source directory and
recompile PHP.


On Sat, 2003-06-07 at 16:01, Lukasz Karapuda wrote:
> Hello,
> 
> I am compiling PHP 4.3.2 with the following config options: (Red Hat
> Linux 7.3)
> 
> ./configure --with-mysql --with-apxs=/usr/sbin/apxs --with-zlib \
> --enable-bcmath --with-bz2 --with-curl --with-dom \
> --enable-exif --enable-ftp --with-gd --with-ttf --with-imap \
> --with-mime-magic=/usr/share/magic.mime \
> --with-mnogosearch=/usr --with-pdflib \
> --enable-xslt --with-xslt-sablot --with-sablot-js --with-kerberos
> 
> ./configure runs fine, however 'make' generates this error:
> 
> /usr/bin/ld: cannot find -ltiff
> collect2: ld returned 1 exit status
> make: *** [sapi/cli/php] Error 1
> 
> I would appreciate help in solving this issue.
> 
> Regards,
> 
> Lukasz Karapuda
> @ [EMAIL PROTECTED]
-- 
Bob Cochran
Greenbelt, Maryland, USA
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html


--- End Message ---
--- Begin Message ---
My wares:
Apache 1.3
PHP4
Windows ME

I'm new.. a novice...and I'm just getting setup here on my personal computer
to do some php testing with databases.

I have gone through the steps:
  ScriptAlias
  AddType
  Action

...when I open a php page it wants to download the page.

It was suggested in a similar post (2 months ago) (below) to "disable the
ZLIB compression in the php.ini file".   However, when I checked, it
appeared that it was already turned off.  You'll see the code below.

What am I to do?

Thanks,
Loren



The similar post from 2 months ago :
===
List: php-windows
Subject:  [PHP-WIN] Re: Installing PHP with Apache on Win ME
From: 216.162.120.20
Date: 2003-04-04 1:07:45
[Download message RAW]

Disable ZLIB compression in PHP.INI


"Nick Scott" <> wrote in message
news:[EMAIL PROTECTED]
> I have gone through the steps and when I open a php page it wants to
> download the page.
>
> What do I need to do?
===






My php.ini code that indicates that the ZLIB compression is off:
===
; Transparent output compression using the zlib library
; Valid values for this option are 'off', 'on', or a specific buffer size
; to be used for compression (default is 4KB)
; Note: Resulting chunk size may vary due to nature of compression. PHP
;   outputs chunks that are few hun

php-install Digest 8 Jun 2003 19:50:41 -0000 Issue 1414

2003-06-08 Thread php-install-digest-help

php-install Digest 8 Jun 2003 19:50:41 - Issue 1414

Topics (messages 11031 through 11035):

4.3.2 pcreposix.h, regex.h Installation Issue on Red Hat Linux 9
11031 by: Robert L Cochran
11032 by: Robert L Cochran

Unknown filter was not added
11033 by: Robert L Cochran

installation
11034 by: michael jones

Re: First-timer
11035 by: Mitch Pirtle

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'm running Red Hat Linux 9 with a running Apache (httpd) server version
2.0.46 which I recently compiled myself. The server is up to date with
all current Red Hat-released patches, including the recent kernel
update.

I'm getting these errors when building PHP 4.3.2:

/bin/sh /home/cochranb/php-4.3.2/build-apache/libtool --silent
--preserve-dup-deps --mode=compile gcc  -Isapi/apache2handler/
-I/home/cochranb/php-4.3.2/sapi/apache2handler/ -DPHP_ATOM_INC
-I/home/cochranb/php-4.3.2/build-apache/include
-I/home/cochranb/php-4.3.2/build-apache/main -I/home/cochranb/php-4.3.2
-I/home/cochranb/php-4.3.2/build-apache/Zend -I/usr/include/libxml2
-I/usr/include/freetype2 -I/usr/include/imap -I/usr/kerberos/include
-I/usr/include/mysql -I/usr/include/pspell
-I/home/cochranb/php-4.3.2/main -I/home/cochranb/php-4.3.2/Zend
-I/home/cochranb/php-4.3.2/TSRM 
-I/home/cochranb/php-4.3.2/build-apache/TSRM  -O2 -g -march=i686 -fPIC
-I/usr/kerberos/include -I/usr/lib/httpd  -prefer-pic -c
/home/cochranb/php-4.3.2/sapi/apache2handler/sapi_apache2.c -o
sapi/apache2handler/sapi_apache2.lo
In file included from /usr/lib/httpd/httpd.h:86,
 from /usr/lib/httpd/util_filter.h:61,
 from
/home/cochranb/php-4.3.2/sapi/apache2handler/sapi_apache2.c:40:
/usr/lib/httpd/pcreposix.h:26:1: warning: "REG_ICASE" redefined
In file included from /home/cochranb/php-4.3.2/main/php_regex.h:39,
 from /home/cochranb/php-4.3.2/main/php.h:74,
 from
/home/cochranb/php-4.3.2/sapi/apache2handler/sapi_apache2.c:25:
/usr/include/regex.h:266:1: warning: this is the location of the
previous definition
In file included from /usr/lib/httpd/httpd.h:86,
 from /usr/lib/httpd/util_filter.h:61,
 from
/home/cochranb/php-4.3.2/sapi/apache2handler/sapi_apache2.c:40:
/usr/lib/httpd/pcreposix.h:27:1: warning: "REG_NEWLINE" redefined
In file included from /home/cochranb/php-4.3.2/main/php_regex.h:39,
 from /home/cochranb/php-4.3.2/main/php.h:74,
 from
/home/cochranb/php-4.3.2/sapi/apache2handler/sapi_apache2.c:25:
/usr/include/regex.h:271:1: warning: this is the location of the
previous definition
In file included from /usr/lib/httpd/httpd.h:86,
 from /usr/lib/httpd/util_filter.h:61,
 from
/home/cochranb/php-4.3.2/sapi/apache2handler/sapi_apache2.c:40:
/usr/lib/httpd/pcreposix.h:28:1: warning: "REG_NOTBOL" redefined
In file included from /home/cochranb/php-4.3.2/main/php_regex.h:39,
 from /home/cochranb/php-4.3.2/main/php.h:74,
 from
/home/cochranb/php-4.3.2/sapi/apache2handler/sapi_apache2.c:25:
/usr/include/regex.h:285:1: warning: this is the location of the
previous definition
In file included from /usr/lib/httpd/httpd.h:86,
 from /usr/lib/httpd/util_filter.h:61,
 from
/home/cochranb/php-4.3.2/sapi/apache2handler/sapi_apache2.c:40:
/usr/lib/httpd/pcreposix.h:29:1: warning: "REG_NOTEOL" redefined
In file included from /home/cochranb/php-4.3.2/main/php_regex.h:39,
 from /home/cochranb/php-4.3.2/main/php.h:74,
 from
/home/cochranb/php-4.3.2/sapi/apache2handler/sapi_apache2.c:25:
/usr/include/regex.h:288:1: warning: this is the location of the
previous definition
In file included from /usr/lib/httpd/httpd.h:86,
 from /usr/lib/httpd/util_filter.h:61,
 from
/home/cochranb/php-4.3.2/sapi/apache2handler/sapi_apache2.c:40:
/usr/lib/httpd/pcreposix.h:34:1: warning: "REG_EXTENDED" redefined
In file included from /home/cochranb/php-4.3.2/main/php_regex.h:39,
 from /home/cochranb/php-4.3.2/main/php.h:74,
 from
/home/cochranb/php-4.3.2/sapi/apache2handler/sapi_apache2.c:25:
/usr/include/regex.h:262:1: warning: this is the location of the
previous definition
In file included from /usr/lib/httpd/httpd.h:86,
 from /usr/lib/httpd/util_filter.h:61,
 from
/home/cochranb/php-4.3.2/sapi/apache2handler/sapi_apache2.c:40:
/usr/lib/httpd/pcreposix.h:35:1: warning: "REG_NOSUB" redefined
In file included from /home/cochranb/php-4.3.2/main/php_regex.h:39,
 from /home/cochranb/php-4.3.2/main/php.h:74,
 from
/home/cochranb/php-4.3.2/sapi/a

php-install Digest 12 Apr 2003 21:46:30 -0000 Issue 1334

2003-04-12 Thread php-install-digest-help

php-install Digest 12 Apr 2003 21:46:30 - Issue 1334

Topics (messages 10595 through 10600):

trouble with apache 2.0.44 and php 4.3.1 on FreeBSD and index.php
10595 by: Jeff D. Hamann
10597 by: Jeff D. Hamann

upgrade to 4.3.2RC1: php errors
10596 by: Ronald Wiplinger

Aspell-MAKE
10598 by: Gareth Slaven

Re: PHP and IIS Config.
10599 by: David Fleming

PHP install problems
10600 by: Acorn Tutors

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've been trying to upgrade my Apache (1.3.xx to 2.0.45) and PHP (from ???
to 4.3.1) installations on my FreeBSD
4.4 machine mostly with success, but I'm running in some strange things...

I've added the following lines to my httpd.conf

LoadModule php4_module libexec/apache2/libphp4.so
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

and

DirectoryIndex index.php index.html index.html.var

and when I attempt to go to my server after restarting using
/usr/local/sbin/apachectl restart (on the freebsd machine) and then try to
open the page from a win2k machine on the lan., I get a flash of a download
dialog, and then it goes away and the web browser doesn't stay open...

if I remove the index.php from the line

DirectoryIndex index.php index.html index.html.var

then I get a dir listing on the server...

Is there something broken? or is there a goofy config setting I should be
adding. I recall I had some trouble getting Apache1.3 working with PHP
before as well.

Thanks,
Jeff.




--- End Message ---
--- Begin Message ---
ack!

DirectoryIndex index.php index.html index.html.var

give problems, but only having

DirectoryIndex index.php

works just fine... another evening gone...


"Jeff D. Hamann" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I've been trying to upgrade my Apache (1.3.xx to 2.0.45) and PHP (from ???
> to 4.3.1) installations on my FreeBSD
> 4.4 machine mostly with success, but I'm running in some strange things...
>
> I've added the following lines to my httpd.conf
>
> LoadModule php4_module libexec/apache2/libphp4.so
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php-source .phps
>
> and
>
> DirectoryIndex index.php index.html index.html.var
>
> and when I attempt to go to my server after restarting using
> /usr/local/sbin/apachectl restart (on the freebsd machine) and then try to
> open the page from a win2k machine on the lan., I get a flash of a
download
> dialog, and then it goes away and the web browser doesn't stay open...
>
> if I remove the index.php from the line
>
> DirectoryIndex index.php index.html index.html.var
>
> then I get a dir listing on the server...
>
> Is there something broken? or is there a goofy config setting I should be
> adding. I recall I had some trouble getting Apache1.3 working with PHP
> before as well.
>
> Thanks,
> Jeff.
>
>
>
>


--- End Message ---
--- Begin Message ---
Although in the first moment everything seemed ok, more and more errors 
occurs.

I use a sample code for creating a button and get an error in line 3:
PHP Warning: implode() [http://www.php.net/function.implode'>function.implide]: Bad 
arguments in ... line 3


bye

Ronald

--
Ronald Wiplinger  (CEO of ELMIT)
http://www.elmit.com+886 (0) 915 653-452
- I'm a SpamCon Foundation Member, #694, Verify it at http://www.spamcon.org
PS: Spam prevention!
Our system is protected with a spam prevention program.
If you send us an e-mail, our system will send you a confirmation 
message back.
Just reply to this confirmation message please. After receiving this
confirmation message, our system will send the hold message (one) and all
future messages (after the received confirmation message) to me without 
asking you again.

--- End Message ---
--- Begin Message ---
Hi there ...

 

I am trying to compile ASPELL with php and the following happens :

 

./configure --with-aspell

 

All goes well then I do a make and I get the following :

 

Making all in Zend

make[1]: Entering directory `/usr/local/src/php-4.1.2/Zend'

make[1]: Nothing to be done for `all'.

make[1]: Leaving directory `/usr/local/src/php-4.1.2/Zend'

Making all in main

make[1]: Entering directory `/usr/local/src/php-4.1.2/main'

make[2]: Entering directory `/usr/local/src/php-4.1.2/main'

make[2]: Nothing to be done for `all-p'.

make[2]: Leaving directory `/usr/local/src/php-4.1.2/main'

make[1]: Leaving directory `/usr/local/src/php-4.1.2/main'

Making all in ext

make[1]: Entering directory `/usr/local/src/php-4.1.2/ext'

Making all in aspell

make[2]: Entering directory `/usr/local/src/php-4.1.2/ext/aspell'

make[3]: Entering directory `/usr/local/src/php-4.1.2/ext/aspell'

gcc -I. -I/usr/local/src/php-4.1.2/ext/aspel

php-install Digest 9 Jun 2003 14:46:57 -0000 Issue 1415

2003-06-09 Thread php-install-digest-help

php-install Digest 9 Jun 2003 14:46:57 - Issue 1415

Topics (messages 11036 through 11040):

Undefined variables in Apache
11036 by: Brian Ross
11037 by: \[cz\]Emo
11038 by: Mitch Pirtle

PHP 4.1.1 upgrade on VPS account with Red Hat 7.1
11039 by: Vlad Goryachev

PHP Web Mailer
11040 by: Stewart Walker

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 ---
When I installed Apache 1 and PHP together in Windows and setup everything
correctly. The script.php?variable=value way of posting to the PHP script
will not work. I had this problem once before but it was over a year ago and
I forgot how I fixed it. Please help if you can.


--- End Message ---
--- Begin Message ---
Did you try

register_globals = On

"Brian Ross" <[EMAIL PROTECTED]> pí¹e v diskusním pøíspìvku
news:[EMAIL PROTECTED]
> When I installed Apache 1 and PHP together in Windows and setup everything
> correctly. The script.php?variable=value way of posting to the PHP script
> will not work. I had this problem once before but it was over a year ago
and
> I forgot how I fixed it. Please help if you can.
>
>


--- End Message ---
--- Begin Message ---
Brian Ross wrote:

> When I installed Apache 1 and PHP together in Windows and setup everything
> correctly. The script.php?variable=value way of posting to the PHP script
> will not work. I had this problem once before but it was over a year ago
> and I forgot how I fixed it. Please help if you can.

With register_globals turned off (default since PHP 4.2.0 and for good
reason) you just reference the variable as part of the $_GET array:

$_GET['id'] instead of $id

http://www.php.net/manual/en/language.variables.predefined.php

Never, EVER turn register_globals on.  That is, unless you want your web
application stomped and ground into vegemite by all the CSS attacks out
there today.  That's as bad as setting up SQL Server and leaving the sa
account at default.  *gasp!*

HTH,

-- Mitch
--- End Message ---
--- Begin Message ---
I recently upgraded to a VPS account with RedHat 7.1. As an "upgrade" I got
older version of PHP (4.1.1) and no support for it.

I installed PHP 4.3.2 using default prefix not to overwrite the old version
which was installed in a different location, but the Apache was still
picking up the old version.

Then I replaced all the old PHP files and directories with their new
versions, so they would be picked up from their original location. Nothing.
The phpinfo is still giving me 4.1.1

I realized that PHP was originally installed as an RPM package. Is there any
way to switch from the RPM installation to the new one without completely
removing it?


Any help would be appreciated

Vlad Goryachev




--- End Message ---
--- Begin Message ---
Sorry this is off the subject but I'm looking for a
a good in-expensive 
server-side web based, full-featured email/calender package 
that works using/in PHP?
Appreciate it
Thanks
Stew
[EMAIL PROTECTED]

--- End Message ---


php-install Digest 10 Jun 2003 12:59:36 -0000 Issue 1416

2003-06-10 Thread php-install-digest-help

php-install Digest 10 Jun 2003 12:59:36 - Issue 1416

Topics (messages 11041 through 11048):

PHP and IIS 6
11041 by: Bob Rathke Jr.

4.3.2 on HP-UX...
11042 by: NIPP, SCOTT V (SBCSI)

Another PHP Build problem on HP...
11043 by: NIPP, SCOTT V (SBCSI)
11044 by: Jim Thome

PHP not parsing, and strange errors (Apache/1.3.27; WinXP;  PHP/4.3.2)
11045 by: Emily Wrenholt
11047 by: Jim Thome

Probs with IIS w2k
11046 by: Marcelo

Help! Installation error
11048 by: AnhHuy.Ha.sjsu.edu

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 all! 
Having issues getting PHP (latest) working on my new IIS6 server. 
 
I have it installed and working with limited functionality. I can call
the base exe and run scripts. I have not been able to get the ISAPI
filter loaded and my lead developer is having trouble making calls to
several functions. Here is an error example!
 
Fatal error: Call to undefined function: w32api_register_function() in
c:\websites\development.ofa.com\uptime.php on line 19
 
Have not been able to find much on installing on IIS 6 any help would be
appreciated!
 
--- End Message ---
--- Begin Message ---
I am attempting to upgrade a couple of webservers from previous
versions of PHP to the latest and "greatest" version.  The biggest problem I
am running into currently is that the make fails to build anything in the
libs directory.  I am running the configure script as follows:
./configure --with-mysql=/usr/local/mysql
--with-oci8=/usr/local/oracle/8.0.6.3 --with-apxs=/usr/local/apache/bin/apxs

The configure script completes without any errors.  The make script
seems to also complete without any errors, but nothing is in the libs
directory.  Upon running the 'make install' this errors out complaining
about not being able to find anything in the libs directory.  Any help would
also be greatly appreciated.

Scott Nipp
Phone:  (214) 858-1289
E-mail:  [EMAIL PROTECTED]
Web:  http:\\ldsa.sbcld.sbc.com


--- End Message ---
--- Begin Message ---
I am attempting to build either 4.2.3 or 4.3.2 PHP on a pair of
HP-UX 11.00 servers.  This is already built successfully as a static module
on one of the servers.  Unfortunately, attempting to build it as a dynamic
module on this same server provides me an empty 'libs' directory.  This
problem is referenced in a different thread.  The problem that I am looking
for help with is for some reason the other server keeps being detected as
having a cross-compiler.  This is something I am very unfamiliar with.  The
same HP ANSI C compiler is in use on both servers, although the working
server has version B.11.01.01 while the other servers has version
B.11.01.20.  Any help on this would be most appreciated.

Scott Nipp
Phone:  (214) 858-1289
E-mail:  [EMAIL PROTECTED]
Web:  http:\\ldsa.sbcld.sbc.com


--- End Message ---
--- Begin Message ---
Scott,

I use GNU gcc (gcc-3.1-sd-11.00.depot) on HPUX.  It seems to create
fewer build errors than HP's ANSI C compiler.  It can be downloaded at
the HPUX porting archive: http://hpux.cs.utah.edu/

Also, make sure you hack your apxs script and replace any references to
DSO extensions of .so to .sl

--
Jim

>>> "NIPP, SCOTT V (SBCSI)" <[EMAIL PROTECTED]> 06/09/03 10:59AM >>>
I am attempting to build either 4.2.3 or 4.3.2 PHP on a pair of
HP-UX 11.00 servers.  This is already built successfully as a static
module
on one of the servers.  Unfortunately, attempting to build it as a
dynamic
module on this same server provides me an empty 'libs' directory. 
This
problem is referenced in a different thread.  The problem that I am
looking
for help with is for some reason the other server keeps being detected
as
having a cross-compiler.  This is something I am very unfamiliar with. 
The
same HP ANSI C compiler is in use on both servers, although the
working
server has version B.11.01.01 while the other servers has version
B.11.01.20.  Any help on this would be most appreciated.

Scott Nipp
Phone:  (214) 858-1289
E-mail:  [EMAIL PROTECTED] 
Web:  http:\\ldsa.sbcld.sbc.com



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php 


--- End Message ---
--- Begin Message ---
I have tried *Numerous* times to set up PHP. Each time
I get the same results.

Here is what I've been doing.

1. Install Apache. It works fine.

2. Unzip PHP files into C:/PHP

3. From here, I copy the php4apache.dll and php4ts.dll
files to the all of the recommended places 
   (C:/apache, Windows, Windows/System,
Windows/System32)

5. Then I modify the php.ini:
   doc_root = "C:\Apache\htdocs"
   user_dir = "C:\Documents and Settings\*\My
Documents\website"
   extension_dir = "C:\PHP

php-install Digest 11 Jun 2003 02:42:07 -0000 Issue 1417

2003-06-10 Thread php-install-digest-help

php-install Digest 11 Jun 2003 02:42:07 - Issue 1417

Topics (messages 11049 through 11059):

Trouble configuring v4.3 php.ini
11049 by: Nick Wright
11051 by: Pierre-Alain Joye

httpd.conf  not found
11050 by: Mr Nius
11054 by: Jung-Hyun Lee

Re: PHP not parsing, and strange errors (Apache/1.3.27; WinXP;  PHP/4.3.2)
11052 by: Emily Wrenholt

php help {Apache/1.3.27;linux/debian 3.0;PHP/4.3.2}
11053 by: anna stewart

setting up local php+apache enviroment on w2k
11055 by: FunkyFlo
11059 by: Seung Hwan Kang

Configure Error - SCO OperServer 5.0.6
11056 by: Grimes, Dean

php-4.3.2 errors upgrading from php-4.3.1
11057 by: nate parsons

Re: Screensaver
11058 by: majordomo.lists.tislabs.com

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've set up a website running on PHP v4.2 with the default php.ini
When I run the site on v4.3 with php.ini at its default I receive loads of
errors such as:

Notice: Undefined index: action in c:\inetpub\wwwroot\abandc_dev\index.php
on line 4
Notice: Undefined index: username in c:\inetpub\wwwroot\abandc_dev\index.php
on line 5
Notice: Undefined index: password in c:\inetpub\wwwroot\abandc_dev\index.php
on line 6
Notice: Undefined variable: auth_user in
c:\inetpub\wwwroot\abandc_dev\index.php on line 256
Notice: Undefined variable: message in
c:\inetpub\wwwroot\abandc_dev\index.php on line 273

I'm sure that all I have to do is configure the php.ini file properly. Does
anyone know what settings are required?


--- End Message ---
--- Begin Message ---
On Tue, 10 Jun 2003 14:44:18 +0100
"Nick Wright" <[EMAIL PROTECTED]> wrote:

> I've set up a website running on PHP v4.2 with the default php.ini
> When I run the site on v4.3 with php.ini at its default I receive
> loads of errors such as:
> 
> Notice: Undefined index: action in
> c:\inetpub\wwwroot\abandc_dev\index.php on line 4
> Notice: Undefined index: username in
> c:\inetpub\wwwroot\abandc_dev\index.php on line 5
> Notice: Undefined index: password in
> c:\inetpub\wwwroot\abandc_dev\index.php on line 6
> Notice: Undefined variable: auth_user in
> c:\inetpub\wwwroot\abandc_dev\index.php on line 256
> Notice: Undefined variable: message in
> c:\inetpub\wwwroot\abandc_dev\index.php on line 273
> 
> I'm sure that all I have to do is configure the php.ini file properly.
> Does anyone know what settings are required?

error_reporting seems to be set to E_ALL. You can """remove""" these
notices by setting it to E_ALL & ~E_NOTICE. In the meantime, you may
"fix" them in preference to hide them.

hth

pierre
--- End Message ---
--- Begin Message ---
Hi,
During compilation I got the error like follow:
+ pushd build-cgi
/r/rpms/BUILD/php-4.3.2/build-cgi /r/rpms/BUILD/php-4.3.2
+ make install INSTALL_ROOT=/r/rpms/TMP/php-root
Installing PHP CLI binary:/r/rpms/TMP/php-root/usr/bin/
Installing PHP CLI man page:  /r/rpms/TMP/php-root/usr/share/man/man1/
Installing PHP SAPI module
apxs:Error: Config file /r/rpms/TMP/php-root/etc/httpd/conf/httpd.conf 
not found
make: *** [install-sapi] Error 1
error: Bad exit status from /r/rpms/TMP/rpm-tmp.94946 (%install)

What for is needed httpd.conf file and how to resolve this problem?

Reg.
Kazek



--- End Message ---
--- Begin Message ---
mkdir -p $RPM_BUILD_ROOT/etc/httpd/conf
cp -af /etc/httpd/conf/httpd.conf $RPM_BUILD_ROOT/etc/httpd/conf/httpd.conf

"Mr Nius" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
> During compilation I got the error like follow:
>
> + pushd build-cgi
> /r/rpms/BUILD/php-4.3.2/build-cgi /r/rpms/BUILD/php-4.3.2
> + make install INSTALL_ROOT=/r/rpms/TMP/php-root
> Installing PHP CLI binary:/r/rpms/TMP/php-root/usr/bin/
> Installing PHP CLI man page:  /r/rpms/TMP/php-root/usr/share/man/man1/
> Installing PHP SAPI module
> apxs:Error: Config file /r/rpms/TMP/php-root/etc/httpd/conf/httpd.conf
> not found
> make: *** [install-sapi] Error 1
> error: Bad exit status from /r/rpms/TMP/rpm-tmp.94946 (%install)
>
> What for is needed httpd.conf file and how to resolve this problem?
>
> Reg.
> Kazek
>
>
>
>

--- End Message ---
--- Begin Message ---
Ed,

Thanks! :) I tried other text editors on Windows
(Word, Word Pad, and Notepad... none worked) but when
I opened a BBedit file that I sent over from my Mac,
phpinfo() worked.  

Yip -- Thank You!

Is there any Php editor you would recommend for
Windows?

Thanks again,

Emily

--- "Kwok, Ed SPAWAR" <[EMAIL PROTECTED]> wrote:
> Emily,
> 
> 
> How did you create your php script, what text
> editor did you use?  if you use Windows NotePad,
> even if you tell it to save it as txt, Notepad
> append a .txt extension at the end of the file.  So,
> the br

php-install Digest 11 Jun 2003 15:45:54 -0000 Issue 1418

2003-06-11 Thread php-install-digest-help

php-install Digest 11 Jun 2003 15:45:54 - Issue 1418

Topics (messages 11060 through 11063):

PHP 5 [documentation]
11060 by: freelancing.inbox.ru

failed to create stream: No such file or directory in
11061 by: Atif Jakupovic

Re: Initialized PHP Module frequently
11062 by: andre.lagadec.education.gouv.fr

Re: php-4.3.2 errors upgrading from php-4.3.1
11063 by: Michael Mauch

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 people,
averybody talk about PHP 5 but where cani find a documentatione?
  

-- 
Best regards,
 freelancing  mailto:[EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---
Hi all,

Please could somebody help me to find out why I'm getting error messages 
below.

Warning: main(/claude/tse/search/config/config.php) 
[function.main]: failed to create stream: No such file or directory in
/u1/myweb/htdocs/claude/tse/search/index.php on line 3

Fatal error: main() [function.main]: Failed opening required 
'/claude/tse/search/config/config.php' 
(include_path='.:/apps/myweb/htdocs/claude') in
/u1/myweb/htdocs/claude/tse/search/index.php on line 3


Thank you,

Atif--- End Message ---
--- Begin Message ---
Hello,

I change the Unix right on directory https-exp3/config and now there is a core

So, I can generate a backtrace with this command
gdb /produits/netscape/server41sp9/bin/https/bin/ns-httpd
/produits/netscape/server41sp9/https-exp3/config/core.andre

And I get :
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.7"...(no debugging symbols
found)...
Core was generated by `ns-httpd -d
/produits/netscape/server41sp9/https-exp3/config'.
Program terminated with signal 9, Killed.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libns-httpd40.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/liblibsi18n.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libgetprop.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/liblibdbm.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libnsprwrap.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/plugins/lib/libMagnusPostInit.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libldap30.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libnsres30.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libnsuni30.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libnscnv30.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libnsfmt30.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libnscol30.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libnsbrk30.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libplc3.so...(no debugging symbols
found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libplds3.so...(no debugging
symbols found)...done.
Reading symbols from
/produits/netscape/server41sp9/bin/https/lib/libnspr3.so...(no debugging
symbols found)...done.
Reading symbols from /usr/lib/libsocket.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libnsl.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libdl.so.1...(no debugging symbols found)...done.

Reading symbols from /usr/lib/libposix4.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libm.so.1...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libC.so.5...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libw.so.1...
warning: Lowest section in /usr/lib/libw.so.1 is .hash at 0x74
(no debugging symbols found)...done.
Reading symbols from /usr/lib/libthread.so.1...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libc.so.1...(no debugging symbols found)...done.

php-install Digest 12 Jun 2003 05:12:07 -0000 Issue 1419

2003-06-11 Thread php-install-digest-help

php-install Digest 12 Jun 2003 05:12:07 - Issue 1419

Topics (messages 11064 through 11069):

undefined symbol: gdImageStringFTEx
11064 by: zzori

Porting PHP - PEAR problems during 'make install'
11065 by: deckerben
11069 by: Yann Larrivee

help imap.so
11066 by: anna stewart
11067 by: Frédéric Trudeau

PHP files prompt a Download rather than displaying in browser
11068 by: Loren

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 ---
Operating System: RedHat Linux 7.2
PHP Version:  4.2.3 , 4.3.2
GD [gif patched] : 2.0.12  path /usr/local/gd

GD install
./configure --prefix=/usr/local/gd
make install

it's install all good well
..
checking for libpng-config... no
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_create_read_struct in -lpng... yes
checking for freetype-config... /usr/bin/freetype-config
checking for FT_Init_FreeType in -lfreetype... yes
checking freetype/freetype.h usability... yes
checking freetype/freetype.h presence... yes
checking for freetype/freetype.h... yes
checking whether it's freetype 2... yes
checking for jpeg_set_defaults in -ljpeg... yes
checking for XpmReadFileToXpmImage in -lXpm... no

** Configuration summary for gd 2.0.12:

   Support for PNG library:  yes
   Support for JPEG library: yes
   Support for Freetype 2.x library: yes
   Support for Xpm library:  no

configure: creating ./config.status
config.status: creating Makefile
config.status: creating config/Makefile
config.status: creating config/gdlib-config
config.status: creating test/Makefile
config.status: creating config.h
config.status: executing depfiles commands
[EMAIL PROTECTED] gd]# make install
Making install in config
make[1]: Entering directory `/usr/local/gd/config'
make[2]: Entering directory `/usr/local/gd/config'
...
/usr/bin/install -c .libs/gdcmpgif /usr/local/gd/bin/gdcmpgif
  /bin/sh ./libtool --mode=install /usr/bin/install -c giftogd2
/usr/local/gd/bin/giftogd2
/usr/bin/install -c .libs/giftogd2 /usr/local/gd/bin/giftogd2
  /bin/sh ./libtool --mode=install /usr/bin/install -c pngtogd2
/usr/local/gd/bin/pngtogd2
/usr/bin/install -c .libs/pngtogd2 /usr/local/gd/bin/pngtogd2
  /bin/sh ./libtool --mode=install /usr/bin/install -c webpng
/usr/local/gd/bin/webpng
/usr/bin/install -c .libs/webpng /usr/local/gd/bin/webpng
/bin/sh ./config/mkinstalldirs /usr/local/gd/bin
 /usr/bin/install -c bdftogd /usr/local/gd/bin/bdftogd
/bin/sh ./config/mkinstalldirs /usr/local/gd/include
mkdir -p -- /usr/local/gd/include
 /usr/bin/install -c -m 644 gd.h /usr/local/gd/include/gd.h
 /usr/bin/install -c -m 644 gd_io.h /usr/local/gd/include/gd_io.h
 /usr/bin/install -c -m 644 gdcache.h /usr/local/gd/include/gdcache.h
 /usr/bin/install -c -m 644 gdfontg.h /usr/local/gd/include/gdfontg.h
 /usr/bin/install -c -m 644 gdfontl.h /usr/local/gd/include/gdfontl.h
 /usr/bin/install -c -m 644 gdfontmb.h /usr/local/gd/include/gdfontmb.h
 /usr/bin/install -c -m 644 gdfonts.h /usr/local/gd/include/gdfonts.h
 /usr/bin/install -c -m 644 gdfontt.h /usr/local/gd/include/gdfontt.h
make[2]: Leaving directory `/usr/local/gd'
make[1]: Leaving directory `/usr/local/gd'
[EMAIL PROTECTED] gd]#


PHP 4.2.3 install
./configure --with-apxs=/usr/local/apache/bin/apxs \
--with-config-file-path=/usr/local \
--enable-trans-sid \
--enable-track-vars \
--with-zlib-dir=/usr/lib \
--with-zlib \
--enable-ftp \
--enable-calendar \
--enable-exif \
--with-mcrypt \
--with-mysql \
--disable-debug \
--enable-inline-optimization \
--enable-mailparse \
--with-gd=/usr/local/gd \
--with-freetype-dir=/usr/include/freetype2 \
--enable-freetype-4bit-antialias-hack \
--with-ttf=/usr/include/freetype1 \
--with-imap \
--with-imap-ssl \
--with-kerberos \
--with-jpeg-dir=/usr/lib \
--with-png-dir=/usr/lib \
--with-gif-dir=/usr/lib \
--enable-shmop \
--enable-sysvsem \
--enable-sysvshm

make
make install

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 `/tmp/php-4.2.3/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/php-4.2.3/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/php-4.2.3/ext'
make: *** [all-recursive] Error 1

I had the same with 2.0.12 and 4.2.3, 4.3.2 with five occurances of
'structure has no membe

php-install Digest 12 Jun 2003 17:54:35 -0000 Issue 1420

2003-06-12 Thread php-install-digest-help

php-install Digest 12 Jun 2003 17:54:35 - Issue 1420

Topics (messages 11070 through 11073):

Warning with php_var_unserialize during make
11070 by: andre.lagadec.education.gouv.fr

Warning with XtOffsetOf during make
11071 by: andre.lagadec.education.gouv.fr

browsing directories using php scripts
11072 by: hostmaster

activating extensions (Apache/1.3.27; WinXP; PHP/4.3.2)
11073 by: Emily Wrenholt

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 ---
On Solaris 2.7 with Apache 1.3.27 and PHP-4.2.3, I configure PHP with
this
command :

During 'make', I get this warning :
/bin/sh /produits/packages/php-4.2.3/libtool --silent --mode=compile
gcc  -I. -I/produits/packages/php-4.2.3/ext/standard -I/produit
s/packages/php-4.2.3/main -I/produits/packages/php-4.2.3
-I/usr/local/apache/include -I/produits/packages/php-4.2.3/Zend
-I/usr/loca
l/include -I/usr/local/include/freetype2/freetype
-I/produits/packages/php-4.2.3/ext/mysql/libmysql
-I/produits/oracle/product/8.1.6
/rdbms/public -I/produits/oracle/product/8.1.6/rdbms/demo
-I/produits/oracle/product/8.1.6/network/public
-D_POSIX_PTHREAD_SEMANTIC
S -DSOLARIS2=270 -DEAPI -I/produits/packages/php-4.2.3/TSRM -g -O2
-prefer-pic  -c var_unserializer.c
var_unserializer.c: In function `php_var_unserialize':
var_unserializer.c:308: warning: comparison is always false due to
limited range of data type

Is it normal ?

AL

--- End Message ---
--- Begin Message ---
On Solaris 2.7 with Apache 1.3.27 and PHP-4.2.3, I configure PHP with
this
command :
'./configure' \
'--with-config-file-path=/usr/local/apache/conf' \
'--with-gd=/usr/local' \
'--enable-gd-native-ttf' \
'--with-png-dir=/usr/local' \
'--with-jpeg-dir=/usr/local' \
'--with-zlib=/usr/local' '--with-zlib-dir=/usr/local' \
'--with-freetype-dir=/usr/local' \
'--with-apxs=/usr/local/apache/bin/apxs' \
'--with-oci8=/produits/oracle/product/8.1.7' \
'--enable-track-vars' \
'--enable-libgcc' \
'--without-pear' \
'--disable-FEATURE' \
'--disable-xml' \
'--enable-inline-optimization' 1>>build_apache_php.log
2>>build_apache_php.log

During 'make', I get this warning :
/bin/sh /produits/packages/php-4.2.3/libtool --silent --mode=compile
gcc  -I. -I/produits/packages/php-4.2.3/sapi/apache -I/produits
/packages/php-4.2.3/main -I/produits/packages/php-4.2.3
-I/usr/local/apache/include -I/produits/packages/php-4.2.3/Zend
-I/usr/local
/include -I/usr/local/include/freetype2/freetype
-I/produits/packages/php-4.2.3/ext/mysql/libmysql
-I/produits/oracle/product/8.1.6/
rdbms/public -I/produits/oracle/product/8.1.6/rdbms/demo
-I/produits/oracle/product/8.1.6/network/public
-D_POSIX_PTHREAD_SEMANTICS
 -DSOLARIS2=270 -DEAPI -I/produits/packages/php-4.2.3/TSRM -g -O2
-prefer-pic  -c sapi_apache.c
In file included from /usr/local/apache/include/httpd.h:72,
 from sapi_apache.c:32:
/usr/local/apache/include/ap_config.h:1396:1: warning: "XtOffsetOf"
redefined
/produits/packages/php-4.2.3/main/php.h:346:1: warning: this is the
location of the previous definition
/bin/sh /produits/packages/php-4.2.3/libtool --silent --mode=compile
gcc  -I. -I/produits/packages/php-4.2.3/sapi/apache -I/produits
/packages/php-4.2.3/main -I/produits/packages/php-4.2.3
-I/usr/local/apache/include -I/produits/packages/php-4.2.3/Zend
-I/usr/local
/include -I/usr/local/include/freetype2/freetype
-I/produits/packages/php-4.2.3/ext/mysql/libmysql
-I/produits/oracle/product/8.1.6/
rdbms/public -I/produits/oracle/product/8.1.6/rdbms/demo
-I/produits/oracle/product/8.1.6/network/public
-D_POSIX_PTHREAD_SEMANTICS
 -DSOLARIS2=270 -DEAPI -I/produits/packages/php-4.2.3/TSRM -g -O2
-prefer-pic  -c mod_php4.c
In file included from /usr/local/apache/include/httpd.h:72,
 from mod_php4.c:32:
/usr/local/apache/include/ap_config.h:1396:1: warning: "XtOffsetOf"
redefined
/produits/packages/php-4.2.3/main/php.h:346:1: warning: this is the
location of the previous definition
/bin/sh /produits/packages/php-4.2.3/libtool --silent --mode=compile
gcc  -I. -I/produits/packages/php-4.2.3/sapi/apache -I/produits
/packages/php-4.2.3/main -I/produits/packages/php-4.2.3
-I/usr/local/apache/include -I/produits/packages/php-4.2.3/Zend
-I/usr/local
/include -I/usr/local/include/freetype2/freetype
-I/produits/packages/php-4.2.3/ext/mysql/libmysql
-I/produits/oracle/product/8.1.6/
rdbms/public -I/produits/oracle/product/8.1.6/rdbms/demo
-I/produits/oracle/product/8.1.6/network/public
-D_POSIX_PTHREAD_SEMANTICS
 -DSOLARIS2=270 -DEAPI -I/produits/packages/php-4.2.3/TSRM -g -O2
-prefer-pic  -c php_apache.c
In file included from php_apache_http.h:6,
 from php_apa

php-install Digest 13 Jun 2003 12:54:28 -0000 Issue 1421

2003-06-13 Thread php-install-digest-help

php-install Digest 13 Jun 2003 12:54:28 - Issue 1421

Topics (messages 11074 through 11074):

Re: Problem to install PHP on Windows Server 2003.
11074 by: Lluis

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 ---

- Original Message - 
From: Lluis 
To: [EMAIL PROTECTED] 
Sent: Friday, June 13, 2003 1:47 PM
Subject: Problem to install PHP on Windows Server 2003.


How may I do to install php on windows server 2003?
Thanks you.--- End Message ---


php-install Digest 14 Jun 2003 04:35:04 -0000 Issue 1422

2003-06-13 Thread php-install-digest-help

php-install Digest 14 Jun 2003 04:35:04 - Issue 1422

Topics (messages 11075 through 11077):

php-mysql build problem
11075 by: Grimes, Dean

./configure fails on RedHat 9
11076 by: Peter Shawe

Problem with PHP
11077 by: Benoit Tremblay

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'm having some trouble with linking mysql-4.0.13 into php-4.3.2. I am
getting following error:

//usr/lib/libresolv.so.1: fatal error: symbol `_res` multiply defined in two
shared objects /usr/lib/libsocket.so: size = 448; //usr/lib/libresolv.so.1:
size = 512
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1


I'm compiling on SCO OperServer 5.0.6 using:

gcc-2.95.2
make-3.80

php-4.3.2
mysql-4.0.13
apache_1.3.27


MySQL builds and installs fine. PHP configure fine and is making it through
95 percent build. The configure command to produce the problem in it's
simplest form:

configure --with-mysql=

If I don't specify MySQL in the build then PHP builds fine. I'm not sure if
it's a MySQL or PHP problem, or if it's a SCO library problem. So, I'm
posting this question to all. If anyone has any idea or needs any additional
information please let me know.

Thanks
--- End Message ---
--- Begin Message ---
Hi,

I'm installing Apache/MySQL/PHP on a RedHat 9 box, to replace a
similarly configured RedHat 7 box.

I did a clean install of RedHat 9.

I installed Apache from source (v1.3.27); no problems.

I installed MySQL from RPM's (v4.0.13); no problems.

Trying to build PHP (v4.3.2) from source; can't get beyond ./configure

Initially ./configure would go thru a large number of test before
halting like this

===

checking for sys/utsname.h... yes
checking for sys/ipc.h... yes
checking for fopencookie... yes
configure: error: can not run test program while cross compiling
===

Having read all the docs I could get, FAQs, Usenet archives and
mailing list archives the best idea I could find was delete
./configure and recreate it with buildconfig.  I did that and now
./configure halts like this (the complete output)

===
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... configure: error: cannot run
C
compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
===

The common theme is cross compiling; but I'm not trying to cross
compile.  The compiler is gcc (v3.2.2).

I did find a PHP bug database entry which matched the second sceanrio
above.  But there was no details on what caused it and it ends with
"Fixed in current CVS".  Only that was Feb 2002.

Any ideas are welcome at this stage.  I'm stumped!

TIA

Peter.

--
==
Peter Shawe  PGP KeyID: 0x4BC57795
Dublin, Ireland
--- End Message ---
--- Begin Message ---
I,

I have installed apache (with module so enable) and PHP 4.3.2 but I search the file 
libphp4.so and he is not in my computer. Why? I think it's require for run PHP in 
apache.

Thank you,
Benoit Tremblay
--- End Message ---


php-install Digest 15 Jun 2003 04:59:01 -0000 Issue 1423

2003-06-14 Thread php-install-digest-help

php-install Digest 15 Jun 2003 04:59:01 - Issue 1423

Topics (messages 11078 through 11084):

Re: Problem with PHP
11078 by: Stephen
11079 by: .ma
11080 by: Stephen
11081 by: Doris Pelger .:. Eva Horner
11082 by: Stephen

Re: ./configure fails on RedHat 9
11083 by: Robert L Cochran

is my php working
11084 by: MerryE

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 think thats a unix/linux file. In windows, you only need the
php4apache.dll and php4ts.dll file (I might have got the spellings wrong!).
They need to be in the same directory, and by default one is in the php base
root and the other is the php/sapi

Stephen

- Original Message - 
From: "Benoit Tremblay" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, June 14, 2003 5:30 AM
Subject: [PHP-INST] Problem with PHP


> I,
>
> I have installed apache (with module so enable) and PHP 4.3.2 but I search
the file libphp4.so and he is not in my computer. Why? I think it's require
for run PHP in apache.
>
> Thank you,
> Benoit Tremblay
>


--- End Message ---
--- Begin Message ---
hi

it _is_ a unix-file. but afaik the dll-files (php4ts.dll 
php4apache.dll) need to be in the system root (for Win98 thats 
c:\windows\system and for NT thats c:\WINNT) ? i also copied every dll 
from the dlls-folder to the system root, and enabled some extensions 
(the extensions require those dlls)

hope this helps?

.ma

e: [EMAIL PROTECTED]
w: http://www.abendstille.at
# life would be easier if i knew the source code

Am Samstag, 14.06.03 um 11:19 Uhr schrieb Stephen:

I think thats a unix/linux file. In windows, you only need the
php4apache.dll and php4ts.dll file (I might have got the spellings 
wrong!).
They need to be in the same directory, and by default one is in the 
php base
root and the other is the php/sapi

Stephen

- Original Message -
From: "Benoit Tremblay" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, June 14, 2003 5:30 AM
Subject: [PHP-INST] Problem with PHP

I,

I have installed apache (with module so enable) and PHP 4.3.2 but I 
search
the file libphp4.so and he is not in my computer. Why? I think it's 
require
for run PHP in apache.
Thank you,
Benoit Tremblay


--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--- End Message ---
--- Begin Message ---
php4ts.dll and php4apache.dll do not have to be in the system root, as you
tell apache where to find them in the httpd.conf file. They just both need
to be in the same directory!

- Original Message - 
From: ".ma" <[EMAIL PROTECTED]>
To: "PHP-INST" <[EMAIL PROTECTED]>
Sent: Saturday, June 14, 2003 10:33 AM
Subject: Re: [PHP-INST] Problem with PHP


> hi
>
> it _is_ a unix-file. but afaik the dll-files (php4ts.dll
> php4apache.dll) need to be in the system root (for Win98 thats
> c:\windows\system and for NT thats c:\WINNT) ? i also copied every dll
> from the dlls-folder to the system root, and enabled some extensions
> (the extensions require those dlls)
>
> hope this helps?
>
> .ma
>
> e: [EMAIL PROTECTED]
> w: http://www.abendstille.at
>
> # life would be easier if i knew the source code
>
> Am Samstag, 14.06.03 um 11:19 Uhr schrieb Stephen:
>
> > I think thats a unix/linux file. In windows, you only need the
> > php4apache.dll and php4ts.dll file (I might have got the spellings
> > wrong!).
> > They need to be in the same directory, and by default one is in the
> > php base
> > root and the other is the php/sapi
> >
> > Stephen
> >
> > - Original Message -
> > From: "Benoit Tremblay" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Saturday, June 14, 2003 5:30 AM
> > Subject: [PHP-INST] Problem with PHP
> >
> >
> >> I,
> >>
> >> I have installed apache (with module so enable) and PHP 4.3.2 but I
> >> search
> > the file libphp4.so and he is not in my computer. Why? I think it's
> > require
> > for run PHP in apache.
> >>
> >> Thank you,
> >> Benoit Tremblay
> >>
> >
> >
> >
> > -- 
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
>
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--- End Message ---
--- Begin Message ---
Hi,

I am following this and had also some difficulties with Apache (Version 1.3)
when upgrading PHP to latest stabile version, to accept the php4apache2.dll.
He did not accept it until now. Weird thing however is that he seems totally
happy with php4apache.dll.
How can this be?
I made the upgrade manually.
All the config/ini files were updated and where php4apache.dll was mentioned
got replaced with php4apache2.dll. all new drivers

php-install Digest 15 Jun 2003 21:02:22 -0000 Issue 1424

2003-06-15 Thread php-install-digest-help

php-install Digest 15 Jun 2003 21:02:22 - Issue 1424

Topics (messages 11085 through 11087):

Compiling PHP 4.3.2 on IRIX 5.3
11085 by: Aaron Wittmann

php snapshot compile on debian: execute apr-config?
11086 by: solo turn

Re: is my php working
11087 by: BAO RuiXian

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 everybody,

I'm trying to compile PHP 4.3.2 on a IRIX 5.3 System. I use the native
compiler of IRIX together with bison 1.25 (maybe it should be a 1.30) and
flex 2.5.4.

Compiling stops with the message:

ld:
Can't open: main/php_scandir (No such file or directory)

I've checked it. Its true, There are only php_scandir.h and php_scandir.c in
the main directory. I've tried to compile php_scandir.c alone but it won't
work because php_scandir.c doesn't include a main().

To compile the build I made
./configure --with-apache=my/path/to/apache (because I'm willing to use a
static build)
make

Does someone have an idea what I need to change? Or do I need some
additional programs ( I haven't installed all GNU stuff yet, because it's a
lot of work compiling each program for IRIX 5.3)

Thanks,

Aaron Wittmann

--- End Message ---
--- Begin Message ---
it seems that configure does not obey the default location of apache2-apr on debian:
# /usr/bin/apr-config --includes
 -I/usr/include/apr-0

it would be very nice, if php configure would notice the presence of apr-config, and 
execute it to
get the right values.

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
--- End Message ---
--- Begin Message ---
Hello, Merry,

	Your php script works fine from my testing, and the result is as follows:

		Today's date: Sunday June 15, 2003 Merry

	I think there must be some settings unright in your php install.

Best

Bao

MerryE wrote:
I'm a beginner, I use windows me with apache 1.3 for my php.I had configure my apache with php.
I wrote this code and tried it out on my local host but the php code is not working.

 $Today = date("l F d, Y");
?>


 Today's date:

print("$Today\n");
print("$YourName");
?>


Istead of come out 
Today's date: Sunday June 14, 2003
Merry
The out put is only Today's date: only. Why? Can anyone help answer my problem?
Thank you

Merry




--- End Message ---


php-install Digest 16 Jun 2003 15:56:04 -0000 Issue 1425

2003-06-16 Thread php-install-digest-help

php-install Digest 16 Jun 2003 15:56:04 - Issue 1425

Topics (messages 11088 through 11091):

Problem getting PHP to work with Apache
11088 by: Ross Franklin

problems with variables
11089 by: Felipe Lorente
11090 by: Felipe Lorente

PHP 4.3.2 Build error...
11091 by: NIPP, SCOTT V (SBCSI)

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 am trying to get PHP working with my Apache web server and am having some
trouble.

I installed apache-1.3.4.19.i386.rpm onto my system running SuSE 7.2. This RPM
comes on the install disks for SuSE. Now there are no problems with that, but
when I try to install the php module, Apache won't start anymore. I tried to
install mod_php4-4.0.4pl1-90.i386.rpm which is also on the SuSE disks. When I
start Apache it returns this error:
Syntax error on line 33 of /etc/httpd/suse_loadmodule.conf:
Cannot load /usr/lib/apache/libphp4.so into server: libxmltok.so.1: cannot load
shared object file: No such file or directory

I when to rpmfind, looked up libxmltok, and installed libxmltok-1.0-2.i386.rpm
Apache now can't find libsablot.so.0
I get this file sablotron-0.96-1.i386.rpm from rpmfind
Apache wants libmcrypt.so.4
I get this file, libmcrypt-2.5.5-1.i386.rpm
Apache wants libltdl.so.0

Can I somehow know everything that it will want rather than one by one, can I
get this stuff all at once?

--- End Message ---
--- Begin Message ---
Hello all,

  I just have installed php 4.3.2, and it runs fine with single files. The
problem comes when I try to pass a variable from another file, it doesn`t
recognise this variable. I am using IIS 5.1 with Win XP and I have used the
windows instaler to install the sources on my machine. Does anyone know what
can happen?? Thanks.

 Felipe.


--- End Message ---
--- Begin Message ---
Hello all,

  I just have installed php 4.3.2, and it runs fine with single files. The
problem comes when I try to pass a variable from another file, it doesn`t
recognise this variable. I am using IIS 5.1 with Win XP and I have used the
windows instaler to install the sources on my machine. Does anyone know what
can happen?? Thanks.

 Felipe.


--- End Message ---
--- Begin Message ---
I am attempting to build PHP 4.3.2 on HP-UX 11.00.  I have been
running into all kinds of weird "cross-compiler" errors, and it turns out
that the problem was a bad umask.  Now that the umask setting for root is
set correctly, the configure script runs perfectly.  The 'make' also seems
to run fine.  My current problem is the 'make install' is failing with the
following errors:

[EMAIL PROTECTED]:/home/sadmin/sn4265/php-4.3.2> make install
Installing PHP CLI binary:/usr/local/bin/
Installing PHP CLI man page:  /usr/local/man/man1/
Installing PHP SAPI module
[activating module `php4' in /usr/local/apache/conf/httpd.conf]
cp libs/libphp4.sl /usr/local/apache/libexec/libphp4.sl
cp: cannot access libs/libphp4.sl: No such file or directory
apxs:Break: Command failed with rc=1
*** Error exit code 1

Stop.
[EMAIL PROTECTED]:/home/sadmin/sn4265/php-4.3.2> ls libs
libphp4.a   libphp4.la
[EMAIL PROTECTED]:/home/sadmin/sn4265/php-4.3.2> 

Anyone have any ideas on this?  I know that you must modify you apxs
script to change the module extension from .so to .sl.  This has been done,
but the problem seems to be that neither of these extension exist in the
libs directory.  Thanks in advance for the help.  Here is my configure line
also:

[EMAIL PROTECTED]:/home/sadmin/sn4265/php-4.3.2> ./configure
--with-mysql=/usr/local/mysql --with-oci8=/usr/local/oracle/8.0.6.3
--with-apxs=/usr/local/apache/bin/apxs

Scott Nipp
Phone:  (214) 858-1289
E-mail:  [EMAIL PROTECTED]
Web:  http:\\ldsa.sbcld.sbc.com


--- End Message ---


php-install Digest 17 Jun 2003 10:28:32 -0000 Issue 1426

2003-06-17 Thread php-install-digest-help

php-install Digest 17 Jun 2003 10:28:32 - Issue 1426

Topics (messages 11092 through 11101):

PHP 4.2.3 fails to load...
11092 by: NIPP, SCOTT V (SBCSI)
11094 by: Jim Thome
11096 by: NIPP, SCOTT V (SBCSI)

Re: is my php working
11093 by: Cris Harrison
11095 by: Cris Harrison

du whats this from and I am NOT stupid
11097 by: Cris Harrison
11098 by: Frederic Trudeau
11099 by: Cris Harrison

newsletter
11100 by: Doyle

apxs:Error: Unknown option: S
11101 by: Viola, Gaetano Paolo

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 trying to get PHP 4.2.3 working on a HP-UX 11.00 system that I
have had no luck getting 4.3.2 to work on.  The compile and everything went
great, but now Apache fails to start complaining about PHP.  Here is the
output of the Apache start...

[EMAIL PROTECTED]:/sbin/init.d> ./httpd start
/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local Storage:
/us
r/lib/libcl.2
/usr/lib/dld.sl: Exec format error
Syntax error on line 207 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: Exec format
error
/usr/local/apache/bin/apachectl startssl: httpd could not be started
Apache started.

At this point, Apache is not actually running.  Any help would be
most appreciated.

Scott Nipp
Phone:  (214) 858-1289
E-mail:  [EMAIL PROTECTED]
Web:  http:\\ldsa.sbcld.sbc.com


--- End Message ---
--- Begin Message ---
You have to modify the apachectl script to get around the HPUX thread
local storage problem.

Add the following to your apachectl script under the 'START
CONFIGURATION SECTION':

export ORACLE_HOME=/path/to/oracle
export SHLIB_PATH=$ORACLE_HOME/lib:/path/to/apache/lib:$SHLIB_PATH
export LD_PRELOAD=/usr/lib/libpthread.sl:/usr/lib/libcl.sl
export
LD_PRELOAD=$LD_PRELOAD:$ORACLE_HOME/JRE/lib/PA_RISC/native_threads/libjava.sl


--
Jim

>>> "NIPP, SCOTT V (SBCSI)" <[EMAIL PROTECTED]> 06/16/03 12:52PM >>>
I am trying to get PHP 4.2.3 working on a HP-UX 11.00 system
that I
have had no luck getting 4.3.2 to work on.  The compile and everything
went
great, but now Apache fails to start complaining about PHP.  Here is
the
output of the Apache start...

[EMAIL PROTECTED]:/sbin/init.d> ./httpd start
/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local
Storage:
/us
r/lib/libcl.2
/usr/lib/dld.sl: Exec format error
Syntax error on line 207 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: Exec
format
error
/usr/local/apache/bin/apachectl startssl: httpd could not be started
Apache started.

At this point, Apache is not actually running.  Any help would
be
most appreciated.

Scott Nipp
Phone:  (214) 858-1289
E-mail:  [EMAIL PROTECTED] 
Web:  http:\\ldsa.sbcld.sbc.com



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php 


--- End Message ---
--- Begin Message ---
GREAT!!!  You 'da man.  This worked perfectly for me.  Thanks a
bunch.

-Original Message-
From: Jim Thome [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2003 2:45 PM
To: [EMAIL PROTECTED]; NIPP, SCOTT V (SBCSI)
Subject: Re: [PHP-INST] PHP 4.2.3 fails to load...


You have to modify the apachectl script to get around the HPUX thread
local storage problem.

Add the following to your apachectl script under the 'START
CONFIGURATION SECTION':

export ORACLE_HOME=/path/to/oracle
export SHLIB_PATH=$ORACLE_HOME/lib:/path/to/apache/lib:$SHLIB_PATH
export LD_PRELOAD=/usr/lib/libpthread.sl:/usr/lib/libcl.sl
export
LD_PRELOAD=$LD_PRELOAD:$ORACLE_HOME/JRE/lib/PA_RISC/native_threads/libjava.s
l


--
Jim

>>> "NIPP, SCOTT V (SBCSI)" <[EMAIL PROTECTED]> 06/16/03 12:52PM >>>
I am trying to get PHP 4.2.3 working on a HP-UX 11.00 system
that I
have had no luck getting 4.3.2 to work on.  The compile and everything
went
great, but now Apache fails to start complaining about PHP.  Here is
the
output of the Apache start...

[EMAIL PROTECTED]:/sbin/init.d> ./httpd start
/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local
Storage:
/us
r/lib/libcl.2
/usr/lib/dld.sl: Exec format error
Syntax error on line 207 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: Exec
format
error
/usr/local/apache/bin/apachectl startssl: httpd could not be started
Apache started.

At this point, Apache is not actually running.  Any help would
be
most appreciated.

Scott Nipp
Phone:  (214) 858-1289
E-mail:  [EMAIL PROTECTED] 
Web:  http:\\ldsa.sbcld.sbc.com



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.

php-install Digest 18 Jun 2003 15:56:53 -0000 Issue 1427

2003-06-18 Thread php-install-digest-help

php-install Digest 18 Jun 2003 15:56:53 - Issue 1427

Topics (messages 11102 through 0):

4.2.3 session login problem...
11102 by: NIPP, SCOTT V (SBCSI)
11103 by: Stephen
11104 by: NIPP, SCOTT V (SBCSI)

apache permissions with php 4.3.2
11105 by: Jacob Marble
11106 by: Adam Voigt
11107 by: Jacob Marble

Re: [PHP-DB] 4.2.3 session login problem...
11108 by: CPT John W. Holmes

Re: apxs:Error: Unknown option: S
11109 by: Michael Mauch

apache 2.0.46 + PHP 4.3.2 install problem
0 by: Renaud Paquay

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 have an application that is currently working fine under 4.1.2,
and I am in the process of upgrading to 4.2.3.  The problem is that after
upgrading PHP the application login no longer works.  Additionally, this
same application works fine on another machine running 4.2.3.  The only
difference in the machines is that the working one uses PHP as a static
module and the broken one uses PHP as a loadable module.  Anyone run into
this problem before?  Thanks in advance.

Scott Nipp
Phone:  (214) 858-1289
E-mail:  [EMAIL PROTECTED]
Web:  http:\\ldsa.sbcld.sbc.com


--- End Message ---
--- Begin Message ---
Chances are your problem lies with Register Globals. In php 4.1.x this
defaulted to on, which meant that all session variables were access as
$mysessionthingy
However, in php 4.2.x and higher, the way sessions work has changed
dramatically. However, the old methods (using session_start and so on) are
still supported IF you set register_globals to ON in your php.ini file. For
more infomation, please go to the php site and look up sessions. I
personally believe the new method is a lot better than the older methods,
and suggest you consider updating!

Hope this helps,

Stephen

- Original Message - 
From: "NIPP, SCOTT V (SBCSI)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, June 17, 2003 4:13 PM
Subject: [PHP-INST] 4.2.3 session login problem...


> I have an application that is currently working fine under 4.1.2,
> and I am in the process of upgrading to 4.2.3.  The problem is that after
> upgrading PHP the application login no longer works.  Additionally, this
> same application works fine on another machine running 4.2.3.  The only
> difference in the machines is that the working one uses PHP as a static
> module and the broken one uses PHP as a loadable module.  Anyone run into
> this problem before?  Thanks in advance.
>
> Scott Nipp
> Phone:  (214) 858-1289
> E-mail:  [EMAIL PROTECTED]
> Web:  http:\\ldsa.sbcld.sbc.com
>
>
>
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--- End Message ---
--- Begin Message ---
Thanks.  This did indeed turn out to be the problem.  I have it
working now, although someday I will need to correct everything such that I
can keep Register Globals off.

-Original Message-
From: Stephen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 10:20 AM
To: NIPP, SCOTT V (SBCSI)
Cc: Installation Helplist (PHP)
Subject: Re: [PHP-INST] 4.2.3 session login problem...


Chances are your problem lies with Register Globals. In php 4.1.x this
defaulted to on, which meant that all session variables were access as
$mysessionthingy
However, in php 4.2.x and higher, the way sessions work has changed
dramatically. However, the old methods (using session_start and so on) are
still supported IF you set register_globals to ON in your php.ini file. For
more infomation, please go to the php site and look up sessions. I
personally believe the new method is a lot better than the older methods,
and suggest you consider updating!

Hope this helps,

Stephen

- Original Message - 
From: "NIPP, SCOTT V (SBCSI)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, June 17, 2003 4:13 PM
Subject: [PHP-INST] 4.2.3 session login problem...


> I have an application that is currently working fine under 4.1.2,
> and I am in the process of upgrading to 4.2.3.  The problem is that after
> upgrading PHP the application login no longer works.  Additionally, this
> same application works fine on another machine running 4.2.3.  The only
> difference in the machines is that the working one uses PHP as a static
> module and the broken one uses PHP as a loadable module.  Anyone run into
> this problem before?  Thanks in advance.
>
> Scott Nipp
> Phone:  (214) 858-1289
> E-mail:  [EMAIL PROTECTED]
> Web:  http:\\ldsa.sbcld.sbc.com
>
>
>
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
H

php-install Digest 19 Jun 2003 08:06:37 -0000 Issue 1428

2003-06-19 Thread php-install-digest-help

php-install Digest 19 Jun 2003 08:06:37 - Issue 1428

Topics (messages 1 through 3):

Re: apache 2.0.46 + PHP 4.3.2 install problem
1 by: Robert L Cochran

Empty session directory
2 by: Iván Díaz

Make error (make: *** [ext/ctype/ctype.lo] Error 1)
3 by: Thomas

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 have this issue, too. In my case (under Red Hat 9)
/var/httpd/error_log tells me that a module was not loaded: PHP. I
haven't figured out how to fix this yet, but it is funny how it happens
when you try to upgrade PHP from a previous version. Your initial
installation works fine, then the upgrade goes wrong!

Bob Cochran
Greenbelt, Maryland, USA


On Wed, 2003-06-18 at 11:56, Renaud Paquay wrote:
> Hi,
> 
> I'm trying installing an apache 2.0.46 with PHP 4.3.2
> 
> I compiled and installed the modules following the installation instructions 
> found on php.net
> Unfortunately, when I attempt to view a simple testpage.html the only result 
> I find is a blank page. When I take a look to the source, I see my PHP 
> codeSo the page wasn't processed by php...
> 
> apache:
> ./configure --enable-so
> make
> make install
> 
> PHP
> ./configure --with-apxs2=/usr/local/apache2/bin/apxs
> make
> make install
> I copied the php.ini-dist in /usr/local/lib/php.ini
> 
> but no success... :-(
> 
> Anyone could help me with this fu#!@& install ?
> 
> Thanks
> 
> Renaud
> 
> _
> Hotmail: votre e-mail gratuit ! http://www.fr.msn.be/hotmail


signature.asc
Description: This is a digitally signed message part
--- End Message ---
--- Begin Message ---
Hi everyone!

I would like to know if I need to empty from time to time the directory
where the session files are stored. I'm running windows nt4.0 and Apache.

Thanks in advance.


--- End Message ---
--- Begin Message ---
I could not find anything describing this problem at bugs.php.net nor
the mailing list archives.

php-4.3.2]# make
/bin/sh /usr/local/src/php-4.3.2/libtool --silent --preserve-dup-deps
--mode=compile gcc  -Iext/ctype/ -I/usr/local/src/php-4.3.2/ext/ctype/
-DPHP_ATOM_INC -I/usr/local/src/php-4.3.2/include
-I/usr/local/src/php-4.3.2/main -I/usr/local/src/php-4.3.2
-I/usr/local/apache/include -I/usr/local/src/php-4.3.2/Zend
-I/usr/local/src/php-4.3.2/ext/xml/expat
-I/usr/local/src/php-4.3.2/TSRM  -g -O2  -prefer-pic -c
/usr/local/src/php-4.3.2/ext/ctype/ctype.c -o ext/ctype/ctype.lo 
In file included from /usr/local/src/php-4.3.2/Zend/zend.h:59,
 from /usr/local/src/php-4.3.2/main/php.h:34,
 from /usr/local/src/php-4.3.2/ext/ctype/ctype.c:23:
/usr/local/include/unix.h:182: parse error before `MAILSTREAM'
/usr/local/include/unix.h:182: warning: no semicolon at end of struct or
union
/usr/local/include/unix.h:189: parse error before `}'
/usr/local/include/unix.h:189: warning: data definition has no type or
storage class
/usr/local/include/unix.h:193: parse error before `*'
/usr/local/include/unix.h:193: warning: data definition has no type or
storage class
/usr/local/include/unix.h:196: parse error before `*'
/usr/local/include/unix.h:197: parse error before `*'
/usr/local/include/unix.h:198: parse error before `*'
/usr/local/include/unix.h:199: parse error before `*'
/usr/local/include/unix.h:200: parse error before `*'
/usr/local/include/unix.h:201: parse error before `*'
/usr/local/include/unix.h:202: parse error before `*'
/usr/local/include/unix.h:202: parse error before `*'
/usr/local/include/unix.h:202: warning: data definition has no type or
storage class
/usr/local/include/unix.h:203: parse error before `*'
/usr/local/include/unix.h:204: parse error before `*'
/usr/local/include/unix.h:206: parse error before `*'
/usr/local/include/unix.h:207: parse error before `*'
/usr/local/include/unix.h:209: parse error before `*'
/usr/local/include/unix.h:210: parse error before `*'
/usr/local/include/unix.h:211: parse error before `*'
/usr/local/include/unix.h:212: parse error before `*'
/usr/local/include/unix.h:213: parse error before `*'
/usr/local/include/unix.h:214: parse error before `*'
/usr/local/include/unix.h:215: parse error before `*'
/usr/local/include/unix.h:216: parse error before `*'
/usr/local/include/unix.h:219: parse error before `*'
/usr/local/include/unix.h:221: parse error before `DOTLOCK'
/usr/local/include/unix.h:222: parse error before `MAILSTREAM'
/usr/local/include/unix.h:223: parse error before `*'
/usr/local/include/unix.h:224: parse error before `*'
/usr/local/include/unix.h:225: parse error before `*'
/usr/local/include/unix.h:226: parse error before `*'
/usr/local/include/unix.h:228: parse error before `*'
/usr/local/include/unix.h:229: 

php-install Digest 19 Jun 2003 20:45:35 -0000 Issue 1429

2003-06-19 Thread php-install-digest-help

php-install Digest 19 Jun 2003 20:45:35 - Issue 1429

Topics (messages 4 through 9):

Re: Make error (make: *** [ext/ctype/ctype.lo] Error 1)
4 by: Michael Mauch

i need to work with dbf format
5 by: Yunier Saborit Ramirez

Problems configuring php 4.3.2 with imap support
6 by: Martin Östlund

Re: apache 2.0.46 + PHP 4.3.2 install problem
7 by: John
8 by: Ross Franklin

error in configure apx sand  mysql with php
9 by: saad al-hajeri

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 ---
Thomas wrote:

> I could not find anything describing this problem at bugs.php.net nor
> the mailing list archives.

Google is your friend ;-)

> /usr/local/include/unix.h:182: parse error before `MAILSTREAM'







> Any suggestions?

Remove the c-client (imap) package, if you don't need it. If you need
it, install a newer version of that package (at least imap-2002b doesn't
install that unix.h file into /usr/local/include anymore).

Regards...
Michael
--- End Message ---
--- Begin Message ---
hello every body:
i have already installed php-4.2.2-17, httpd-2.0.40-21
on linux RedHat 9 , and i need to work with a databse
in dbf 
format, but when i try to use dbase_open(...), an
error ocurred: Call to undefined function:
dbase_open()...
what i have to do?

pd: sorry mi english, i'm spanih speaking...

___
Yahoo! Sorteos  -  http://loteria.yahoo.es
Juega a la Lotería Primitiva sin salir de casa
--- End Message ---
--- Begin Message ---
Hi list.

I'm having problems configuring PHP 4.3.2 on Red Hat 9.0
vanilla installation with imap-2001a-18 and imap-devel-2001a-18.

I first tried:
./configure --with-imap --with-apxs=/www/bin/apxs

And it then said:
configure: error: This c-client library is built with Kerberos support.
  Add --with-kerberos to your configure line. Check config.log for details.

So I added --with-kerberos to my ./configure line as it said, and then it
gives me:

checking whether SSL libraries are needed for c-client... no
checking whether IMAP works... no
configure: error: build test failed. Please check the config.log for
details.

and this is some of the text config.log has:

configure:36336: gcc -o conftest -g -O2   -Wl,-rpath,/usr/kerberos/lib
-L/usr/kerberos/lib conftest.c -lc-client   -lcrypt -lpam -lresolv -lm
-ldl -lnsl  -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err 1>&5

/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libc-client.a(osdep.o)(.text+0xa4d7):
In function `ssl_onceonlyinit':
: the use of `tmpnam' is dangerous, better use `mkstemp'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libc-client.a(osdep.o)(.text+0xa4c7):
In function `ssl_onceonlyinit':
: undefined reference to `SSL_library_init'

and alot more of similar lines...


How can I fix this problem, I really need to get imap support to work with
my PHP.

Cheers. Martin

--- End Message ---
--- Begin Message ---
Very similar situation here but I think I'm doing  something wrong and could
use a little help from you guys.

Apache 2.0.46 & PHP 4.3.2

Here's my info: I can't get the ./configure to run


[EMAIL PROTECTED] php-4.3.2]#
./configure --with-apxs2=/usr/local/apache2/bin/apxs
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for gawk... gawk
checking for bison... no
checking for byacc... no
configure: warning: You will need bison if you want to regenerate the PHP
parsers.
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 2356: lex: command not
found
configure: error: cannot find output from lex; giving up
[EMAIL PROTECTED] php-4.3.2]#


Any ideas?

Thx


"Renaud Paquay" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I'm trying installing an apache 2.0.46 with PHP 4.3.2
>
> I compiled and installed the modules following the installation
instructions
> found on php.net
> Unfortunately, when I attempt t

php-install Digest 20 Jun 2003 09:15:26 -0000 Issue 1430

2003-06-20 Thread php-install-digest-help

php-install Digest 20 Jun 2003 09:15:26 - Issue 1430

Topics (messages 11120 through 11122):

Re: error in configure apx sand  mysql with php
11120 by: Jim Thome

Problems in Running php under 8.2 (formfieldvalues)
11121 by: Ruprecht Helms
11122 by: Armand Turpel

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 ---
Add the path to the apxs switch...  --with-apxs=/path/to/apxs

>>> saad al-hajeri <[EMAIL PROTECTED]> 06/19/03 02:45PM >>>
while I issue this command to configure mysql

./configure --with-mysql --with-apxs

it gave this error 
./configure :line 3096:apxs :command  not found
configure :error :aporting

What could be the problem.
Note:
Operating system Linux redhat version 9
apache httpd-2.0.40
php 4.3.2

Thanks in advance.

Regard
   Saad Al-Hajeri

_
Get an email address your friends will never forget... FREE!
Become [EMAIL PROTECTED] at http://www.emailaccount.com/ 

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php 


--- End Message ---
--- Begin Message ---
Hi,

Yesterday I upgrade my host to Suse 8.2. By testing formfieldvalues I
found that the entry is not transfered to the script or there are
troubles in the outputting. Result is I get an empty page.

I think the problem can be in the php.ini. Attached you can see it.

My formularpage use normal the postmethod to transfer. The Outputscript
is only


Does someone had seamilar problems with 8.2 an report my what to change
to fix the problem with formfieldvalues.

Regards,
Ruprecht


[PHP]

;;;
; WARNING ;
;;;
; This is the default settings file for new PHP installations.
; By default, PHP installs itself with a configuration suitable for
; development purposes, and *NOT* for production purposes.
; For several security-oriented considerations that should be taken
; before going online with your site, please consult php.ini-recommended
; and http://php.net/manual/en/security.php.


;;;
; About this file ;
;;;
; This file controls many aspects of PHP's behavior.  In order for PHP to
; read it, it must be named 'php.ini'.  PHP looks for it in the current
; working directory, in the path designated by the environment variable
; PHPRC, and in the path that was defined in compile time (in that order).
; Under Windows, the compile-time path is the Windows directory.  The
; path in which the php.ini file is looked for can be overridden using
; the -c argument in command line mode.
;
; The syntax of the file is extremely simple.  Whitespace and Lines
; beginning with a semicolon are silently ignored (as you probably guessed).
; Section headers (e.g. [Foo]) are also silently ignored, even though
; they might mean something in the future.
;
; Directives are specified using the following syntax:
; directive = value
; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
;
; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
;
; Expressions in the INI file are limited to bitwise operators and parentheses:
; |bitwise OR
; &bitwise AND
; ~bitwise NOT
; !boolean NOT
;
; Boolean flags can be turned on using the values 1, On, True or Yes.
; They can be turned off using the values 0, Off, False or No.
;
; An empty string can be denoted by simply not writing anything after the equal
; sign, or by using the None keyword:
;
;  foo = ; sets foo to an empty string
;  foo = none; sets foo to an empty string
;  foo = "none"  ; sets foo to the string 'none'
;
; If you use constants in your value, and these constants belong to a
; dynamically loaded extension (either a PHP extension or a Zend extension),
; you may only use these constants *after* the line that loads the extension.
;
; All the values in the php.ini-dist file correspond to the builtin
; defaults (that is, if no php.ini is used, or if you delete these lines,
; the builtin defaults will be identical).



; Language Options ;


; Enable the PHP scripting language engine under Apache.
engine = On

; Allow the  tags are recognized.  
; NOTE: Using short tags should be avoided when developing applications or
; libraries that are meant for redistribution, or deployment on PHP
; servers which are not under your control, because short tags may not
; be supported on the target server. For portable, redistributable code,
; be sure not to use short tags.
short_open_tag = On

; Allow ASP-style <% %> tags.
asp_tags = Off

php-install Digest 20 Jun 2003 22:55:22 -0000 Issue 1431

2003-06-20 Thread php-install-digest-help

php-install Digest 20 Jun 2003 22:55:22 - Issue 1431

Topics (messages 11123 through 11127):

Solaris Build Problem
11123 by: Steve Sherry

help with php install
11124 by: christopher.S. Keady

apache problem
11125 by: Mihai Gheza

complie FDF with PHP on FreeBSD
11126 by: treeml.itree.org
11127 by: Roedel, Mark

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'm having trouble getting php to build on Solaris2.8.

I run
./configure --with-apxs=/user/apache/bin/apxs --with-oci8 --enable-track-var
s

Configure completes OK. Make always fails with this error
ild: (argument error) can't find library arguments :: -lresolv -ldl -ldl
*** Error code 8
make: Fatal error: Command failed for target `sapi/cli/php'

Make will work if I run configure without the --with-oci8 option.

Any ideas what I'm doing wrong?

Thanks
Steve Sherry


--- End Message ---
--- Begin Message ---
Apple G4 using osx 10.2.6

Last part of my shell...



Generating files
updating cache ./config.cache
creating ./config.status
creating php4.spec
creating main/build-defs.h
creating scripts/phpize
creating scripts/php-config
creating sapi/cli/php.1
creating main/php_config.h
creating main/internal_functions.c
creating main/internal_functions_cli.c
++
|   *** ATTENTION ***|
||
| Something is likely to be messed up here, because the configure|
| script was not able to detect a simple feature on your platform.   |
| This is often caused by incorrect configuration parameters. Please |
| see the file debug.log for error messages. |
||
| If you are unable to fix this, send the file debug.log to the  |
| [EMAIL PROTECTED] mailing list and include appropiate  |
| information about your setup.  |
++
| License:   |
| This software is subject to the PHP License, available in this |
| distribution in the file LICENSE.  By continuing this installation |
| process, you are bound by the terms of this license agreement. |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point.|
++
|  *** NOTE ***  |
|The default for register_globals is now OFF!|
||
| If your application relies on register_globals being ON, you   |
| should explicitly set it to on in your php.ini file.   |
| Note that you are strongly encouraged to read  |
| http://www.php.net/manual/en/security.registerglobals.php  |
| about the implications of having register_globals set to on, and   |
| avoid using it if possible.|
++

Thank you for using PHP.

[maple:src/php/php-4.3.2] pherein# cat degug.log
cat: degug.log: No such file or directory
[maple:src/php/php-4.3.2] pherein# cat debug.log
CONFIGURE:   './configure' '--with-pgsql' '--with-apxs' '--with-zlib'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS:-no-cpp-precomp
CXX: 
CXXFLAGS: 
INCLUDES:-I$(top_builddir)/Zend -I/usr/local/pgsql/include
LDFLAGS: -L/usr/local/pgsql/lib -L/usr/local/pgsql/lib
LIBS:   -lpq -lz -lm 
DLIBS: 
SAPI:   apache
PHP_RPATHS:  /usr/local/pgsql/lib
uname -a:   Darwin maple.local. 6.6 Darwin Kernel Version 6.6: Thu May  1 
21:48:54 PDT 2003; root:xnu/xnu-344.34.obj~1/RELEASE_PPC  Power Macintosh 
powerpc

--- End Message ---
--- Begin Message ---
I'm really sorry for bothering you with something a bit different
i have just reconfigured my apache to have its htdocs in another
folder it works fine, but only with the pages in the very root of this
folder
when i try running any php script from the folder php/ I get a 404
page does not exist
please be so kind to tell me what should I modify in the httpd.conf
thank you

--- End Message ---
--- Begin Message ---
Has anyone successfully compiled Forms Data Format function for PHP on
FreeBSD?
I know at the php site http://us4.php.net/manual/en/ref.fdf.php, they said
that the platforms supported by Adobe are only Win32, Linux, Solaris and
AIX.  The tool kit you downloa

php-install Digest 21 Jun 2003 14:51:44 -0000 Issue 1432

2003-06-21 Thread php-install-digest-help

php-install Digest 21 Jun 2003 14:51:44 - Issue 1432

Topics (messages 11128 through 11129):

Re: complie FDF with PHP on FreeBSD
11128 by: treeml

Freetype & RH9
11129 by: Ville Mattila

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 ---
Ok, the problem is that I am trying to migrate codes that were writing on
Linux using FDF on to a FreeBSD server.  The previous programmer used FDF
all over the place.  It is really going to be a hassle to try to conver
every FDF command to the code example shown on the PHP website.   But thanks
for the information; I will keep it in mind just in case I end having to
rewrite all the codes.


Tree

-Original Message-
From: Roedel, Mark [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2003 6:15 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP-INST] complie FDF with PHP on FreeBSD


You may not really need the FDF toolkit, unless you need to do something
pretty sophisticated.  There's code samples in the user notes at
http://php.net/fdf that'll let you parse and generate FDF streams
without having any third-party libraries installed...and it's working
pretty well for me here.


---
Mark Roedel   | "Blessed is he who has learned to laugh
Systems Programmer|  at himself, for he shall never cease
LeTourneau University |  to be entertained."
Longview, Texas, USA  |  -- John Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 20, 2003 4:18 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] complie FDF with PHP on FreeBSD
>
>
> Has anyone successfully compiled Forms Data Format function for PHP on
> FreeBSD?
> I know at the php site
> http://us4.php.net/manual/en/ref.fdf.php, they > said
> that the
> platforms supported by Adobe are only Win32, Linux, Solaris and
> AIX.  The tool kit you download at the adobe web site only
> contain ".so"
> files for those systems. BTW, you can download the fdf SDK tookit at
> http://partners.adobe.com/asn/acrobat/sdk/regeula/fdftkv5.tar.gz
> However, I know that FreeBSD supports Linux binary.  Has anyone find
> anywork around to get php FDF function to compile under FreeBSD. Can't
> FreeBSD somehow use the Linux ".so" file?  I really would like to use
> FreeBSD, but I also need to use FDF.  Anyone? Any inputs? Thanks.
> Tree
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
Hi there,

I'm trying to install PHP 4.3.2 with Freetype libraries enabled in RH9.
There is my configure attributes:
'--with-pear' '--with-zlib-dir=/usr/include/' '--enable-mailparse'
'--enable-trans-sid' '--enable-shared' '--enable-static'
'--with-apxs=/usr/local/apache/bin/apxs' '--with-curlwrappers'
'--enable-ftp' '--enable-exif' '--with-gd' '--with-jpeg-dir=/usr/lib'
'--with-png-dir=/usr/lib' '--with-zlib-dir=/usr/include' '--with-freetype'
'--enable-gd-native-ttf' '--with-mysql' '--with-pdflib=/usr/local'
'--with-regex' '--with-zlib' '--with-config-file-path=/etc'
'--enable-track-vars' '--disable-cli' '--with-curl'

The compilation is successful without problem and phpinfo() will show the
new version. Anyway I can't find any info about freetype libraries in
phpinfo-page and using functions that require freetype give still errors,
like "Call to undefined function: imagettftext() ".

I've compiled both freetype and freetype-devel.

Any ideas?

Ville


--- End Message ---


php-install Digest 23 Jun 2003 15:17:40 -0000 Issue 1433

2003-06-23 Thread php-install-digest-help

php-install Digest 23 Jun 2003 15:17:40 - Issue 1433

Topics (messages 11130 through 11135):

Re: Freetype & RH9
11130 by: Michael Mauch
11131 by: Ville Mattila

remove old mysql
11132 by: saad al-hajeri

Problem on getting value.
11133 by: Joe Phyism
11134 by: Frédéric Trudeau

Question Regarding Access via Subdirectory
11135 by: Douglas Pollock

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 ---
Ville Mattila wrote:

> I'm trying to install PHP 4.3.2 with Freetype libraries enabled in RH9.
> There is my configure attributes:
> '--with-pear' '--with-zlib-dir=/usr/include/' '--enable-mailparse'
> '--enable-trans-sid' '--enable-shared' '--enable-static'
> '--with-apxs=/usr/local/apache/bin/apxs' '--with-curlwrappers'
> '--enable-ftp' '--enable-exif' '--with-gd' '--with-jpeg-dir=/usr/lib'
> '--with-png-dir=/usr/lib' '--with-zlib-dir=/usr/include' '--with-freetype'
> '--enable-gd-native-ttf' '--with-mysql' '--with-pdflib=/usr/local'
> '--with-regex' '--with-zlib' '--with-config-file-path=/etc'
> '--enable-track-vars' '--disable-cli' '--with-curl'
> 
> The compilation is successful without problem and phpinfo() will show the
> new version. Anyway I can't find any info about freetype libraries in
> phpinfo-page and using functions that require freetype give still errors,
> like "Call to undefined function: imagettftext() ".
> 
> I've compiled both freetype and freetype-devel.
> 
> Any ideas?

# configure --help | grep freetype
  --with-freetype-dir[=DIR] GD: Set the path to FreeType 2 install prefix.

So it's not --with-freetype (umm, yes, this is a bit confusing).

As a side note, --enable-trans-sid and --enable-track-vars don't exist
anymore.

Regards...
Michael
--- End Message ---
--- Begin Message ---
> # configure --help | grep freetype
>   --with-freetype-dir[=DIR] GD: Set the path to FreeType 2 install prefix.
>
> So it's not --with-freetype (umm, yes, this is a bit confusing).

Ups, thank you for help. Now it's working without problems.

> As a side note, --enable-trans-sid and --enable-track-vars don't exist
> anymore.

Thanks for note, they are now dropped out.

Ville


--- End Message ---
--- Begin Message ---
I would like to remove my old mysql server 

Thanks

Saad al-hajeri

_
Get an email address your friends will never forget... FREE!
Become [EMAIL PROTECTED] at http://www.emailaccount.com/
--- End Message ---
--- Begin Message ---
Dear all,

I am using Apache 1.3.26 and PHP 4.3.2, running on Windows XP as local web
server, however, I encounter the following problem when I try to execute my
PHP script.

[source of show.php]

[source end]

I try to use IE to see the result, however, no matter
http://localhost/show.php or http://localhost/show.php?a=1, the result is
the same - "False.".

I have asked on php.lang and the problem is generally solved by the
following modification on my script:

But I want to use the script above, how can I change my configuration?
Helper on the newsgroup told me that "If so then you are expecting 'Globals'
to be set as 'on' and they're set to 'off'.", what does that mean?

Thank you very much.



--- End Message ---
--- Begin Message ---

IN your php.ini config file, look for the line "register_globals".
It is probablly set to 'off' right now. Simply set ti to 'on'.
However, this may lead to security problems, and I advise you code your
script to avoid this.

- Original Message -
From: "Joe Phyism" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, June 21, 2003 9:29 PM
Subject: [PHP-INST] Problem on getting value.


> Dear all,
>
> I am using Apache 1.3.26 and PHP 4.3.2, running on Windows XP as local web
> server, however, I encounter the following problem when I try to execute
my
> PHP script.
>
> [source of show.php]
>  if ( $a == 1 ) {
> echo "True.";
> } else {
> echo "False.";
> }
> ?>
> [source end]
>
> I try to use IE to see the result, however, no matter
> http://localhost/show.php or http://localhost/show.php?a=1, the result is
> the same - "False.".
>
> I have asked on php.lang and the problem is generally solved by the
> following modification on my script:
>  if ( $_GET['a'] == 1 ) {
> echo "True.";
> } else {
> echo "False.";
> }
> ?>
> But I want to use the script above, how can I change my configuration?
> Helper on the newsgroup told me that "If so then you are expecting
'Globals'
> to be set as 'on' and they're set to 'off'.", what does that mean?
>
> Thank you very much.
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Mes

php-install Digest 24 Jun 2003 08:13:35 -0000 Issue 1434

2003-06-24 Thread php-install-digest-help

php-install Digest 24 Jun 2003 08:13:35 - Issue 1434

Topics (messages 11136 through 11138):

Building PHP as a CGI on OS X
11136 by: jaretis.shaw.ca

installing php with xml support (php 4.3.3rc1 & php5)
11137 by: Yann Larivee

Cant figure out php.ini
11138 by: Radovan Radic

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 have installed PHP as an apache module on Mac OS X 10.2, 
but a new program I've installed requires that PHP also be 
built as a CGI to allow for email nottifications.  The version of 
PHP that I have is 4.1.2.  How do I go about building PHP as a 
CGI on my system?  

I know that there are security concerns associated with using 
PHP this way, but the application will only be used on our 
internal network behind the firewall so the threat is somewhat 
lessened.  

Thanks in advance for any help that may be offered.  

-Jaret

--- End Message ---
--- Begin Message ---
Hi, i installed zlib,libiconv,libxml (seems to
work),expat,sablotron,mysql,php

But PHP (4.3.3 RC1) and PHP5 always return me this message

Plese reinstall libxml >= 2.4.14

But i did install 2.5.7

One thing that bug me is that warnng message that  i got will compiling
libxml

"libxml 2.5.7 comparison is always true due to limited range of data
type"

It seems like the installation worked well, but php doesnt want to
install.

What am i doing wrong ?

Yann

--- End Message ---
--- Begin Message ---
Hello,

I have installed PHP 4.3.2 on RedHat Linux 8.08, as Apache module, Apache is
2.0.45
Now, i cant change anything in php.ini. I mean, first there was not php.ini
file, then i copied php.ini-dist to /usr/local/php4.3.2/lib/php.ini , and
php was compiled with config-file-path=/usr/local/php4.3.2/lib/ . Now
whatever i change in php.ini, like register_globals , restart Apache, reload
phpinfo page, but register_globals is still 'off' , although i changed it to
'on' in php.ini .

What is the problem here?

Radovan


--- End Message ---


php-install Digest 24 Jun 2003 21:22:17 -0000 Issue 1435

2003-06-24 Thread php-install-digest-help

php-install Digest 24 Jun 2003 21:22:17 - Issue 1435

Topics (messages 11139 through 11149):

Re: Cant figure out php.ini
11139 by: Radovan Radic
11141 by: Stembridge, Michael

PHP4 on IIS for W2K
11140 by: Gabriel Plata Stapper

Re: Missing OCX Control  message during install
11142 by: David Kolöchter

OS X, PHP and OCI8
11143 by: Matt Rohrer
11144 by: Charlie Smith

php on iplanet
11145 by: Mackenzie, Luke

installing php-mysql
11146 by: Michael

vpopmail functions howto ?
11147 by: David D

php 420 -> 432 undder win32
11148 by: David D
11149 by: David D

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 ---
Cancel this post. It is working now.
I did this:
./configure --with-config-file-path=/usr/local/php4.3.2
and copied php.ini-recommended to /usr/local/php4.3.2/php.ini, restarted
Apache and everything works like magic.

"Radovan Radic" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
>
> I have installed PHP 4.3.2 on RedHat Linux 8.08, as Apache module, Apache
is
> 2.0.45
> Now, i cant change anything in php.ini. I mean, first there was not
php.ini
> file, then i copied php.ini-dist to /usr/local/php4.3.2/lib/php.ini , and
> php was compiled with config-file-path=/usr/local/php4.3.2/lib/ . Now
> whatever i change in php.ini, like register_globals , restart Apache,
reload
> phpinfo page, but register_globals is still 'off' , although i changed it
to
> 'on' in php.ini .
>
> What is the problem here?
>
> Radovan
>
>


--- End Message ---
--- Begin Message ---
Fyi, you can always check to see where Apache is expecting the php.ini file
by creating a .php page with the following code:



The path to php.ini will be printed towards the top of the table. 

hth


> -Original Message-
> From: Radovan Radic [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 24, 2003 5:07 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] Re: Cant figure out php.ini
> 
> 
> Cancel this post. It is working now.
> I did this:
> ./configure --with-config-file-path=/usr/local/php4.3.2
> and copied php.ini-recommended to 
> /usr/local/php4.3.2/php.ini, restarted
> Apache and everything works like magic.
> 
> "Radovan Radic" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Hello,
> >
> > I have installed PHP 4.3.2 on RedHat Linux 8.08, as Apache 
> module, Apache
> is
> > 2.0.45
> > Now, i cant change anything in php.ini. I mean, first there was not
> php.ini
> > file, then i copied php.ini-dist to 
> /usr/local/php4.3.2/lib/php.ini , and
> > php was compiled with 
> config-file-path=/usr/local/php4.3.2/lib/ . Now
> > whatever i change in php.ini, like register_globals , 
> restart Apache,
> reload
> > phpinfo page, but register_globals is still 'off' , 
> although i changed it
> to
> > 'on' in php.ini .
> >
> > What is the problem here?
> >
> > Radovan
> >
> >
> 
> 
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
--- End Message ---
--- Begin Message ---
I have a problem accessing PHP4 scripts running on a W2K operating system and IIS 
server. 
I get the following message: 

Security Alert! The PHP CGI cannot be accessed directly. 
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a 
page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an 
Apache Action directive. 

For more information as to why this behaviour exists, see the manual page for CGI 
security. 

For more information about changing this behaviour or re-enabling this webserver, 
consult the installation file that came with this distribution, or visit the manual 
page. 
 
 
I have the php.ini file with the following directive:
 
cgi.force_redirect = 0
 
located on:
 
C:\WINNT\php.ini
 
What can I do please?
 
Any help would be great.
 
Thanks a lot,
 
Gabriel




-
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!--- End Message ---
--- Begin Message ---
Hi Todd,

did you solve the issue? I have the same problem and can not solve it.

greetz,
David.
"Todd McLean" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Installing PHP using the downloaded installer.  My system is a win200
> server, service pack 3.  Installlation goes OK until the end when I get a
> messaage stating I'm missing an OCX control and the web server cannot be
> configured and must be configured manually.  I followed the instructions
in
> the install.txt, still not working.  Can anyone help?
>
>


--- End Message ---
--- Begin Message ---
I'm trying to get a PHP apache module with oci8 support running on
OS X.  I'm using Oracle's 'Release 9.2.0.1.0 - Deve

php-install Digest 25 Jun 2003 10:53:50 -0000 Issue 1436

2003-06-25 Thread php-install-digest-help

php-install Digest 25 Jun 2003 10:53:50 - Issue 1436

Topics (messages 11150 through 11151):

please, php vpopmail for windows
11150 by: David D

uploading files to dir on same level as httpdocs
11151 by: Karel van Zijl

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,

Can someone compile vpopmail extension for me ?
http://www.ionium.org/php/php_vpopmail-0.1.tar.gz
I need a php_vpopmail.dll ...
I have nothing for compiling this, so if someone can do easily ...

Thanks.


--- End Message ---
--- Begin Message ---
I'm building a website where people can download documents after they've logged in. I 
would like to store this documents in a folder located at the same level as my 
httpdocs folder. 

The idea is that people who are browsing at the website can download this documents, 
but they should not be able to download it by filling in an URL. 

I'm also building a management tool where these files can be uploaded.

Suggestions are more then welcome,

Karel

--- End Message ---


php-install Digest 26 Jun 2003 00:09:46 -0000 Issue 1437

2003-06-25 Thread php-install-digest-help

php-install Digest 26 Jun 2003 00:09:46 - Issue 1437

Topics (messages 11152 through 11156):

PHP in C SHELL
11152 by: Marcos

session_start undefined
11153 by: dayton.brooklyn.cuny.edu

PHP Install Solaris 2.8 + Oracle
11154 by: Steve Sherry

install failure on Sun Solaris 8
11155 by: YONG ZHANG

Can't get Red Hat 8 box to upgrade to 4.3.2
11156 by: George

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 need to execute the archive php below in the server Apache, but I
perceived that I obtain the waited result if I use csh (C shell) and not
using bash, somebody could say me as to execute this script in csh?

$pipe = "$username\n$password\n";
$pwauth = "/usr/local/apache/bin/pwauth";
if($cmd = popen ($pwauth, "w")) {
fwrite($cmd, $pipe);
$status=(pclose($cmd)>>8)&0xFF;
}

Thank's

Marcos
[EMAIL PROTECTED]



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.491 / Virus Database: 290 - Release Date: 18/06/03


--- End Message ---
--- Begin Message ---

Folks,

I've been using php w/apache for some time but I've encountered two problems
while installing it on a new laptop which I use for development & testing.
The first problem is more important to me but I figure the two problems may
be related.

1) session_start() is undefined.  It is undefined when I access a script via
   apache 1.3 and when I run scripts by hand.  It arises both when I start
   tikiwiki and my home grown system.

2) If I start apache with mod_php3, httpd gets a SEGV and dumps core.  If I
   comment out the two mod_php3 lines in the httpd.conf apache starts up.

Specs: FBSD 4.8.  XFree86 4.3.0, Apache/1.3.27, Php 4.3.2RC4.

I've reinstalled php and apache several times.  Searching the archives
hasn't produced anything.  Nothing obviously wrong in the config files.

Any ideas as to what this is?  I assume it's something simple, but I haven't
found it yet.

thanks
dayton

--- End Message ---
--- Begin Message ---
I'm having trouble getting PHP to build and install on a Solaris 2.8
platform.

I can get php to build and run if I run
./configure --prefix=www --with-apxs=/www/bin/apxs

When I run ./configure --prefix=www --with-apxs=/www/bin/apxs --with-oci8 I
get the following error message

Installing PEAR environment: /users/atisrdc/she/php/php/lib/php/
Segmentation Fault
make[1]: *** [install-pear-installer] Error 139
make: *** [install-pear] Error 2

I have also tried to build php without pear and then again with cli
disabled. The build will complete, but then I get a segmentation error when
I start apache.

Does anyone have any ideas?

Thanks!
Steve


--- End Message ---
--- Begin Message ---
Thanks for help.
--- End Message ---
--- Begin Message ---
Howdy

I am trying to upgrade my server from PHP 4.2.2 to 4.3.2

It was initially installed using the Red Hat 8 rpms.  I am trying to
duplicate its configure command, but the ./configure command fails at...

-
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking for member fd in BUFF *... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS... configure: 
error: Please note that Apache version >= 2.0.44 is required.
--

I was expecting the install to work via DSO through APXS, but maybe
that's not how Apache is set up in the Red Hat rpms?!?

Does anyone have any ideas how to make this work?

Here is more background info:
--
Configure command for PHP install:
./configure --host=i386-redhat-linux --build=i386-redhat-linux 
--target=i386-redhat-linux-gnu --prefix=/usr--sysconfdir=/etc --localstatedir=/var 
--mandir=/usr/share/man --infodir=/usr/share/info --with-config-file-path=/etc 
--enable-force-cgi-redirect --disable-rpath --with-db3 --with-curl --with-dom=/usr 
--with-freetype-dir=/usr --with-png-dir=/usr --with-gd --enable-gd-native-ttf 
--with-ttf --with-gdbm --with-gettext --with-ncurses --with-gmp --with-iconv 
--with-jpeg-dir=/usr --with-openssl --with-png-dir --with-pspell --with-regex=system 
--with-expat-dir=/usr --with-zlib with-bz2 --enable-bcmath --with-layout=GNU 
--enable-exif --enable-ftp --enable-magic-quotes --enable-safe-mode --enable-sockets 
--enable-sysvsem --enable-sysvshm --enable-discard-path  --enable-yp --enable-wddx 
--with-pear=/usr/share/pear --with-imap=shared --with-ima

php-install Digest 26 Jun 2003 21:30:06 -0000 Issue 1438

2003-06-26 Thread php-install-digest-help

php-install Digest 26 Jun 2003 21:30:06 - Issue 1438

Topics (messages 11157 through 11158):

problems with make-command  (undefined reference: __ctype_b)
11157 by: Mikko Hämäläinen

Re: [ERR] [PHP-INST] session_start undefined
11158 by: dayton.brooklyn.cuny.edu

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'm trying to install php-4.3.2 to a RedHat 9 - system. When I run the "make" - 
command I get first loads of text (I guess thats ok?) followed by several errors 
concerning "undefined reference to '__ctype_b'".

I've traced the problem to the renamed (in RH9) variable __ctype_b_loc (earlier it was 
__ctype_b) in the file '/usr/include/ctype.h'. The problem is also discussed at the RH 
bugzilla (http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=86465).

I was wondering if anybody has encountered this problem before and how he/she got past 
it (downgrading to RH8 ;-) ?)..

I'm new to (this is my first time installing ANYTHING to Linux) *NIX-systems so the 
problem can simply reside between the chair and the monitor, but I'd appreciate any 
help you gus can give..


Mikko Hämäläinen

Espoon-Vantaan teknillinen ammattikorkeakoulu - EVTEK--- End Message ---
--- Begin Message ---

Well it turned out to be operator error (at least session_start problem).
It was a weird interaction between a script I use to invoke make(1) and the
FreeBSD ports.

thanks anyway

dayton


dayton> Folks,

dayton> I've been using php w/apache for some time but I've encountered
dayton> two problems while installing it on a new laptop which I use for
dayton> development & testing.  The first problem is more important to
dayton> me but I figure the two problems may be related.

dayton> 1) session_start() is undefined.  It is undefined when I access
dayton> a script via apache 1.3 and when I run scripts by hand.  It
dayton> arises both when I start tikiwiki and my home grown system.

dayton> 2) If I start apache with mod_php3, httpd gets a SEGV and dumps
dayton> core.  If I comment out the two mod_php3 lines in the httpd.conf
dayton> apache starts up.

dayton> Specs: FBSD 4.8.  XFree86 4.3.0, Apache/1.3.27, Php 4.3.2RC4.

dayton> I've reinstalled php and apache several times.  Searching the
dayton> archives hasn't produced anything.  Nothing obviously wrong in
dayton> the config files.

dayton> Any ideas as to what this is?  I assume it's something simple,
dayton> but I haven't found it yet.

dayton> thanks dayton


dayton> -- PHP Install Mailing List (http://www.php.net/) To
dayton> unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---


php-install Digest 27 Jun 2003 12:34:19 -0000 Issue 1439

2003-06-27 Thread php-install-digest-help

php-install Digest 27 Jun 2003 12:34:19 - Issue 1439

Topics (messages 11159 through 11162):

upgrade php
11159 by: lavila.2be-web.com

Calling PHP from Java using CGI...
11160 by: Rodrigo Reyes
11161 by: Rodrigo Reyes

php 4.3.1+Apache 1.3.2
11162 by: Jose Manuel

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 linux rh with apache+mysql+php the version of php is 4.2.3. I´ve
tried to upgrade to php 4.3.2 so I can use gd but I installed everything
ok but I run phpinfo() and it still has the older version, and I would like
to know how I can get to work the new version

Thank you.

Lino Avila



--- End Message ---
--- Begin Message ---
Hi all
Has anyone been able to call php from a servlet (JAVA) using CGI
interface? I am trying to do that here, and everything seems to work without
problems, except that no data returns from the execution of my scripts. Any
idea what could be happening? Is there information on how to configure the
CGI variables in order to be able to call PHP? Thanx in advance...

Rodrigo


--- End Message ---
--- Begin Message ---
Hi all
Has anyone been able to call php from a servlet (JAVA) using CGI
interface? I am trying to do that here, and everything seems to work without
problems, except that no data returns from the execution of my scripts. Any
idea what could be happening? Is there information on how to configure the
CGI variables in order to be able to call PHP? Thanx in advance...

Rodrigo


--- End Message ---
--- Begin Message ---
I have installed PHP 4.3.1 with Apache 1.3.23.
PHP was compiled with

#./configure --with-mysql --with-apxs
#make
#make install

I have tested the file info.php and show the configuration of PHP correctly
but when i try to test a web page, not function.

The page info.php function correctly and show the php configuration.

I created a page that show a form for validate a user over MySql. This page
have two fields and one button for validate. The php code validate the user.
I used sessions. When the user click the button don´t occur anything. Why?

I intented to activate log errors but the file don't show anything.
The connection to MySQL function correctly ( test page ). And the
instruction session_start() return no errors ( test page).

The code is :






CLIENTES







  

  CÓDIGO:
  


  CONTRASEÑA: 
   
   

  


   

   Acceso Denegado!

  
 
   
  

   Bienvenido Cliente: 

  

Para navegar por la web mientras realiza compras, rogamos no use los
controles
  de navegador, use la navegación propia de la web. Gracias.
  Catálogo de productos por
familias
  
  

  

   Clave Incorrecta!

  
  
INDICE
VOLVER





Ejemplo


Any ideas.


--- End Message ---


php-install Digest 30 Jun 2003 01:22:21 -0000 Issue 1440

2003-06-29 Thread php-install-digest-help

php-install Digest 30 Jun 2003 01:22:21 - Issue 1440

Topics (messages 11163 through 11172):

Installation PHP+Apaceh
11163 by: Jose Manuel
11164 by: Adam Voigt

i need help: can someone translate?
11165 by: Tim Best

problems installing gd2.dll under WinXP
11166 by: Kolboom Andreas
11167 by: Stephen

Compile PHP
11168 by: Jose Manuel
11169 by: Adam Voigt

dll extensions in 4.3.2
11170 by: Adam Woolever

Compile PHP 4.3.1 + binary Apache 4.3.1 + Suse
11171 by: Jose Manuel

PHP5 beta 1 + Apache 2.0.46 on WinXP SP1
11172 by: AzN

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 have installed PHP 4.3.1 with Apache 1.3.23.
PHP was compiled with

#./configure --with-mysql --with-apxs
#make
#make install

I have tested the file info.php and show the configuration of PHP correctly
but when i try to test a web page, not function.

I have created a little file prueba.php:



Ejemplo




and the output is

Ejemplo

It seems that not parse the php code

PHP/usr/local/php-4.3.1
php.ini /usr/local/lib/php.ini
httpd.conf/etc/httpd/httpd.conf

and i have insert the modules over httpd.conf

ScriptAlias /php/ "/usr/local/lib"
AddType application/x-hhtpd-php .php
AddType application/x-hhtpd-php-source .phps
Action application/x-httpd-php "/php/php"

Any ideas.



--- End Message ---
--- Begin Message ---
First, restart apache (or the machine).
Second, change it to:







On Mon, 2003-06-23 at 11:14, Jose Manuel wrote:
> I have installed PHP 4.3.1 with Apache 1.3.23.
> PHP was compiled with
> 
> #./configure --with-mysql --with-apxs
> #make
> #make install
> 
> I have tested the file info.php and show the configuration of PHP correctly
> but when i try to test a web page, not function.
> 
> I have created a little file prueba.php:
> 
> 
> 
> Ejemplo
>  print("Prueba");
> ?>
> 
> 
> 
> and the output is
> 
> Ejemplo
> 
> It seems that not parse the php code
> 
> PHP/usr/local/php-4.3.1
> php.ini /usr/local/lib/php.ini
> httpd.conf/etc/httpd/httpd.conf
> 
> and i have insert the modules over httpd.conf
> 
> ScriptAlias /php/ "/usr/local/lib"
> AddType application/x-hhtpd-php .php
> AddType application/x-hhtpd-php-source .phps
> Action application/x-httpd-php "/php/php"
> 
> Any ideas.
> 
-- 
Adam Voigt ([EMAIL PROTECTED])
Linux/Unix Network Administrator
The Cryptocomm Group

--- End Message ---
--- Begin Message ---
The configure operation for php-4.3.2 said i should
send this.  Can you tell what seems to be wrong?  I
have a funky configuration the path to iodbc is to the
actual path not the link but /usr/local usually works
fine.  Any insights would be helpful!

Thanks,
T



__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

debug.log
Description: debug.log
--- End Message ---
--- Begin Message ---
Hello,

I cannot get the gd2.dll to work on my system.
The rest of PHP already works fine.

- Windows XP
- Apache 2.0.46
- PHP 4.3.2
- php.ini IS found and used (as seen in php.info: Configuration File
(php.ini) Path = C:\WINDOWS\php.ini)
- entered the right extension_dir in php.ini WITH ending '\'
- colon WAS removed in line 'extension=php_gd2.dll'
- There IS a php_gd2.dll in C:\...\extensions
- Upon (re)starting the Apache, I get no error whatsoever.
Still:
=> any .php script using GD methods brings errors like
" Fatal error:  Call to undefined function:  imagegif() "

Please help!

Andy
--- End Message ---
--- Begin Message ---
Andy,

Two things spring to mind. Firstly, Apache 2 and PHP are still in beta
testing stage, so it *could* be an issue with those two. Probably not thou.
Secondly, I believe I am correct in saying that you should not have a \ on
the end of your extension path. I do not have one on mine, and GD2 works
perfectly. That would explain why it isn't loading the dll file.

To test your GD info, I suggest using gd_info() to get all the information
about GD. If the function fails, then GD has not been installed, otherwise
it should return an array. A simple test code would look something like
this:

$GDArray = gd_info();

foreach( $GDArray as $key=>$value ) {
print '$GDArray['.$key.'] = '.$value.'';
}

Stephen

- Original Message - 
From: "Kolboom Andreas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 27, 2003 2:51 PM
Subject: [PHP-INST] problems installing gd2.dll under WinXP


Hello,

I cannot get the gd2.dll to work on my system.
The rest of PHP already works fine.

- Windows XP
- Apache 2.0.46
- PHP 4.3.2
- php.ini IS found and used (as seen in php.info: Configuration File
(php.ini) Path = C:\WINDOWS\php.ini)
- entered the right extension_di

php-install Digest 30 Jun 2003 15:29:08 -0000 Issue 1441

2003-06-30 Thread php-install-digest-help

php-install Digest 30 Jun 2003 15:29:08 - Issue 1441

Topics (messages 11173 through 11176):

PHP help
11173 by: Bill Pilgrim
11174 by: Tony Dietrich

Re: PHP5 beta 1 + Apache 2.0.46 on WinXP SP1
11175 by: Seung Hwan Kang

Connecting PHP to Jetty...
11176 by: Rodrigo Reyes

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 ---
My System:  
Windows 98
Apache 1.3.27
PHP 4
mysql
 
Hello all, I am a PHP beginner and was wondering if I could get some help from some of 
the more experienced on this list.  I have been trying to use an html form (with 
textboxes, radio buttons, and textareas) to input data into a mysql database.  I am 
able to connect fully with the database and am able to create tables in it, but when I 
try to input information into the tables nothing happens. ever...  I don't really know 
what to do from here, but I assume that a configuration is not set properly between 
mysql, apache, windows, or php.  I really don't know what it could be.  My code is 
here and I have tried to simplify the form in order to get it working, so here is my 
barebones code that hopefully has some errors:
HTML:



Simplify



Login: 





PHP file called "addform.php":



Login is the name of the table on the database named test.

I stopped using a password because it wouldn't let anything work even table creation 
when I tried to use a password.  Any help that anyone could give would be greatly 
appreciated; there is probably some grievious error in this script.  Thanks, Chris



-
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!--- End Message ---
--- Begin Message ---
Hi Bill

On running the addform script, do you get any error messages?

It sorta looks OK to me, but one thing I suspect is that you don't have
your mysql privileges correct.

Check the mysql documentation on the keyword 'GRANT'.  This may solve
the problem of not being able to use a password, and may also solve the
other problems.

Come back to us if this doesn't work.

TD

On Mon, 2003-06-30 at 06:29, Bill Pilgrim wrote:
> My System:  
> Windows 98
> Apache 1.3.27
> PHP 4
> mysql
>  
> Hello all, I am a PHP beginner and was wondering if I could get some help from some 
> of the more experienced on this list.  I have been trying to use an html form (with 
> textboxes, radio buttons, and textareas) to input data into a mysql database.  I am 
> able to connect fully with the database and am able to create tables in it, but when 
> I try to input information into the tables nothing happens. ever...  I don't really 
> know what to do from here, but I assume that a configuration is not set properly 
> between mysql, apache, windows, or php.  I really don't know what it could be.  My 
> code is here and I have tried to simplify the form in order to get it working, so 
> here is my barebones code that hopefully has some errors:
> HTML:
> 
> 
> 
> Simplify
> 
> 
> 
> Login: 
> 
> 
> 
> 
> 
> PHP file called "addform.php":
> 
>  
> $user="chris";
> $database="test";
> mysql_connect(localhost,$user);
> @mysql_select_db($database) or die("unable to select database");
> $query="INSERT INTO login VALUES ("'$login')";
> mysql_query($query);
> mysql_close();
> ?>
> 
> Login is the name of the table on the database named test.
> 
> I stopped using a password because it wouldn't let anything work even table creation 
> when I tried to use a password.  Any help that anyone could give would be greatly 
> appreciated; there is probably some grievious error in this script.  Thanks, Chris
> 
> 
> 
> -
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
-- 
Tony Dietrich <[EMAIL PROTECTED]>
Transoft Computer Consultants

--- End Message ---
--- Begin Message ---
Hello Azn,

I tried PHP as an Apache module on W2K with Apache 2.0.46 & PHP 5.0.0 
Beta 1,  but didn't work.  You may need to install it as a CGI.  It works!

Azn wrote:
Hi,
Can anyone get PHP5 beta to work on Apache 2.0.46? Heres what I'm doing:
Extract PHP5 to C:\php
Put php4ts.dll into C:\WINDOWS\system32
Put php.ini-recommended into C:\WINDOWS, rename to php.ini
Add to httpd.conf:
LoadModule php4_module "c:/php/sapi/php4apache2.dll"
AddType application/x-httpd-php .php
Those are the same steps I followed for PHP4. However, when I run Apache, I
get:
Cannot load c:/php/sapi/php4apache2.dll into server: The specified
module could not be found.
The file php4apache2.dll does exist in c:\php\sapi\.. Are there new
instructions for installing PHP5?


--- End Message ---
--- Begin Message ---
Hi all
Has someone been able to have PHP connected to Jetty? Thanx...

Rodrigo


--- End Message ---


php-install Digest 1 Jul 2003 03:58:39 -0000 Issue 1442

2003-06-30 Thread php-install-digest-help

php-install Digest 1 Jul 2003 03:58:39 - Issue 1442

Topics (messages 11177 through 11190):

PHP 4.2.3 Warning: open_basedir restriction in effect.
11177 by: Fribse

Re: PHP5 beta 1 + Apache 2.0.46 on WinXP SP1
11178 by: AzN
11179 by: Stephen
11182 by: Elizabeth Smith

MySql Installation with Linux
11180 by: Brian
11181 by: Marco Tabini

PHP installation
11183 by: Delacruz, Antonio M [ITS]

install php 4.2.x on RH 7.1
11184 by: Alex Shi

Re: Application
11185 by: glipy.fx.ro

NO MySQL in PHP5 Beta1?
11186 by: news.php.net
11187 by: Rasmus Lerdorf

Re: Installation
11188 by: phpWalter
11189 by: phpWalter

RFC - new windows install procedure...
11190 by: phpWalter

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 ---
The full error looks like this:

Warning: open_basedir restriction in effect. File is in wrong directory 
in sys:/php/fribert.dk/minibb/index.php on line 35

Warning: Failed opening './skins/fribert.php' for inclusion 
(include_path='.') in sys:/php/fribert.dk/minibb/index.php on line 35

Warning: open_basedir restriction in effect. File is in wrong directory 
in sys:/php/fribert.dk/minibb/addonlang.php on line 27

Warning: open_basedir restriction in effect. File is in wrong directory 
in sys:/php/fribert.dk/minibb/addonlang.php on line 27

Warning: open_basedir restriction in effect. File is in wrong directory 
in sys:/php/fribert.dk/minibb/index.php on line 40

Warning: Failed opening './lang/eng.php' for inclusion 
(include_path='.') in sys:/php/fribert.dk/minibb/index.php on line 40

Warning: open_basedir restriction in effect. File is in wrong directory 
in sys:/php/fribert.dk/minibb/bb_functions.php on line 86
FATAL: NOT FOUND user_login_form

I've got the /skins/ directort in sys:/php/fribert.dk/minibb/skins

I've set up this in php.ini:
open_basedir = ".;sys:/php/fribert.dk/minibb;sys:/php/intranet/minibb"
safe_mode = Off
safe_mode_exec_dir = "sys:/php"

So what to do, has I misunderstood something?


--- End Message ---
--- Begin Message ---
Actually, I finally got it to work with module. I had to put the iconv.dll
into the sapi folder, that's all. Also, I had to use:
LoadModule php5_module "c:/php/sapi/php4apache2.dll"

Not php4_module. Thanks Elizabeth Smith.

However, I seem to have misconfigured something. PHPinfo works but when I
run my phpBB, I just get blank page. Also, when I try my upload script, I
press the links and nothing happens:
Upload Files ::

Any ideas?


"Seung Hwan Kang" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello Azn,
>
> I tried PHP as an Apache module on W2K with Apache 2.0.46 & PHP 5.0.0
> Beta 1,  but didn't work.  You may need to install it as a CGI.  It works!
>
> Azn wrote:
> > Hi,
> > Can anyone get PHP5 beta to work on Apache 2.0.46? Heres what I'm doing:
> >
> > Extract PHP5 to C:\php
> > Put php4ts.dll into C:\WINDOWS\system32
> > Put php.ini-recommended into C:\WINDOWS, rename to php.ini
> >
> > Add to httpd.conf:
> > LoadModule php4_module "c:/php/sapi/php4apache2.dll"
> > AddType application/x-httpd-php .php
> >
> > Those are the same steps I followed for PHP4. However, when I run
Apache, I
> > get:
> > Cannot load c:/php/sapi/php4apache2.dll into server: The specified
> > module could not be found.
> >
> > The file php4apache2.dll does exist in c:\php\sapi\.. Are there new
> > instructions for installing PHP5?
> >
> >
>


--- End Message ---
--- Begin Message ---
Register Globals?  $PHP_SELF would be null if you still have it set to 0 (I
believe).

Also, phpBB is designed for php 4, there may be some issues/coding problems
which prevent it being used in php 5. Then again, they could both be PHP 5
bugs...

Stephen

- Original Message - 
From: "AzN" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 30, 2003 8:19 PM
Subject: [PHP-INST] Re: PHP5 beta 1 + Apache 2.0.46 on WinXP SP1


> Actually, I finally got it to work with module. I had to put the iconv.dll
> into the sapi folder, that's all. Also, I had to use:
> LoadModule php5_module "c:/php/sapi/php4apache2.dll"
>
> Not php4_module. Thanks Elizabeth Smith.
>
> However, I seem to have misconfigured something. PHPinfo works but when I
> run my phpBB, I just get blank page. Also, when I try my upload script, I
> press the links and nothing happens:
> Upload Files ::
>
> Any ideas?
>
>
> "Seung Hwan Kang" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Hello Azn,
> >
> > I tried PHP as an Apache module on W2K with Apache 2.0.46 & PHP 5.0.0
> > Beta 1,  but didn't work.  You may need to install it as a CGI.  It
works!
> >
> > Azn wrote:
> > > Hi,
> > > Can anyone get PHP5 beta 

php-install Digest 1 Jul 2003 22:23:45 -0000 Issue 1443

2003-07-01 Thread php-install-digest-help

php-install Digest 1 Jul 2003 22:23:45 - Issue 1443

Topics (messages 11191 through 11191):

Mail sent from safe mode missing Apache environment?
11191 by: Ed Ravin

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've got Apache 1.3.27 with PHP 4.3.0 on NetBSD 1.5.3.  When a PHP
program running in safe mode calls the mail() function to send
mail, the usual Apache environment variables like SCRIPT_FILENAME
and REMOTE_ADDRESS are not exported.  This is a problem since I
need to log which CGI and remote host are responsible for the
outgoing mail, since all sendmail knows is that user "nobody" sent
it out.

Are there any build or configuration tweaks that might help me?  If
this is a bug, is the problem in Apache or PHP?

Thanks,

-- Ed
--- End Message ---


php-install Digest 2 Jul 2003 12:12:37 -0000 Issue 1444

2003-07-02 Thread php-install-digest-help

php-install Digest 2 Jul 2003 12:12:37 - Issue 1444

Topics (messages 11192 through 11196):

can't load extension
11192 by: Tam Pou Fai

[301]can't load extension
11193 by: Tam Pou Fai

Re: installing php-mysql
11194 by: suomi

Re: Compile PHP 4.3.1 + binary Apache 4.3.1 + Suse
11195 by: suomi

installation takes longer than expected
11196 by: user.domain.invalid

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 can' t load any extension in my PHP. (apache 2.046 + php 4.3.2 + winXP)
I have edited my php.ini as following:

extension_dir = "D:\apache_server\php\extensions\"

and of course I copy all the .dll file to the specified folder, but I still
get the warning message when I start the apache server.
"Unable to load dynamic library D:\apache_server\php\extensions\php_gd2.dll
the specified procedure could not be found"

I have no idea why my server is going wrong. Please help.



--- End Message ---
--- Begin Message ---
I can' t load any extension in my PHP. (apache 2.046 + php 4.3.2 + winXP)
I have edited my php.ini as following:

extension_dir = "D:\apache_server\php\extensions\"

and of course I copy all the .dll file to the specified folder, but I still
get the warning message when I start the apache server.
"Unable to load dynamic library D:\apache_server\php\extensions\php_gd2.dll
the specified procedure could not be found"

I have no idea why my server is going wrong. Please help.



--- End Message ---
--- Begin Message ---
Try to create a link from what you have to what is requested:

ln -s /usr/lib/libmysqlclient.so.12 /usr/lib/libmysqlclient.so.10

if the libraries don't disagree too far, that may work

suomi

Michael wrote:
I am using RH9 and have successfully installed php-4.2.2-17 via rpm (i386).
I am now trying to install php-mysql-4.2.2-17 and it comes up with a failed
dependency -
libmysqlclient.so.10 is needed. I have libmysqlclient.so.12 which I assume
is installed with php.
Why is it that it doesn't recognize and allow for the use of the newer
version? I'm totally confused.
Do I need to install an older version of php? I don't really want to do
that.
Thanks for any help.
M


--- End Message ---
--- Begin Message ---
U ever checked in the apache error log?

check to see whether your php program is really in

/usr/local/lib/php/php

as it should be according to your apache config.

good luck.

suomi

Jose Manuel wrote:
I have compiled PHP 4.3.1 over Suse 8.0 with

#./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/sbin/apxs
#make
#make install
and it's all correct ( info.php function correctly ) . The version of Apache
is a binary distribution 1.3.2.
When i access a web page that uses sessions and MySQL conection ( a
validation user page, a user and password edit text object and a button that
verifies the user over MySQL table ) not respond, it's not run. The server
not respond any error.
MySQL function correctly ( phpMyAdmin ).
The compilation ( make ) output

Installing PHP CLI binary:/usr/local/bin/
Installing PHP SAPI module
Installing shared extensions:
/usr/local/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment:  /usr/local/lib/php/
[PEAR] Archive_Tar- already installed: 0.9
[PEAR] Console_Getopt - already installed: 1.0
[PEAR] PEAR   - already installed: 1.0b3
[PEAR] DB - already installed: 1.3
[PEAR] HTTP   - already installed: 1.2
[PEAR] Mail   - already installed: 1.0.1
[PEAR] Net_SMTP   - already installed: 1.0
[PEAR] Net_Socket - already installed: 1.0.1
[PEAR] XML_Parser - already installed: 1.0
[PEAR] XML_RPC- already installed: 1.0.4
Installing build environment: /usr/local/lib/php/build/
Installing header files:  /usr/local/include/php/
Installing helper programs:   /usr/local/bin/
  program: phpize
  program: php-config
  program: phpextdist
I have insert various lines to  file httpd.conf :

..
LoadModule php4_module/usr/lib/apache/libphp4.so
..
AddModule mod_php4.c
..
ScriptAlias /php/ "/usr/local/lib/php"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Action application/x-httpd-php "/php/php"
...
What's the problem?

Thanks.



--- End Message ---
--- Begin Message ---
Hi every
I yesterday constructed the php 4.3.2 rpm package from the source, and 
that took me much longer than expected.

I used the following configure string:

./configure --enable-force-cgi-redirect --enable-calendar 
--with-ldap=/usr/local/openldap --with-mysql 
--with-unixODBC=/usr/lib/unixODBC --with-readline

nothing particularly exeptional, hough?

but when it came to make, the compiler/loader team played two jokes 
with me

first i got into a l

php-install Digest 3 Jul 2003 01:22:20 -0000 Issue 1445

2003-07-02 Thread php-install-digest-help

php-install Digest 3 Jul 2003 01:22:20 - Issue 1445

Topics (messages 11197 through 11200):

PHP5 Windows XP Install Problem
11197 by: Louis
11199 by: jsWalter

Re: PHP Install Solaris 2.8 + Oracle
11198 by: Charlie Smith

Re: Movie
11200 by: kuenne.rentec.com

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 ---
Description:

I have tried without success to get php-5.0.0b1-Win32 installed on Windows
XP Pro. The web servers I have tried with are:

Apache 1.3.27
Apache 2.0.46

I tried following the PHP 4 instructions for installing PHP 5, both as a
Module and CGI, but Apache refuses to start up. This is what I have put in
to the config httpd.conf file for the server:

LoadModule php4_module C:/Apache2/PHP5/sapi/php4apache2.dll
AddType application/x-httpd-php .php

or

LoadModule php5_module C:/Apache2/PHP5/sapi/php4apache2.dll
AddType application/x-httpd-php .php

I have also copied the php4ts.dll file to the Windows/Winnt and system32
driectories. Also the php.ini file to the windows/winnt directory. I've try
the same above with Apache 1.3 too. Then when I start Apache, I get this
error:

Syntax error on line 176 of C:/Apache2/conf/httpd.conf
Cannot load C:/Apache2/PHP5/sapi/php4apache2.dll into server. The
specified module could not be found

or

Syntax error on line 176 of C:/Apache2/conf/httpd.conf
Cannot load C:/Apache2/PHP5/sapi/php4apache2.dll into server. The
specified procedure could not be found


Can anyone help?



---
I also tried PHP 4.3.2 and it on Apache 1.3.27 & 2.0.46 using:

#LoadModule php4_module C:/Apache/PHP4/sapi/php4apache.dll
LoadModule php4_module C:/Apache2/PHP4/sapi/php4apache2.dll
AddType application/x-httpd-php .php

with success (of course using the right apache file and php4ts.dll).

I know I can get PHP 4 working with a clean install, but not PHP 5 :-S

Thanks for any help offered


--- End Message ---
--- Begin Message ---
This may, or may not be of help.

I've asked efor comments on this, but none have been had.

See if this helps you.

This was written for my system which (was NT 4) Win 2k and Apache 2.x.

It should work for XP, I have no idea about PHP 5, but I'm hoping you'll
tell me.

walter

==

This installation description worked on my NT 4.0 (SP 3 thru 6) and on my
Windows 2000 Professional.

[IMPORTANT - READ THIS!]
Before I outline how I installed PHP without the installer or putting
anything in my WINNT or SYSTEM directories, I need to show you how I've
setup my computer overall.

First of all, I have 6 main volumes. This spans 2 physical drives. (I
actually have 5 drives in my machine, but the others are not important
here.)

Physical Drive 1 [10GIG drive ]
  Volume C [8Gig] = Win2k OS - this contains the operating system ONLY
  Volume X [1GIG] = temp - OS/apps temp space ONLY [I have this hidden]

Physical Drive 2 [ 80GIG drive]
  Volume D [40GIG] = Apps - contains all the Win32 apps ONLY
  Volume E [25GIG] = Data - contains all my data files and personal stuff
  Volume F [10GIG] = UNIX - has all my pseudo UNIX stuff, apps, utilities,
etc
  Volume Y [4GIG] = SWAP - OS SWAP space ONLY [I have this hidden]

The temp and swap are in their own spaces to help system performance and
behavior. With these files off by themselves, the OS does not have to work
hard finding things it needs in the OS partition. This keeps the TEMP space
adding and deleting files all day without fragmenting the OS drive. The SWAP
is in it's own space, that way it can create a single contiguous file as big
as it needs to without having to deal with other files being added/removed;
again, no disk fragmentation issues.

Everyone has their own sand box. This make Win32 very happy. Really!

I even have DATA off by itself on the chance that I lose the OS drive. I
still have my personal data and I can back that up easily without wasting
time and energy backing up the OS and the apps (which, in my opinion, is a
waste of time. If you have to ask why, then you've not had to reinstall your
OS more than twice in a year!)

This brings us to the UNIX volume.

Here I have Perl, Apache, mySQL, PHP and windows based UNIX command line
tools. I also have the classic 'etc', 'usr', 'home', 'tmp' directories; just
as if it were a real Un*x machine. These applications like this format. This
is where they came from. They don't really like being forced into the
Windows mold, so why bother!

Now, I haven't taken the Un*x metaphor to the extreme. I don't have files
and aliases all over the place. Since it wouldn't do any good anyway, since
Windows SHORTCUTS do not behave like a Un*x alias.

The 'etc' directory contains...
 - httpd - this is where Apache 

php-install Digest 3 Jul 2003 13:56:02 -0000 Issue 1446

2003-07-03 Thread php-install-digest-help

php-install Digest 3 Jul 2003 13:56:02 - Issue 1446

Topics (messages 11201 through 11202):

PHP >4.2.1 + Apache >2.0.35 - the well known LoadModule problem
11201 by: Yaroukh

Addings extensions...
11202 by: Andrej Snedic

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 all

I'm running Apache 2.0.35 with PHP 4.2.1 as a module - without any problems.
But when I've decided to upgrade PHP (to check the new 5b) and then Apache
too (when firstly ran into problems), I wasn't able to get them work
together ...

tried:
- later Apache versions (2.0.39, 2.0.46) - unable to run any version of PHP
(4.2.1, 4.2.3, 5.0.0b)
- my current version of Apache (2.0.35) - unable to run any later version of
PHP (4.2.3, 5.0.0b)
- php4ts.dll in "C:\WINNT", "C:\WINNT\system32", "C:\Program Files\PHP\sapi"
- iconv.dll copied to "sapi" directory

When I install Apache 2.0.35 and PHP 4.2.1 back again everything is OK.

I always end with one of these two Apache error-messages:
"The specified module could not be found." // obvously only occurring when
PHP can't locate php4ts.dll
"The specified procedure could not be found."
(With the 5b I've tried to change "LoadModule php4_module ..." to
"LoadModule php5_module ..." - no difference.)

Win2k SP4
PHP in C:\Program Files\PHP
Apache2 in C:\Program Files\Apache Group\Apache2

Any hints please? :o(
  Yaroukh



--- End Message ---
--- Begin Message ---
I am adding some extensions to PHP engine so I edited PHP.INI in c:\windows
directory this way:

...
extension_dir = "D:\Web\PHP\extensions"
...
extension=php_some-extension.dll
...

The actrual complete path to my extension is:
D:\Web\PHP\extensions\php_some-extension.dll

But after rebooting my computer I always get this error message:
"Unknown(): Unable to load dynamic link library
'D:\Web\PHP\extensions\php_some-extension.dll' - The specified module could
not be found. [OK]"

So what's wrong? How shuld I set my extensions path?

I am running Apache 2.0.46 and PHP 4.3.2.2 on Windows XP.

Thanks,
-Andrej



--- End Message ---


php-install Digest 4 Jul 2003 03:07:30 -0000 Issue 1447

2003-07-03 Thread php-install-digest-help

php-install Digest 4 Jul 2003 03:07:30 - Issue 1447

Topics (messages 11203 through 11209):

Error configure php 5.0.0b1 on Solaris 2.8 with openssl 0.9.7b
11203 by: Ziying Sherwin

PHP3 kills apache
11204 by: dayton.brooklyn.cuny.edu

Re: Addings extensions...
11205 by: jsWalter

new install of PEAR on 2k
11206 by: jsWalter

Re: Movie
11207 by: jsWalter

win2k iis php 4.3.2 404 error -
11208 by: arakaht

Install php 4.2.x on RH 7.1
11209 by: Alex Shi

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 ---


We are trying to build php 5.0.0b1 on our Solaris 2.8 platform with gcc 3.3 and
openssl 0.9.7b. The configuration failed with the following message:


Configuring extensions
checking for OpenSSL support... yes
checking for OpenSSL version... >= 0.9.6
checking for CRYPTO_free in -lcrypto... yes
checking for SSL_CTX_set_ssl_version in -lssl... no
configure: error: libssl not found!

The relevant lines in config.log look like:

configure:17773: gcc -o conftest -g -O2  -D_POSIX_PTHREAD_SEMANTICS
  -L/depot/package/openssl_0.9.7b/vendor/lib -lcrypto
  -R/usr/ucblib -L/usr/ucblib 
-R/depot/package/gcc_3.3/lib/gcc-lib/sparc-sun-solaris2.8/3.3 
-L/depot/package/gcc_3.3/lib/gcc-lib/sparc-sun-solaris2.8/3.3 conftest.c -lssl  
-lresolv -lm -ldl -lnsl -lsocket  -lgcc 1>&5
Undefined   first referenced
 symbol in file
CRYPTO_lock 
/depot/package/openssl_0.9.7b/vendor/lib/libssl.a(ssl_cert.o)
lh_free 
/depot/package/openssl_0.9.7b/vendor/lib/libssl.a(ssl_lib.o)
COMP_CTX_free   
/depot/package/openssl_0.9.7b/vendor/lib/libssl.a(ssl_lib.o)
CRYPTO_dup_ex_data  
/depot/package/openssl_0.9.7b/vendor/lib/libssl.a(ssl_lib.o)
EVP_get_cipherbyname
/depot/package/openssl_0.9.7b/vendor/lib/libssl.a(ssl_ciph.o)
...
sk_set  
/depot/package/openssl_0.9.7b/vendor/lib/libssl.a(ssl_lib.o)
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 17762 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply.  */
char SSL_CTX_set_ssl_version();

int main() {
SSL_CTX_set_ssl_version()
; return 0; }

According to the header file ssl.h file in the openssl package, the function
SSL_CTX_set_ssl_version is defined as:

/* This sets the 'default' SSL version that SSL_new() will create */
int SSL_CTX_set_ssl_version(SSL_CTX *ctx,SSL_METHOD *meth);
 
which looks different from the test program generated by configure. 

Does php 5.0.0b1 have special requirement for the openssl package or is it
an error in the configuration file?

Thanks.
Ziying Sherwin


--- End Message ---
--- Begin Message ---

Folks,

I posted this before along with another problem.  The other problem turned
out to be operator error but this one I still can't figure out.

Specs: FreeBSD 4.8.
   XFree86 4.3.0
   Apache/1.3.27
   Php 4.3.2RC4
   Php3-3.0.18_3
   Tohsiba Tecra M1

I want php3 to run phpmyadmin.

If I start apache with both mod_php3 and mod_php4, httpd gets a SEGV and
dumps core.  If I comment out LoadModule and AddModule commands for
mod_php3, apache runs fine (except, of course, w/o php3).

I've reinstalled Apache, Php4, and Php3 via the FreeBSD ports.

I've scanned the various config files.  Nothing stands out as a potential
problem.



thanks in advance
dayton


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
Andrej Snedic" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I am adding some extensions to PHP engine so I edited PHP.INI in
c:\windows
> directory this way:
>
> ...
> extension_dir = "D:\Web\PHP\extensions"
> ...
> extension=php_some-extension.dll
> ...


Is your 'extensions' path also in your 'include_path'?

This is from my INI file...

   include_path = ".;G:\etc\php\extensions".;G:\etc\php\pear"
...
   extension_dir = "G:\etc\php\extensions"

Walter



--- End Message ---
--- Begin Message ---
I just installed PEAR on my Win2k box.

I try to use DB.php and I get this...

 Fatal error: main(): Failed opening required 'DB.php'
(include_path='.;c:\php4\pear')

I can't find this path defined *anywhere*.

It is *not* in my INI file...

include_path = ".;G:\etc\php\extensions".;G:\etc\php\pear"


I don't have PHP installed there.

How can I "fix" this include path issue.

[besides pla

php-install Digest 4 Jul 2003 15:27:02 -0000 Issue 1448

2003-07-04 Thread php-install-digest-help

php-install Digest 4 Jul 2003 15:27:02 - Issue 1448

Topics (messages 11210 through 11218):

php compilation
11210 by: Rajendra Kumar

Re: Addings extensions...
11211 by: Tam Pou Fai
11215 by: Andrej Snedic
11216 by: Cybot

Compiling MySQL Extension with Cygwin
11212 by: Robert Schmelzer

Re: new install of PEAR on 2k
11213 by: Cybot
11214 by: Cybot

How do I compiling MySQL Clients on Windows
11217 by: Seung Hwan Kang

Uninstalling PHP
11218 by: Yasir Malik

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 List,

   i want to run php nuke in redhat linux 9. earlier i
installed php on redhat 7.3 with configure option
--with-mysql --with-apxs and nuke is working fine.

  but now i installed 9 i did same procedure but i am
getting error like path not found for apxs.

   i am trying to find path for apxs but in redhat 9 i
am not able to find the location for apxs. i tryed to
search all the file system

  find / -name apxs -print so no file display

  there is no directory apache2 in /usr/local but i am
able to run my company website in apache server.

  i am not sure where is the apache2 folder or did
they renamed apxs file in redhat 9 with different
name.?

  how to compile php to work with nuke. 


thanks,
Naren.


Missed your favourite TV serial last night? Try the new, Yahoo! TV.
   visit http://in.tv.yahoo.com
--- End Message ---
--- Begin Message ---
I have modified my php.ini in the way you mentioned, but I still can't load
the extentions.
Thanks.


--- End Message ---
--- Begin Message ---
Walter,

Thanks for your answer but like Tam said, I have added extensions path to my
include_path like you mentioned and I am still recieving the same error
message. Do you have any other ideas?

Thanks,
-Andrej

"Jswalter" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Andrej Snedic" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > I am adding some extensions to PHP engine so I edited PHP.INI in
> c:\windows
> > directory this way:
> >
> > ...
> > extension_dir = "D:\Web\PHP\extensions"
> > ...
> > extension=php_some-extension.dll
> > ...
>
>
> Is your 'extensions' path also in your 'include_path'?
>
> This is from my INI file...
>
>include_path = ".;G:\etc\php\extensions".;G:\etc\php\pear"
> ...
>extension_dir = "G:\etc\php\extensions"
>
> Walter
>
>
>


--- End Message ---
--- Begin Message ---
Andrej Snedic wrote:

I am adding some extensions to PHP engine so I edited PHP.INI in c:\windows
directory this way:
...
extension_dir = "D:\Web\PHP\extensions"
...
extension=php_some-extension.dll
...
The actrual complete path to my extension is:
D:\Web\PHP\extensions\php_some-extension.dll
But after rebooting my computer I always get this error message:
"Unknown(): Unable to load dynamic link library
'D:\Web\PHP\extensions\php_some-extension.dll' - The specified module could
not be found. [OK]"
So what's wrong? How shuld I set my extensions path?

I am running Apache 2.0.46 and PHP 4.3.2.2 on Windows XP.
could it be that php_some-extension.dll requires another dll that is not 
in win win/system32 path? or just in any other way not accessable

--- End Message ---
--- Begin Message ---
Hello!

I want to complie the MySQL Extension as a dynamic loadable module with
Cygwin. Can anybody give me a short How-To or does anybody knows a resource,
where I can find a How-To ?

THX for help

Robert Schmelzer


--- End Message ---
--- Begin Message ---
Jswalter wrote:

I just installed PEAR on my Win2k box.

I try to use DB.php and I get this...

 Fatal error: main(): Failed opening required 'DB.php'
(include_path='.;c:\php4\pear')
I can't find this path defined *anywhere*.

It is *not* in my INI file...

include_path = ".;G:\etc\php\extensions".;G:\etc\php\pear"

I don't have PHP installed there.

How can I "fix" this include path issue.
did you check the correct php.ini file? it must be in %SYSTEM%\php.ini

or for example c:\winnt\php.ini

with phpinfo() you can print out the location of your php.ini file

--- End Message ---
--- Begin Message ---
Jswalter wrote:

I just installed PEAR on my Win2k box.

I try to use DB.php and I get this...

 Fatal error: main(): Failed opening required 'DB.php'
(include_path='.;c:\php4\pear')
I can't find this path defined *anywhere*.

It is *not* in my INI file...

include_path = ".;G:\etc\php\extensions".;G:\etc\php\pear"

I don't have PHP installed there.

How can I "fix" this include path issue.
onr more, your include-path is worng!

include_path = ".;G:\etc\php\extensions".;G:\etc\php\pear"

would not work!!

correct

include_pat

php-install Digest 5 Jul 2003 13:23:37 -0000 Issue 1449

2003-07-05 Thread php-install-digest-help

php-install Digest 5 Jul 2003 13:23:37 - Issue 1449

Topics (messages 11219 through 11223):

Re: new install of PEAR on 2k
11219 by: jsWalter

Re: How do I compiling MySQL Clients on Windows
11220 by: AzN
11221 by: AzN
11222 by: Seung Hwan Kang
11223 by: Marco Tabini

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 ---
"Cybot" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Jswalter wrote:



> onr more, your include-path is worng!
>
> include_path = ".;G:\etc\php\extensions".;G:\etc\php\pear"
>
> would not work!!
>
> correct
>
> include_path = ".;G:\etc\php\extensions;G:\etc\php\pear"

Yes, I see the mistake! and PERIOD in the middle.

OK, thats gone.

I still get...


   Fatal error: main(): Failed opening required 'DB.php'
   (include_path='.;c:\php4\pear') in

Also, my php.ini is NOT in my WINNT directory.

It is a sibling of php.exe at...

 G:\etc\php

Now, there is a pear.ini in my WINNT dir, the install must have put it
there.  :(

But it does noty have 'c:\php4\pear' in it.

Thanks for the ideas.

walter




--- End Message ---
--- Begin Message ---
Whats the error? I got PHP5 to work, except I still have a problem with my
configuration. My PHP files that use $PHP_SELF? does not work... along with
other PHP functions.
I have yet to try MySQL on PHP5 because I cant use any of my scripts that
use MySQL!

"Seung Hwan Kang" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Help!!!
>
> I just installed PHP 5.0.0 Beta 1 with Apache on W2K SP4, and I also
> read though the postings.  The problem is that we have to use mysql
> clients which comes with mysql to use PHP. I read following mysql docs,
> and I don't have any clue, anyone?
>
> ---
> 2.6.2.6 Compiling MySQL Clients on Windows
>
> In your source files, you should include `windows.h' before you include
> `mysql.h':
>
> #if defined(_WIN32) || defined(_WIN64)
> #include 
> #endif
> #include 
>
> You can either link your code with the dynamic `libmysql.lib' library,
> which is just a wrapper to load in `libmysql.dll' on demand, or link
> with the static `mysqlclient.lib' library.
>
> Note that as the mysqlclient libraries are compiled as threaded
> libraries, you should also compile your code to be multi-threaded!
> 
>
> PHP 5.0x installation on W2K (apache module)
>
> Here is my prog. and conf.
>
> php-5.0.0b1-Win32.zip
> mysql-4.0.13-win.zip
> apache_20.046-win32-x86-no_src.msi
>
> 1. edit httpd.conf
>
> LoadModule php5_module C:\php\sapi\php4apache2.dll
>
> #
> # To use PHP scripts
> #
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php-source .phps
>
> 2. copy c:\php\php4ts.dll to c:\winnt\system32
>
> 3. edit c:\winnt\php.ini
>
> ; Windows: "\path1;\path2"
> include_path = ".;c:\php\dlls"
>
> ; Directory in which the loadable extensions (modules) reside.
> extension_dir = "c:\php\extensions\"
>
> upload_tmp_dir = c:\tmp
>
> session.save_path = c:\tmp
>


--- End Message ---
--- Begin Message ---
This is what I get when I try to use phpMyAdmin:
cannot load MySQL extension,
please check PHP Configuration.
Documentation

So im guessing your right.
However, I still cannot use fusionphp.com's shoutbox. I cant login and when
I should, it just returns to the page. Anyone know whats wrong with my
config?

"Seung Hwan Kang" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Help!!!
>
> I just installed PHP 5.0.0 Beta 1 with Apache on W2K SP4, and I also
> read though the postings.  The problem is that we have to use mysql
> clients which comes with mysql to use PHP. I read following mysql docs,
> and I don't have any clue, anyone?
>
> ---
> 2.6.2.6 Compiling MySQL Clients on Windows
>
> In your source files, you should include `windows.h' before you include
> `mysql.h':
>
> #if defined(_WIN32) || defined(_WIN64)
> #include 
> #endif
> #include 
>
> You can either link your code with the dynamic `libmysql.lib' library,
> which is just a wrapper to load in `libmysql.dll' on demand, or link
> with the static `mysqlclient.lib' library.
>
> Note that as the mysqlclient libraries are compiled as threaded
> libraries, you should also compile your code to be multi-threaded!
> 
>
> PHP 5.0x installation on W2K (apache module)
>
> Here is my prog. and conf.
>
> php-5.0.0b1-Win32.zip
> mysql-4.0.13-win.zip
> apache_20.046-win32-x86-no_src.msi
>
> 1. edit httpd.conf
>
> LoadModule php5_module C:\php\sapi\php4apache2.dll
>
> #
> # To use

php-install Digest 6 Jul 2003 09:43:33 -0000 Issue 1450

2003-07-06 Thread php-install-digest-help

php-install Digest 6 Jul 2003 09:43:33 - Issue 1450

Topics (messages 11224 through 11229):

Sessions help needed!
11224 by: John Fuller
11227 by: Tony Dietrich
11229 by: Seung Hwan Kang

Help! I have two issues.
11225 by: Michael Pratt

Re: new install of PEAR on 2k - solution
11226 by: jsWalter

Re: How do I compiling MySQL Clients on Windows
11228 by: AzN

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 all, 
I am new to php in general and am trying to set up a user authentification system 
with mysql.  The registration page works well and sends all of the data to the 
appropriate table in mysql.  However, when I try to get the registered user to log in 
and start a session, the system will not remember the session information past the 
page.  For instance, this page will not work (the one that initially is supposed to 
register the session from the login form):
 
";
 include 'login.php';
 exit();
}
mysql_connect(localhost,$username);
@mysql_select_db($database) or die( "Unable to select database");
$sql=mysql_query("SELECT * FROM login WHERE login='$login' AND password='$password'");
$login_check = mysql_num_rows($sql);
if($login_check > 0){
  // This is where I register the session
  session_register('login');
  $_SESSION['login'] = $login;  
  mysql_close();
include 'success.php';
} else {
 echo "You could not be logged in! Either the username and password do not match or 
you have not validated your membership!
 Please try again!";
 include 'login.php';
}
?>
 
It proceeds to login the user for that page (I know this happens because I have played 
around with it looking at the error checks), but it will not display any variable that 
resembles "$_SESSION['login']".  
The next page sequentially (success.php) looks like this:
 

 
Any and all variations of this page come up blank and white whenever the variable 
$_SESSION['login'] is called to display. It shows no memory of me registering a 
session.  Any variation of quotes verse apostrophes changes nothing, so I figure that 
either I am blatantly screwing up the session code (possible for I have never written 
any sessions before) or my system is not supporting sessions.  I have a php4 
something, windows, apache 1.3.27 for my home network server, and mysql.  Any help on 
this problem would be greatly appreciated.  
Thanks a lot for your time, John




-
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!--- End Message ---
--- Begin Message ---
John

Have you checked the setup of your session management?  Check the
setting as reflected in the output from a phpinfo() command.  for
example, make sure your session storage path is valid etc. (normally
/tmp if you haven't changed it)
Also check how php is set to access variables.  (Look at the setting for
register_variables, and check the manual for an explanation of how this
*may* affect you)
Make sure your test browser is set to accept cookies too ... if the
setting in php.ini for session.use_cookies is ON (value 1) then session
data is transported via cookies, blocking these in the browser means the
data doesn't propogate.

TD

On Sat, 2003-07-05 at 20:39, John Fuller wrote:
> Hello all, 
> I am new to php in general and am trying to set up a user authentification 
> system with mysql.  The registration page works well and sends all of the data to 
> the appropriate table in mysql.  However, when I try to get the registered user to 
> log in and start a session, the system will not remember the session information 
> past the page.  For instance, this page will not work (the one that initially is 
> supposed to register the session from the login form):
>  
>  session_start();
> $username="chris";
> $database="login";
> 
> $login = $_POST['login'];
> $password = $_POST['password'];
> if((!$login) || (!$password)){
>  echo "Please enter ALL of the information! ";
>  include 'login.php';
>  exit();
> }
> mysql_connect(localhost,$username);
> @mysql_select_db($database) or die( "Unable to select database");
> $sql=mysql_query("SELECT * FROM login WHERE login='$login' AND 
> password='$password'");
> $login_check = mysql_num_rows($sql);
> if($login_check > 0){
>   // This is where I register the session
>   session_register('login');
>   $_SESSION['login'] = $login;  
>   mysql_close();
> include 'success.php';
> } else {
>  echo "You could not be logged in! Either the username and password do not match or 
> you have not validated your membership!
>  Please try again!";
>  include 'login.php';
> }
> ?>
>  
> It proceeds to login the user for that page (I know this happens because I have 
> played around with it looking at the error checks), but it will not

php-install Digest 7 Jul 2003 04:20:51 -0000 Issue 1451

2003-07-06 Thread php-install-digest-help

php-install Digest 7 Jul 2003 04:20:51 - Issue 1451

Topics (messages 11230 through 11235):

Re: new install of PEAR on 2k
11230 by: Pierre-Alain Joye

PHP Sessions - works halfway
11231 by: Deborah Vorndran
11233 by: Chris Hewitt

Fatal error: Call to undefined function: mysql_connect()
11232 by: Deborah Vorndran
11234 by: Stephen

Making PayFlow Pro & PHP play nice on FreeBSD
11235 by: Chris Knight

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 ---
On Thu, 3 Jul 2003 15:34:25 -0500
"jsWalter" <[EMAIL PROTECTED]> wrote:

> I just installed PEAR on my Win2k box.
> 
> I try to use DB.php and I get this...
> 
>  Fatal error: main(): Failed opening required 'DB.php'
> (include_path='.;c:\php4\pear')
> 
> I can't find this path defined *anywhere*.
> 

How have you installed pear?

You may ask pear related question on pear-general ML, see
http://pear.php.net/support.php

hht

pierre
--- End Message ---
--- Begin Message ---
I do a

session_start();
session_register("SESSION");
echo "The counter is now $SESSION[count] ";

straight from the tutorial,
and I get this:
--

*Warning*: Cannot send session cookie - headers already sent by (output 
started at /var/www/html/Deb/phpsession.php:5) in 
*/var/www/html/Deb/phpsession.php* on line *6*

*Warning*: Cannot send session cache limiter - headers already sent 
(output started at /var/www/html/Deb/phpsession.php:5) in 
*/var/www/html/Deb/phpsession.php* on line *6*
# Counter initialized, please reload this page to see it increment
# The counter is now 0
# --
The cookie files ARE being created in /tmp.

What am I doing wrong?  





--- End Message ---
--- Begin Message ---
Deborah Vorndran wrote:

I do a   
session_start();
session_register("SESSION");

echo "The counter is now $SESSION[count] ";

straight from the tutorial,
and I get this:
--

*Warning*: Cannot send session cookie - headers already sent by 
(output started at /var/www/html/Deb/phpsession.php:5) in 
*/var/www/html/Deb/phpsession.php* on line *6*
It means that you have already sent something to the browser. A space or 
newline is enough to get this error. Session starting _must_ be the 
first thing sent to the browser.

HTH
Chris
--- End Message ---
--- Begin Message ---
I get the above error when I try to do a mysql_connect() from a php page.

phpinfo lists mysql as "*Extensions listed here are (or will be soon) 
available as external modules. To install one or all of these, use 
"urpmi" php-EXTENSION_NAME"

*when I run urpmi mysql, it asks me for a CDROM which I do not have (I 
downloaded it)

I edited /etc/php.ini, uncommenting the lines having to do with mysql & 
rebooted, to no avail.  Same error.

Someone told me that I need to download the php source, and recompile 
it, but that seems too drastic - it seems to me that I've already got 
all the puzzle pieces, theres just a little magic configuring that needs 
to happen.

Anyone know how to get php talking to mysql?

Thanks,
:-D*
*

--- End Message ---
--- Begin Message ---
If you are using Windows, it should be built in to any of the latest php
versions... Otherwise as far as I know you have to compile PHP with MySQL
support enabled (How you do that I have no idea, I only use windows)

Stephen

- Original Message - 
From: "Deborah Vorndran" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 06, 2003 5:52 PM
Subject: [PHP-INST] Fatal error: Call to undefined function: mysql_connect()


> I get the above error when I try to do a mysql_connect() from a php page.
>
> phpinfo lists mysql as "*Extensions listed here are (or will be soon)
> available as external modules. To install one or all of these, use
> "urpmi" php-EXTENSION_NAME"
>
> *when I run urpmi mysql, it asks me for a CDROM which I do not have (I
> downloaded it)
>
> I edited /etc/php.ini, uncommenting the lines having to do with mysql &
> rebooted, to no avail.  Same error.
>
> Someone told me that I need to download the php source, and recompile
> it, but that seems too drastic - it seems to me that I've already got
> all the puzzle pieces, theres just a little magic configuring that needs
> to happen.
>
> Anyone know how to get php talking to mysql?
>
> Thanks,
> :-D*
>
>
> *
>
>
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--- End Message ---
--- Begin Message ---
I have been trying to compile PHP with PayFlow Pro support on FreeBSD 
4.8-STABLE and I kept receiving this error:

The pfpro extension requires version 2 or 3 of the SDK

php-install Digest 7 Jul 2003 16:36:43 -0000 Issue 1452

2003-07-07 Thread php-install-digest-help

php-install Digest 7 Jul 2003 16:36:43 - Issue 1452

Topics (messages 11236 through 11241):

UNSUBSCRIBE ME
11236 by: Ravi Mohan Sahay

Authentication IIS 6 (win server 2003) & PHP
11237 by: Xavier Mertens
11238 by: Xavier Mertens

4.3.1 compile fail: libiconv
11239 by: Joseph Glass
11241 by: Yann Larrivee

Access Violation with oci8.dll
11240 by: Eduardo Koelln

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 ---
 
 


Send free SMS using the Yahoo! Messenger. Go to http://in.mobile.yahoo.com/new/pc/
--- End Message ---
--- Begin Message ---
Hi,

I did all the steps from this tutorial
(http://mccammon.org/php/iis6_install.php) on how to install PHP on IIS 6.

when I call for example http://localhost/test.php IE asks for a password
authentication. I verified the security settings for I_USER and everything
seems te be right to me.

But I still can't view a .php page. Authentification with a existing login
and password doesn't show the page neither.

What step am I missing?

thx in advanve,
greetings

Mertens X


--- End Message ---
--- Begin Message ---
Hi,

I did all the steps from this tutorial
(http://mccammon.org/php/iis6_install.php) on how to install PHP on IIS 6.

when I call for example http://localhost/test.php IE asks for a password
authentication. I verified the security settings for I_USER and everything
seems te be right to me.

But I still can't view a .php page. Authentification with a existing login
and password doesn't show the page neither.

What step am I missing?

thx in advanve,
greetings

Mertens X



--- End Message ---
--- Begin Message ---
Hi everyone,

I'm trying compile install php 4.3.1 on a RedHat 6.2 system.  Whenever I 
try to add support for flash or xslt, it dies with libiconv errors (see 
below.)  I've removed older versions of libiconv and installed the 
newest version, 1.9.1.  Does anyone have any suggestions or ideas? 
Below is my configure line.  Any help is greatly appreciated.

Thank you in advance,
Joseph Glass
Liquid Web Inc.
./configure --prefix=/usr --with-xml  --enable-bcmath --enable-calendar 
 --with-curl --enable-ftp --with-gd=../gd-2.0.11 
--with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 
 --with-imap --with-kerberos --enable-mbstring --enable-mbstr-enc-trans 
--enable-mbregex --with-mcrypt --with-ming=../ming-0.2a 
--enable-magic-quotes --with-mysql=/usr --with-pear   --enable-xslt 
--enable-sockets --enable-track-vars $ttfopts --enable-versioning 
--with-zlib

--- Snip ---
 -lmcrypt -lltdl -lcrypt -lpam -lttf -lX11 -lXpm -lpng -lz -ljpeg 
-lcurl -lz -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -lcurl -lz -ldl -lz 
-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err  -o sapi/cli/php
/usr/local/flash/lib/libswf.a(swfimage.o): In function `swf_definebitmap':
swfimage.o(.text+0x672): the use of `mktemp' is dangerous, better use 
`mkstemp'
/usr/lib/libsablot.so: undefined reference to `libiconv_open'
/usr/lib/libsablot.so: undefined reference to `libiconv_close'
/usr/lib/libsablot.so: undefined reference to `libiconv'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

--- End Message ---
--- Begin Message ---
Try --with-iconv-dir=/usr/local/ and add --with-xslt-sablot=/usr/local/
if you want xslt support unless you are going to get a "No backend
specified for XSLT extension" error

Here is a tutorial on how to compile php, sablotron, domxml, ...
http://protonicdesign.com/tutorial/sablot_and_php.php

yann

On Mon, 2003-07-07 at 11:10, Joseph Glass wrote:
> Hi everyone,
> 
> I'm trying compile install php 4.3.1 on a RedHat 6.2 system.  Whenever I 
> try to add support for flash or xslt, it dies with libiconv errors (see 
> below.)  I've removed older versions of libiconv and installed the 
> newest version, 1.9.1.  Does anyone have any suggestions or ideas? 
> Below is my configure line.  Any help is greatly appreciated.
> 
> Thank you in advance,
> Joseph Glass
> Liquid Web Inc.
> 
> ./configure --prefix=/usr --with-xml  --enable-bcmath --enable-calendar 
>   --with-curl --enable-ftp --with-gd=../gd-2.0.11 
> --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 
>   --with-imap --with-kerberos --enable-mbstring --enable-mbstr-enc-trans 
> --enable-mbregex --with-mcrypt --with-ming=../ming-0.2a 
> --enable-magic-quotes --with-mysql=/usr --with-pear   --enable-xslt 
> --enable-sockets --enable-track-vars $ttfopts --enable-versioning 
> --with-zlib
> 
> 
> --- Snip ---
>   -lmcrypt -lltdl -lcrypt -lpam -lttf -lX11 -lXpm -lpng -lz -ljpeg 
> -lcurl -lz -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -lcurl -lz -ldl -lz 
> -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err  -o

php-install Digest 8 Jul 2003 09:44:56 -0000 Issue 1453

2003-07-08 Thread php-install-digest-help

php-install Digest 8 Jul 2003 09:44:56 - Issue 1453

Topics (messages 11242 through 11249):

phpinfo.php file now shows up blank in Win xp pro using IIS server, please help
11242 by: Acorn Tutors
11243 by: Verseijden, W.

Re: Authentication IIS 6 (win server 2003) & PHP
11244 by: Xavier Mertens

HP11.11 and php 4.3.2 install
11245 by: Madhu
11247 by: Madhu

php5 on IIS6 (CGI Error)
11246 by: .ma

Apache/1.3.27 PHP/4.2.3 nonfunctional
11248 by: Arkady Kukarkin
11249 by: Stephen

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 folks, I was wondering if you could help. I installed IIS on Win XP pro
and I was able to make and view php files, including viewing the phpinfo.php
file. Now, suddenly for no apparent reason, it comes up blank when I try to
load them locally in IE6. Furthermore, Im unable to view any php code in IE.

Has anyone else had this problem and can tell me how to get my php files to
view again?

Help appreciated,
Doug


--- End Message ---
--- Begin Message ---
May be it has something to do with security and automatically logging out..
Try to connect to the main IIS website, if it asks for usercode/password
supply it. Then try to access php-pages. I had this experience, however I am
logged on to a domain.

Wim

-Original Message-
From: Acorn Tutors [mailto:[EMAIL PROTECTED] 
Sent: maandag 7 juli 2003 21:09
To: [EMAIL PROTECTED]
Subject: [PHP-INST] phpinfo.php file now shows up blank in Win xp pro using
IIS server, please help

Hi folks, I was wondering if you could help. I installed IIS on Win XP pro
and I was able to make and view php files, including viewing the phpinfo.php
file. Now, suddenly for no apparent reason, it comes up blank when I try to
load them locally in IE6. Furthermore, Im unable to view any php code in IE.

Has anyone else had this problem and can tell me how to get my php files to
view again?

Help appreciated,
Doug



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--- End Message ---
--- Begin Message ---
I solved the problem...

maybe not with the best posible solution, but it worked.

1) configure everything with  php.exe instead of phpisapi.dll
2) copy a working php.ini file to your x:\windows directory. (For me it was
from an XP installation)

this php file had "cgi.force_redirect = 0" and solved the most problems. We
are installing on a IIS and if we read the comment of this parameter we see

; **You CAN safely turn this off for IIS, in fact, you MUST.**

And like by magic :o) everything worked fine. I hope it will help someone.

Greetz

"Xavier Mertens" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I did all the steps from this tutorial
> (http://mccammon.org/php/iis6_install.php) on how to install PHP on IIS 6.
>
> when I call for example http://localhost/test.php IE asks for a password
> authentication. I verified the security settings for I_USER and everything
> seems te be right to me.
>
> But I still can't view a .php page. Authentification with a existing login
> and password doesn't show the page neither.
>
> What step am I missing?
>
> thx in advanve,
> greetings
>
> Mertens X
>
>


--- End Message ---
--- Begin Message ---
Hi
HP 11.11 (64 bit)
Mysql 4.0.13 (32 bit)

Has any one succesfully compiled PHP with Apache 2 with Mysql 4 support for
HP UX 11.11 ?

Since HP stopped supported Apache 1.3.x and started branding Apache 2 as HP
Webserver, I am trying to compile PHP with mysql support

First of all, when I try option with-apxs2 , it is complaining that it is
Apache 1.3 and not 2
But if I type httpd -v
The output is
Server Version: HP-UX_Apache-based_Web_Server/2.0.45

and httpd -l output is
Compiled in modules:
core.c
worker.c
http_core.c
mod_so.c

I saw a posting from Jim Thome saying that Don't use HPUX Apache 2.0. Is it
from personal experience or from the fact that it is experimental ?
Is someone successful in compiling PHP with Apache 1.3 xx with latest mysql
in DSO mode?

Any tips ?
Thanks in advance
Madhu


--- End Message ---
--- Begin Message ---
HPUX 11.11 (64 bit)
Mysql 4.0.13
apache 1.3.27 as DSO module

If I try with Apache 1.3.27, I am getting this message while on make.  I
used both gmake and HP make, same error

/bin/sh
/home/madhu/php-4.3.2/libtool --silent --preserve-dup-deps --mode=compil

e
gcc -Iext/mysql/ -I/home/madhu/php-4.3.2/ext/mysql/ -DPHP_ATOM_INC -I/home/m
a

dhu/php-4.3.2/include -I/home/madhu/php-4.3.2/main -I/home/madhu/php-4.3.2 -
I/ho

me/madhu/php-4.3.2/Zend -I/usr/local/mysql/include -I/home/madhu/php-4.3.2/e
xt/x

ml/expat -I/home/madhu/php-4.3.2/TSRM -fomit-frame-pointer -O3 -fpic -prefer
-

pic -c /home/madhu/php-

php-install Digest 8 Jul 2003 22:15:06 -0000 Issue 1454

2003-07-08 Thread php-install-digest-help

php-install Digest 8 Jul 2003 22:15:06 - Issue 1454

Topics (messages 11250 through 11257):

Apache 2 Segfault with PHP on any signal
11250 by: Nicolas

Re: php5 on IIS6 (CGI Error)
11251 by: dooleys

How php handles file endings
11252 by: dooleys
11257 by: Chris Hewitt

apache 2 supported ?
11253 by: Daniel Wittenberg
11255 by: Stephen

Re: upgrade php
11254 by: Jürgen Richter

PHP 4.3.1 & Interbase/Firebird
11256 by: Jeff Patterson

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 got segfault on apache when php installed.
Apache 2.0.46 + PHP 4.3.3-RC1 + RH9 + Linux 2.4.21

My apache server segfault each time it receive a signal (SIGUSR1 or SIGHUP or
example).
Therefore, apache core at log rotation.
I got in error log :
"[notice] seg fault or similar nasty error detected in the parent process"

If a remove the line
"LoadModule php4_module modules/libphp4.so"
from my httpd.conf, apache DON'T core any more.

More, if I use the standard Redhat 9 kernel, every thing is Ok, but as soon as
I use my own kernel (2.4.20 or 2.4.21) the problem comes out.
My kernel works fine with any other applications or services.

I have the same problem
- with Apache 2.0.44, 2.0.45 or 2.0.46
- with PHP 4.3.1, 4.3.2, 4.3.3-RC1 or CVS-STABLE,
- with a custom 2.4.20 or 2.4.21 kernel (but not with standard RH9 kernel
!!!).

strace doesn't give any revelant information.

I have done lot of search, read apache and PHP mailing list and bugs report.
I found some people with the exactly the same problem but none got solutions!

Is there any incompatibility beetween some compilation of Linux kernel and PHP
?

Thanks for _any_ help

Nicolas

PS :
my php configuration :
./configure --with-mysql --with-ldap --with-gettext --enable-force-cgi-redirec
t --with-apxs2=/path_to_apache2/bin/apxs --enable-track-vars --with-config-fil
e-path=/etc

my apache 2 conf
./configure --prefix=/tmp/apache2 --libdir=/lib --with-mpm=prefork \
  --disable-v4-mapped --enable-access --enable-auth --enable-auth-anon
  --disable-auth-dbm --disable-auth-digest --disable-isapi --disable-file-cach
e
  --disable-echo --disable-charset-lite --disable-cache --disable-disk-cache \
  --disable-mem-cache --disable-example --disable-case-filter --disable-case-f
ilter-in \
  --disable-ldap --disable-auth-ldap --disable-ext-filter --disable-include \
  --enable-deflate --enable-log-config --enable-logio --disable-env \
  --disable-mime-magic --disable-cern-meta --enable-expires --disable-headers
\
  --disable-usertrack --disable-unique-id --enable-setenvif --enable-proxy \
  --disable-proxy-connect --disable-proxy-ftp --enable-proxy-http --enable-ssl
\
  --disable-optional-hook-export  --disable-optional-hook-import \
  --disable-optional-fn-import  --disable-optional-fn-export \
  --enable-bucketeer --enable-static-support --enable-static-htpasswd \
  --enable-static-htdigest --enable-static-rotatelogs --enable-static-logresol
ve \
  --enable-static-htdbm --enable-static-ab --enable-static-checkgid \
  --enable-http --enable-mime --disable-dav --enable-status \
  --disable-autoindex --disable-asis --enable-info --disable-suexec \
  --enable-cgi --disable-cgid --disable-dav-fs --enable-vhost-alias \
  --disable-negotiation --enable-dir --disable-imap --disable-actions \
  --disable-speling --disable-userdir --enable-alias --enable-rewrite \
  --enable-so

--- End Message ---
--- Begin Message ---
. Ma schrieb:

hi!

i'm running a test-server with windows 2003 and IIS6 i managed to get 
PHP 4.3.2 running without any problems.

but i wanted to try php5 so i downloaded the zipped version renamed 
c:\php to c:\php4 and extracted everything to c:\php
(so that the old php.exe is "replaced" by the new one)

for the old version everything worked fine - but now i get the following 
error:

CGI Error
The specified CGI application misbehaved by not returning a complete set 
of HTTP headers.

did somebody experience similar problems? is this only because its a 
beta or is this a configuration-problem?

thx in advance, matthias


i've not too much to do with iis6 but have you tryed to send some 
headerdata with header()
i think i'v heard something that the cgi version of php5 doesn't send 
the default_mimetype, try to use the following on your script at the 
beginning,

  header("Content-Type: text/HTML");
?>

--- End Message ---
--- Begin Message ---
Hi i've 2 apache servers with php thhe one is linux the other win2k
on the linux machine i have a file called article.php
and i can access it with localhost/article/4985 and i get the site so i 
can handle everything that is after article with my php script, when i 
try to do the same on win2k i get an 404 file not found, how can 

php-install Digest 9 Jul 2003 16:33:13 -0000 Issue 1455

2003-07-09 Thread php-install-digest-help

php-install Digest 9 Jul 2003 16:33:13 - Issue 1455

Topics (messages 11258 through 11262):

Installing php with image manipulation support
11258 by: Dan North

Re: apache 2 supported ?
11259 by: Daniel Wittenberg

Re: How php handles file endings
11260 by: dooleys

Problem with require() function
11261 by: fazla

is PHP broken for HPUX ?
11262 by: Madhu

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 folks

I am trying to install php 5 (mind you I get the same problem with
4.3.2) with GD2 support for image manipulation. I am running Debian 3
with Apache2 and the GD2libs from debian. Whenever we try to call for
any image functions, we get a blank page returned. (in some cases the
html headers are there, but with . Here is my configure
statement - can anyone take a look at it and see if I have missed
something? I get no errors during install.

Thanks in Advanced!!

trillian:~/php-5.0.0b1# ./configure
--with-apxs2=/usr/local/apache2/bin/apxs --with-magic-quotes
--enable-libgcc --with-zlib --with-zlib-dir=/usr/local/lib/ --with-bz2
--enable-calendar --enable-dio --with-dom --enable-ftp --with-gd
--with-xpm --with-ttf --with-freetype --enable-gd-native-ttf
--with-gettext --with-mysql=/usr/local/mysql
--with-jpeg-dir=/usr/local/lib --with-png-dir=/usr/local/lib
--enable-debug

Dan North
NorthernStorm.ca



--- End Message ---
--- Begin Message ---
Thanks, that's the info I was looking for.  I just needed to know if I
could trust it yet on a high-volume webmail (imp) server, and this tells
me no.  Too bad - I'm anxious to start using Apache 2 for the
performance benefits.

Thanks,
Dan

On Tue, 2003-07-08 at 13:22, Stephen wrote:
> A number of people are using php 4.3 and Apache 2 successfully, but to my
> knowledge it is still in the "beta" testing stages. Basically, it works
> fairly well, but there may be unknown security risks. Use at your own risk.
> 
> Stephen
> 
> - Original Message - 
> From: "Daniel Wittenberg" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 08, 2003 4:10 PM
> Subject: [PHP-INST] apache 2 supported ?
> 
> 
> > I saw on the website long ago that php wasn't recommended for production
> > environments due to the threading in 2.0.  The emails I found in the
> > archive suggested this would be fixed in 4.3.0, since we're almost at
> > 4.3.3 is php safe yet to use with 2.0.46 yet ?
> >
> > Thanks!
> > Dan
> >
> > -- 
> > ===
> > Daniel Wittenberg
> > Senior Unix Admin
> > University of Iowa - ITS
> >
> >
> > -- 
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
-- 
Daniel Wittenberg <[EMAIL PROTECTED]>
The University of Iowa

--- End Message ---
--- Begin Message ---
Chris Hewitt schrieb:

dooleys wrote:

Hi i've 2 apache servers with php thhe one is linux the other win2k
on the linux machine i have a file called article.php
and i can access it with localhost/article/4985 and i get the site so 
i can handle everything that is after article with my php script, when 
i try to do the same on win2k i get an 404 file not found, how can i 
configure that i can acces the article.php file under win2k as 
win2kserveradress/article/4985 on the win2k machine is there any 
apache /php configuration failure ?


Its the DirectoryIndex parameter under mod_dir.c in httpd.conf. Its an 
apache not php thing.

Regards

Chris

i checked but it's not the directory index,
what i mean is when i have a script called article.php i can call it as 
article/Parameters under linux, but i can't do so under windows.

--- End Message ---
--- Begin Message ---
I get this message:

Warning: main(lib/user_data.php) [function.main]: failed to create stream:
Permission denied in /home/civitas/Documents/www/civitas/index.php on line
39

Fatal error: main() [function.main]: Failed opening required
'lib/user_data.php' (include_path='.:/usr/share/php') in
/home/civitas/Documents/www/civitas/index.php on line 39

The path is correct because the same php script works on my windows php
installation.

Is there something I need to configure in php.ini?

I use PHP Version 4.3.1, Apache/1.3.27  and SuSE Linux 8.2



--- End Message ---
--- Begin Message ---
I was never able to compile PHP sucessfully as a DSO module with Apache
(version 1 or 2). I have posted this same question 3 days back. No real
feedback.

I have done this more than 100 times in Solaris and Linux? So what is the
main difference. Has some one successfully compiled PHP with
option --with-apxs ?
with HP supplied Apache apps. Or do you think that I should go ahead and
start compiling from Apache source?
OS version: HP 11.11 64 bit
Mysql 4.0.13 32bit
 gcc 3.2.3 32 bit


php-install Digest 10 Jul 2003 16:36:18 -0000 Issue 1456

2003-07-10 Thread php-install-digest-help

php-install Digest 10 Jul 2003 16:36:18 - Issue 1456

Topics (messages 11263 through 11263):

Re: apache 2 supported ?
11263 by: Louis

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 ---
With Apache 2, I on my Windows PC, I don't find that it preforms much better
than Apache 1.3.27 and would stick with what your are currently using.

"Daniel Wittenberg" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Thanks, that's the info I was looking for.  I just needed to know if I
> could trust it yet on a high-volume webmail (imp) server, and this tells
> me no.  Too bad - I'm anxious to start using Apache 2 for the
> performance benefits.
>
> Thanks,
> Dan
>
> On Tue, 2003-07-08 at 13:22, Stephen wrote:
> > A number of people are using php 4.3 and Apache 2 successfully, but to
my
> > knowledge it is still in the "beta" testing stages. Basically, it works
> > fairly well, but there may be unknown security risks. Use at your own
risk.
> >
> > Stephen
> >
> > - Original Message - 
> > From: "Daniel Wittenberg" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, July 08, 2003 4:10 PM
> > Subject: [PHP-INST] apache 2 supported ?
> >
> >
> > > I saw on the website long ago that php wasn't recommended for
production
> > > environments due to the threading in 2.0.  The emails I found in the
> > > archive suggested this would be fixed in 4.3.0, since we're almost at
> > > 4.3.3 is php safe yet to use with 2.0.46 yet ?
> > >
> > > Thanks!
> > > Dan
> > >
> > > -- 
> > > ===
> > > Daniel Wittenberg
> > > Senior Unix Admin
> > > University of Iowa - ITS
> > >
> > >
> > > -- 
> > > PHP Install Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
> -- 
> Daniel Wittenberg <[EMAIL PROTECTED]>
> The University of Iowa
>


--- End Message ---


php-install Digest 11 Jul 2003 07:37:46 -0000 Issue 1457

2003-07-11 Thread php-install-digest-help

php-install Digest 11 Jul 2003 07:37:46 - Issue 1457

Topics (messages 11264 through 11264):

Any known issues about 'php_xslt.dll'?
11264 by: Urs Liska

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'm trying to get PHP running on my home machine (Apache 2.0.46, php 
4.3.2 as CGI, WinXP)to develop scripts for use on my ISP's server, and I 
ran into trouble enabling the XSLT extension.
I set the extension_dir in php.ini and uncommented the 
"extension=php_xslt.dll" line. When running any php pages I get a Warning:
"Unknown():Unable to load dynamic library...Module not found."

After fiddling around with different directories I tried to uncomment 
other extensions - and they worked without problems! So it's not a 
problem with the path information but with the dll (perhaps a wrong dll 
version?). It is the one I got from the php-4.3.2-Win32.zip file.

Are there any known issues about this? Could it be that I have to 
download a different version of the dll - and where could I get this?

Any help would be appreciated
Regards
Urs Liska
--- End Message ---


php-install Digest 12 Jul 2003 10:51:24 -0000 Issue 1458

2003-07-12 Thread php-install-digest-help

php-install Digest 12 Jul 2003 10:51:24 - Issue 1458

Topics (messages 11265 through 11269):

Can I define SMTP account and password for mail() ?
11265 by: Urs Liska
11266 by: Ruprecht Helms
11267 by: Stratsimir Kolchevski

Re: Can I define SMTP account and password for mail()
11268 by: Urs Liska

error NOTICE
11269 by: Marco Mastrorilli

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'm quite new to PHP and need some help with the mail setup because I 
didn't find anything in the manuals and the books I have.

I want to send mails through a php script. My problem is that I didn't 
find a way to tell php not only the smtp server to send the mail through 
but also the username and password the smtp server expects. When running 
the script on my ISP's server it works but the mail is sent from an 
"CGI-Mailer" account (seemingly central for the ISP). When running the 
script from my home machine (after having pointed php (in php.ini) to 
the smtp server through which I can send my emails) I get an error 
message complaining about required authentication.

Do I understand something wrong or is there really no way to tell php 
about the  username and password for the smtp server?

I would really appreciate any help.
Regards
Urs Liska
--- End Message ---
--- Begin Message ---
Hi Urs Liska,

> I'm quite new to PHP and need some help with the mail setup because I 
> didn't find anything in the manuals and the books I have.
> 
> I want to send mails through a php script. My problem is that I didn't 
> find a way to tell php not only the smtp server to send the mail through 

normaly you did not need to authenticate on a smtp-server. Because of
the spamproblem it can be that the smtp-server has the mechanism smtp
after pop to accept mails only from known senders (a kind of
spamprotection).

So you need to configure your mailserver or ask about the configuration
of the ISP's mailserver.

Regards,
Ruprecht


---
Ruprecht Helms IT-Service & Softwareentwicklung

Tel./Fax  +49[0]7621 16 99 16
Homepage: http://www.rheyn.de
email:[EMAIL PROTECTED]


--- End Message ---
--- Begin Message ---
Ruprecht Helms wrote:
Hi Urs Liska,


I'm quite new to PHP and need some help with the mail setup because I 
didn't find anything in the manuals and the books I have.

I want to send mails through a php script. My problem is that I didn't 
find a way to tell php not only the smtp server to send the mail through 


normaly you did not need to authenticate on a smtp-server. Because of
the spamproblem it can be that the smtp-server has the mechanism smtp
after pop to accept mails only from known senders (a kind of
spamprotection).
So you need to configure your mailserver or ask about the configuration
of the ISP's mailserver.
Regards,
Ruprecht


use this class - http://phpmailer.sourceforge.net/ to enable the
smtp authentication
HTH

Stratsimir


--- End Message ---
--- Begin Message ---
Hello Stratsimir Kolchevski,

thank you for the hint. I just downloaded phpmailer and will have a 
closer look at the source (since I don't want to just use it but also to 
understand :-)

Regards
Urs
Stratsimir Kolchevski schrieb:
Ruprecht Helms wrote:

Hi Urs Liska,


I'm quite new to PHP and need some help with the mail setup because I 
didn't find anything in the manuals and the books I have.

I want to send mails through a php script. My problem is that I 
didn't find a way to tell php not only the smtp server to send the 
mail through 


normaly you did not need to authenticate on a smtp-server. Because of
the spamproblem it can be that the smtp-server has the mechanism smtp
after pop to accept mails only from known senders (a kind of
spamprotection).
So you need to configure your mailserver or ask about the configuration
of the ISP's mailserver.
Regards,
Ruprecht


use this class - http://phpmailer.sourceforge.net/ to enable the
smtp authentication
HTH

Stratsimir



--- End Message ---
--- Begin Message ---
-Notice: Use of undefined constant data..
-Notice: Use of undefined constant mail...
-Undefined variable

Why in my scripts i always get error notice like this? 
How can i solve this problem?

Thanks--- End Message ---


php-install Digest 13 Jul 2003 04:25:28 -0000 Issue 1459

2003-07-12 Thread php-install-digest-help

php-install Digest 13 Jul 2003 04:25:28 - Issue 1459

Topics (messages 11270 through 11272):

Configuration problems.
11270 by: Arun

Re: error NOTICE
11271 by: Michael Mauch

php --with-prpro dosen't work
11272 by: sameer

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 have installed Apache 2.0.47 and php 4.3.2 in Windows 98. Downloaded the
php in the .zip format.

The Apache server works properly without the inclusion of php.
The problem is apache dosent even start with php in the SAPI mode,it gives a
error stating that:

"One of the device attached to the system isnt functioning properly"
(or)
"Library files missing"

and in the CGI mode the apache server starts and it executes the .html files
but it dosent execute the .php file or the .html files with php commands
giving an error statement:

"Internal Server Error
The server encountered an internal error or misconfiguration and was  unable
to complete your request."
with a dialog box message stating that
"The PHP4TS.DLL file is linked to missing export OLEAUT32.DLL:77."
(I do have the OLEAUT32.DLL file in the same folder as the PHP4TS.DLL file)

I have copied all the .dlls and php.ini to their respective places as given
in the manual but still dosent work.
I am hoping some one could give me a suggestion or a solution to my problem.


"Jim Thome" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> You have to modify the apachectl script to get around the HPUX thread
> local storage problem.
>
> Add the following to your apachectl script under the 'START
> CONFIGURATION SECTION':
>
> export ORACLE_HOME=/path/to/oracle
> export SHLIB_PATH=$ORACLE_HOME/lib:/path/to/apache/lib:$SHLIB_PATH
> export LD_PRELOAD=/usr/lib/libpthread.sl:/usr/lib/libcl.sl
> export
>
LD_PRELOAD=$LD_PRELOAD:$ORACLE_HOME/JRE/lib/PA_RISC/native_threads/libjava.s
l
>
>
> --
> Jim
>
> >>> "NIPP, SCOTT V (SBCSI)" <[EMAIL PROTECTED]> 06/16/03 12:52PM >>>
> I am trying to get PHP 4.2.3 working on a HP-UX 11.00 system
> that I
> have had no luck getting 4.3.2 to work on.  The compile and everything
> went
> great, but now Apache fails to start complaining about PHP.  Here is
> the
> output of the Apache start...
>
> [EMAIL PROTECTED]:/sbin/init.d> ./httpd start
> /usr/lib/dld.sl: Can't shl_load() a library containing Thread Local
> Storage:
> /us
> r/lib/libcl.2
> /usr/lib/dld.sl: Exec format error
> Syntax error on line 207 of /usr/local/apache/conf/httpd.conf:
> Cannot load /usr/local/apache/libexec/libphp4.so into server: Exec
> format
> error
> /usr/local/apache/bin/apachectl startssl: httpd could not be started
> Apache started.
>
> At this point, Apache is not actually running.  Any help would
> be
> most appreciated.
>
> Scott Nipp
> Phone:  (214) 858-1289
> E-mail:  [EMAIL PROTECTED]
> Web:  http:\\ldsa.sbcld.sbc.com
>
>
>
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--- End Message ---
--- Begin Message ---
Marco Mastrorilli wrote:

> -Notice: Use of undefined constant data..
> -Notice: Use of undefined constant mail...
> -Undefined variable
> 
> Why in my scripts i always get error notice like this? 
> How can i solve this problem?

See  and
.

In short: either define (set) your constants and variables before you
use (read) them, or turn off reporting of E_NOTICE messages:

error_reporting(E_ALL &~ E_NOTICE);

Or in php.ini:

error_reporting = E_ALL & ~E_NOTICE

Regards...
Michael
--- End Message ---
--- Begin Message ---
hi,

i am using apache with ssl installed with it.

Version details.

Apache 1.3.27
mm 1.3.0
mod_ssl 2.8.14 for apache 1.3.27
openssl 0.9.7b
pfpro sdk 3.0
php 4.3.2
i installed php with following ./configure options.

./configure --prefix=/usr/local/php 
--with-apxs=/usr/local/apache/bin/apxs --with-mysql 
--with-pfpro=shared,/usr/local/lib --with-xslt --with-xml

it works fine but when it comes to any pfpro function, the pfpro_init() 
fails. The error it gives is :

Call to undefined function: pfpro_init() in 
/usr/local/apache/htdocs/blah/subscribe.php on line 445

The above configure options do not give any error, not while making 
configure tests and not on
# make

and

# make install steps

apache restarts well. No error. Only pfpro_init() fails.

any suggestions?

Thank You.

Sameer.

--

If you think the system is working, ask someone who's waiting for a prompt.


--- End Message ---


php-install Digest 14 Jul 2003 12:40:47 -0000 Issue 1460

2003-07-14 Thread php-install-digest-help

php-install Digest 14 Jul 2003 12:40:47 - Issue 1460

Topics (messages 11273 through 11277):

Installing PHP on LINUX with options other than standard
11273 by: Jack van Zanen
11275 by: .ma

xslt_set_encoding undefined after installation.
11274 by: chrisd.sci.kun.nl

PHP 5 and DOM XML
11276 by: Aaron

AFRI BANK PLC
11277 by: OKONJI DIATA

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,


Newbie to LINNUX and never compiled source code yet.

Can somebody give me the step by step instructions on how to make/compile
PHP on LINUX (or sent me URL where to find such)

On my windows I have the following dll's included:
php_gd.dll
php_oci8.dll
php_sockets.dll
php_zlib.dll

And that seems to suit my purpose. It needs to work with apache

TIA


Jack


--- End Message ---
--- Begin Message ---
hi

there are many tutorials out there how to compile PHP under linux. to 
use these extensions you first have to install them on your computer. 
eg you have to install the gdlib for gd-support, the zlib for 
tlib-support, oracle-drivers for oci8-support and so on. just take a 
look at

http://at.php.net/manual/en/install.apache.php

(in this example apache is builded from source too - its possible that 
this is not required on your computer because it may be installed in 
the right configuration (with apxs))

hope this helps .ma

e: [EMAIL PROTECTED]
w: http://www.abendstille.at
# life would be easier if i knew the source code

Am Sonntag, 13.07.03 um 20:10 Uhr schrieb Jack van Zanen:

Hi,

Newbie to LINNUX and never compiled source code yet.

Can somebody give me the step by step instructions on how to 
make/compile
PHP on LINUX (or sent me URL where to find such)

On my windows I have the following dll's included:
php_gd.dll
php_oci8.dll
php_sockets.dll
php_zlib.dll
And that seems to suit my purpose. It needs to work with apache

TIA

Jack



--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--- End Message ---
--- Begin Message ---
Hi!

I compiled php 4.3.1 but now trying to use the function xslt_set_encoding
gives
Fatal error: Call to undefined function: xslt_set_encoding() in
/usr/local/httpd/htdocs/pinkeltjesite/index.cgi on line 83.

in a script that used to run without an error. The other functions having
to do with XSLT I use work fine. I used the following configure options:

for iconv 1.8: no options.
for Sablot-0.98: --prefix=/usr --with-iconv-prefix=/usr/local
for php 4.3.1: --prefix=/usr --with-iconv=/usr/local --enable-xslt
--with-xslt-sablot=/usr --with-expat-dir=/usr --with-iconv-dir=/usr/local

These are the only packages I recompiled. I had expat version 1.95.2
installed and apache version 1.3.23 (but I guess that does not matter so
much when using cgi-scripts.)

The config.log of php says about sablotron:

configure:73893: checking for Sablotron version
configure:73918: gcc -o conftest -g -O2  -I/usr/include -lstdc++
-Wl,-rpath,/usr/local/lib -L/usr/local/lib conftest.c -lexpat -liconv
-lcrypt -lresolv -lm -ldl -lnsl  -lcrypt 1>&5
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:74233: checking for libiconv in -liconv
configure:74652: checking for SablotSetEncoding in -lsablot
configure:74705: checking for SablotGetOptions in -lsablot

No errors here.

No errors here.

When linking php the compiler is passed among other things the options
-lsablot -liconv -lexpat -lexpat -liconv -lcrypt -lresolv -lm -ldl -lnsl
-lcrypt

No errors here either. Anyone any idea how I could get xslt_set_encoding
to work?

Bye,
Chris Dams
[EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---
Hello,

I've been trying to get DOM XML working with the new XML support 
(libxml2) for PHP 5. I've successfully configured and installed PHP 5 as 
an Apache2 module.

Even though PHP installs ok and phpinfo() reports that all is ok for 
XML, including DOM, the domxml functions are nowhere to be found.

The following is how I configured PHP 5:

'./configure' '--prefix=/usr/local/php5' '--enable-ftp' '--with-gd' 
'--with-mcrypt' '--with-mysql=/usr/local/mysql' '--enable-xml' 
'--with-dom=/usr/local/include/libxml2' 
'--with-dom-xslt=/usr/local/include/libxsl' 
'--with-libxml-dir=/usr/local/include/libxml' 
'--with-xsl=/usr/local/include/libxslt' '--with-zlib' '--with-regex=php' 
'--with-pgsql=/usr/local/pgsql' '--with-apxs2=/usr/local/apache2/bin/apxs'

Furthermore, this is what phpinfo() says about DOM and other XML related 
stuff:

[dom]
DOM/XML enabled
DOM/XML API Version 20030413
libxml Version  2.5.7
HTML Supportenabled
XPath Support   enabled
XPoin

php-install Digest 15 Jul 2003 05:16:53 -0000 Issue 1461

2003-07-14 Thread php-install-digest-help

php-install Digest 15 Jul 2003 05:16:53 - Issue 1461

Topics (messages 11278 through 11280):

Re: Addings extensions...
11278 by: jsWalter

Installation problem (cannot find server)
11279 by: DeltaWolf7

Configuring
11280 by: BJ Morden

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 ---

"Cybot" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Andrej Snedic wrote:
>
> > I am adding some extensions to PHP engine so I edited PHP.INI in
c:\windows
> > directory this way:
> > ...

> could it be that php_some-extension.dll requires another dll that is not
> in win win/system32 path? or just in any other way not accessable

Yes, my thoughts as well.

Dependancy issues.

What dependancies are to this new DLL you are trying to use.

Walter


--- End Message ---
--- Begin Message ---
Hi,

Can someone help me please.
I have installed PHP4 over and over, and my web server using different
configurations and this is my last hope.
I never had a problem until now, PHP mornally works like a dream for me.

SERVER: Visnetic WebSite Pro (Latest Build)
PHP: php 4.3.2

I have been through the manual and help lists already.
My server is fine, and so is my perl installation.

I can view the php pages when renamed as .html but when left as .php
internet explorer just says cannot find server "page cannot be disaplyed".

Does anoyone knows what might be causing this?

Thank you


--- End Message ---
--- Begin Message ---
 

Hello,
 
This is my first time using this because I am at my wits end. I have spend 
three hours recompiling php and I can't seem to get it to do what I want. I am trying 
to configure php to use gd. I know that in php 4.3.x gd is built in and I tried using 
the command --with-gd and that yielded errors. So I downloaded the gd library compiled 
and istalled that and then used the command --with-gd=/path that also yielded errors. 
I needed jpeg libs and png libs and zlib. I downloaded all the sources for these and 
compiled and installed them. Then I used all the corisponding commands --with-jpeg-dir 
and --with-png-dir and with-zlib-dir. Even though I am pointing to where these libs 
reside I get the error can not file libjpeg. try using --with-jpeg-dir (even though I 
did use it ) I took out the jpeg command only and reconfigured and it ran through 
fine, finding both the png lib and the zlib, but my php doesn't have jpeg support. Can 
anyone please tell me what I am doing wrong and please help me get this configured 
with jpeg support. Thanks in advance.
 
System Specs
PII 233
64MB Ram
CD-Rom
8GB WD HDD
Mandrake 9.1
Apache 2.0
PHP 4.3.2
GD 2.0.15
jpeglib v6b
 
Thanks again for the help
 
ComFox

--- End Message ---


php-install Digest 15 Jul 2003 23:15:50 -0000 Issue 1462

2003-07-15 Thread php-install-digest-help

php-install Digest 15 Jul 2003 23:15:50 - Issue 1462

Topics (messages 11281 through 11284):

php_admin_value extension_dir appears not to work
11281 by: McDonald Ian

compile php with ibm db2 support
11282 by: Kyle Mathews

problems with W2K/phpweblog server
11283 by: jkohl

php 4.3.2, Apahe 1.3.27 on WinXP Probs
11284 by: Ged

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'm trying to set the extension_dir in my httpd.conf file. Although
phpinfo.php acknowledges my httpd.conf setting as a 'local setting', the
extension_dir files are not found.

My theory is that although the php_admin_value succeeds in changing the
extension_dir value, it does so *after* the PHP module tries to load the
extensions. Question is: how can I get around this?

The rest of this message is configuration info.

 The relevant command output: 

C:\eoasis_server\train_4000>set INSTANCE=train_4000

C:\eoasis_server\train_4000>set
JAVA_HOME=C:\eoasis_server\train_4000\jdk1.3.1_0
2

C:\eoasis_server\train_4000>set PATH=D:\oracle\ora90\bin;C:\Program
Files\Oracle
\jre\1.1.8\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program
File
s\Symantec\pcAnywhere\;C:\eoasis_server\dll;C:\Xindice\bin;C:\eoasis_server\
trai
n_4000\dll

C:\eoasis_server\train_4000>set PHPRC=C:\eoasis_server\train_4000

C:\eoasis_server\train_4000>c:\eoasis_server\train_4000\apache\apache.exe
[Tue Jul 15 09:48:02 2003] [warn] Loaded DSO
c:/eoasis_server/train_4000/php/sap
i/php4apache.dll uses plain Apache 1.3 API, this module might crash under
EAPI!
(please recompile it with -DEAPI)
PHP Warning:  Unable to load dynamic library 'c:\php4/php_oci8.dll' - The
specif
ied module could not be found.
 in Unknown on line 0
PHP Warning:  Unable to load dynamic library 'c:\php4/php_xslt.dll' - The
specif
ied module could not be found.
 in Unknown on line 0
[Tue Jul 15 09:48:18 2003] [warn] Loaded DSO modules\mod_jk.dll uses plain
Apach
e 1.3 API, this module might crash under EAPI! (please recompile it with
-DEAPI)

OpenSA/1.0.1 / Apache/1.3.23 (Win32) mod_jk/1.1.0 PHP/4.2.3 running...
(END)

 My OS and build info from phpinfo: 

System Windows NT 5.0 build 2195 
Build Date Sep 6 2002 10:38:51 
Server API Apache 
Virtual Directory Support enabled 
Configuration File (php.ini) Path C:\eoasis_server\train_4000\php.ini 
Debug Build no 
Thread Safety enabled
(END)

 The extension_dir from php_info: 

extension_dir  C:/eoasis_server/train_4000/Zend_server_2_5/lib/php_ext
c:\php4 
(END)

 The relevant lines from httpd.conf: 

LoadModule php4_module c:/eoasis_server/train_4000/php/sapi/php4apache.dll
PHP_ADMIN_VALUE extension_dir
"C:/eoasis_server/train_4000/Zend_server_2_5/lib/php_ext"
(END)


**
This email is from Capula Ltd (Registered No 00953504 England).
Please visit our Website at www.capula.co.uk
Capula - doing IT for you
LEGAL NOTICE

The information contained in this e-mail and any files transmitted with it are 
confidential, may be privileged and are intended solely for the use of the 
individual or entity to whom they are addressed.  If you are not the intended 
recipient any disclosure, copying, retransmission, distribution, dissemination, 
action taken or omitted to be taken in reliance upon this e-mail is strictly 
prohibited and may be unlawful.  If you have received this communication in error 
please notify the sender by e-mail or by telephone on +44(0)1785 827000, delete 
it from your system and destroy any copies of it.

Furthermore, the content of this e-mail is the personal view of the sender and 
does not necessarily represent the advice, views or opinion of Capula Ltd.  In 
particular (but not by way of limitation) Capula Ltd disclaims all responsibility 
and accepts no liability for any e-mails that are defamatory, offensive, racist 
or in any other way are in breach of any third party's rights, including breach 
of confidence, privacy or other rights.

Please note that users should have no expectation that any information they 
transmit or receive over Capula Ltd facilities or stored on Capula Ltd computers 
is or will remain private, and Capula Ltd reserves the right to review these 
records. Capula Ltd reserves the right to intercept, monitor and record 
this e-mail.

Please note that e-mails from Capula Ltd pass through a virus checker but 
e-mails can be intercepted or affected by different viruses.  No warranties 
or assurance are made in relation to the safety and content of this email and 
any attachments and no liability is accepted for any consequences arising 
from it.  The recipient should ensure that the e-mail and attachments (if any) 
are actually

php-install Digest 16 Jul 2003 19:36:26 -0000 Issue 1463

2003-07-16 Thread php-install-digest-help

php-install Digest 16 Jul 2003 19:36:26 - Issue 1463

Topics (messages 11285 through 11288):

Re: php 4.3.2, Apahe 1.3.27 on WinXP Probs
11285 by: Jim Thome

Trying to compile PHP with sybase-ct fails - any help appreciated...
11286 by: Andrew Solmssen

Solaris/Apache/PHP
11287 by: Colin Knowles

php 4.3.2 and apache 1.3.27?
11288 by: Gedanken

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 ---
Running Apache's configuration test should shed some light on the
problem.

--
Jim

>>> "Ged" <[EMAIL PROTECTED]> 07/15/03 05:00PM >>>
I am now tearing my hair out regarding a problem that I am
experiencing.

I have successfully loaded apache and that works fine.  However when I
go to
hook the php into apache, I constantly have a NET HELPMSG 3534. 
Looking
into some discussions around the place has not provided a working
answer.

I have in the past successfully loaded php/mysql/apache onto win98,
winnt
and win2000 and would have thought that there should be no real
surprises
here.

Any assistance in this matter would be greatly appreciated.


Regards,
Ged



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php 


--- End Message ---
--- Begin Message ---
We are trying to add Sybase-CT support to PHP.

System is a Compaq Prosignia 740 running Red Hat Enterprise Linux 2.1 ES,
all
errata & updates installed, and with Sybase ASE 11.0.3.3 installed
at /opt/sybase.

Steps taken:
install php-4.1.2-2.1.6.src.rpm (rpm -ivh php-4.1.2-2.1.6.src.rpm)
edit /usr/src/redhat/SPECS/php.spec by adding
  --with-sybase-ct=/opt/sybase \
to config tree
run "rpm -ba php.spec"

compile fails as follows:

/bin/sh /usr/src/redhat/BUILD/php-4.1.2/build-cgi/libtool --silent -- 
mode=link
gcc -I. -I/usr/src/redhat/BUILD/php-4.1.2/ -I/usr/src/redhat/BUILD/php-
4.1.2/build-cgi/main -I/usr/src/redhat/BUILD/php-4.1.2 -
I/usr/src/redhat/BUILD/php-4.1.2/build-cgi/Zend -I/usr/include/libxml2 -
I/usr/include/freetype2/freetype -I/usr/include/imap -I/usr/include/mysql -
I/usr/include -I/usr/include/pspell -I/opt/sybase/include -
I/usr/src/redhat/BUILD/php-4.1.2/main -I/usr/src/redhat/BUILD/php-4.1.2/Zend
 -
I/usr/src/redhat/BUILD/php-4.1.2/TSRM  -I/usr/src/redhat/BUILD/php-4.1.2/bui
ld-

cgi/TSRM -O2 -march=i386 -mcpu=i686 -fPIC  -L/usr/kerberos/lib -o
php -export-
dynamic   stub.lo libphp4.la
/usr/bin/ld: cannot find -linsck
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/php-4.1.2/build-cgi'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.32457 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.32457 (%build)



More data points - this also fails with Red Hat 8.0 and 9.0.but I was able
to successfully complete builds of the php-4.1.2-2.1.6.src.rpm unmodified
and also with:
  --with-sybase=/opt/sybase \


It's just sybase-ct that fails, and of course, that's what we need. Any
assistance you can offer gratefully appreciated - I've been beating my head
against a wall with this one...

Andrew Solmssen


--- End Message ---
--- Begin Message ---
Hi

I am trying to install PHP on a Solaris box which is running:

SunOS 5.9 Generic_112233-06 (sun4u architecture)

Apache comes pre-installed on these systems. However, when I ran into
problems compiling PHP 4.3.2, so I removed this version of Apache and
downloaded Apache 1.3.27. I compiled this with the following command lines:
# ./configure --with-layout=GNU --prefix=/usr/local/apache
--enable-module=most --enable-shared=max --enable-module=so
# make
# make install
However when I tried to compile PHP using:

# ./configure --with-zlib --with-mysql=/usr/local/mysql
--with-apxs=/usr/local/apache/sbin/apxs
# make clean
# make
I got

ld: fatal: Symbol referencing errors. No output written to sapi/cli/php
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `sapi/cli/php'
but scrolling backwards I also found

ld: warning: file /usr/local/mysql/lib/libmysqlclient.a(libmysql.o): wrong
ELF class: ELFCLASS64
Thinking that this may be some kind of library problem, I moved
/usr/local/bin to the front of my $PATH, but this made no difference. I
then figured that it may be a 32/64-bit library problem, so I did
# setenv CFLAGS "-m64"
# setenv LDFLAGS "-mcpu=v9 -m64"
# ./configure --with-zlib --with-mysql=/usr/local/mysql
--with-apxs=/usr/local/apache/sbin/apxs
# make clean
# make
# make install
However, when I try to start Apache, which in the httpd.conf file has:

LoadModule php4_modulelibexec/libphp4.so

I get

# httpd
Syntax error on line 236 of /usr/local/apache/etc/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into

php-install Digest 17 Jul 2003 07:39:12 -0000 Issue 1464

2003-07-17 Thread php-install-digest-help

php-install Digest 17 Jul 2003 07:39:12 - Issue 1464

Topics (messages 11289 through 11290):

[PHP5/Apache 2] Unable to stop apache
11289 by: Jasper

PHP binary too big
11290 by: Bhavin Modi

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,

Got PHP5 beta1 and Apache 2.0.47 on a Gentoo Linux box. Apache was installed
through emerge,
PHP5 was compiled manually
with --prefix=/usr/local/php5 --with-apxs2=/usr/sbin/apxs2.

Everything works fine, except when I want to stop or restart the Apache
server, one process (the one
that runs as root) keeps running (the other processes terminate
successfully), and consumes 100% cpu.

There is nothing in the apache access or error logs. This  happens
when I enable PHP, standalone
Apache stops and restarts correctly.

I've also tried the latest CVS snapshot, but to no avail.

Any ideas ?

Thanks !





--- End Message ---
--- Begin Message ---
I compiled php 4.3 with apache2 and found out that the binary (libphp4.so)
was almost 7.5MB. Then figured out that I had compiled in a few
modules(gd,openssl,domxml,bz2,iconv,curl) so I recompiled PHP to make all
the modules shared and still the libphp4.so is almost 6.5MB. I dont
understand why is the binary so fat even with all the modules shared. I
compiled on a Redhat 8.0 system.

Here is my configure command
./configure \
--with-apxs2=/usr/sbin/apxs \
--host=i686-pc-linux-gnu \
--build=i686-pc-linux-gnu \
--target=i686-redhat-linux-gnu \
--prefix=/usr \
--with-layout=GNU \
--with-config-file-path=/etc \
--enable-force-cgi-redirect \
--disable-debug \
--enable-pic \
--disable-rpath \
--enable-inline-optimization \
--with-bz2=shared \
--with-db3=shared \
--with-curl=shared \
--with-dom=shared,/usr \
--with-exec-dir=/usr/bin \
--with-freetype-dir=/usr \
--with-png-dir=/usr \
--with-gd=shared \
--enable-gd-native-ttf \
--with-ttf \
--with-gdbm \
--with-gettext \
--with-iconv=shared \
--with-jpeg-dir=/usr \
--with-openssl=shared \
--with-png \
--with-regex=system \
--with-xml=shared \
--with-expat-dir=/usr \
--with-zlib=shared \
--enable-bcmath \
--enable-exif \
--enable-ftp \
--enable-magic-quotes \
--enable-safe-mode \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-discard-path \
--enable-track-vars \
--enable-trans-sid \
--enable-wddx \
--with-pear=/usr/share/pear \
--with-imap=shared \
--with-imap-ssl \
--with-kerberos=/usr/kerberos \
--with-ldap=shared \
--with-mysql=shared,/usr \
--with-mssql=shared,/usr \
--with-mhash=shared,/usr \
--with-mcrypt=shared,/usr/local \
--enable-ucd-snmp-hack \
--enable-memory-limit \
--enable-bcmath \
--enable-shmop \
--enable-versioning \
--enable-calendar \
--enable-dbx \
--enable-dio \
--enable-mcal




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.501 / Virus Database: 299 - Release Date: 7/14/2003


--- End Message ---


php-install Digest 18 Jul 2003 07:02:33 -0000 Issue 1465

2003-07-18 Thread php-install-digest-help

php-install Digest 18 Jul 2003 07:02:33 - Issue 1465

Topics (messages 11291 through 11301):

php binary too big
11291 by: Bhavin Modi
11293 by: Yann Larrivee
11299 by: Michael Mauch

New Member
11292 by: nsr pergas

Re: php 4.3.2 and apache 1.3.27?
11294 by: Adam Voigt

Re: Help for PHP Newbie!
11295 by: Neo Ah Too
11296 by: Neo Ah Too

Re: httpd.conf  not found
11297 by: Neo Ah Too

Installation problem
11298 by: Dinesh Anchan

PHP, Mysql 4.0.13 and HPUX 11.00
11300 by: Madhu

New User Creation.
11301 by: Rajendra Kumar

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 tried to compile php 4.3 with apache2 and found out that the binary
(libphp4.so) was almost 7.5MB. Then figured out that I had compiled-in a few
modules(gd,openssl,domxml,bz2,iconv,curl) so I recompiled PHP to make all
the modules shared and still the libphp4.so is almost 6.5MB. I dont
understand why is the binary so fat even with all the modules shared. I
compiled on redhat 8.0.

One more thing I noticed was the mcrypt module(mcrypt.so) when compiled as
shared with PHP is almost double the size then the one compiled separately.
Why is this happening.

Here is my configure command
./configure \
--with-apxs2=/usr/sbin/apxs \
--host=i686-pc-linux-gnu \
--build=i686-pc-linux-gnu \
--target=i686-redhat-linux-gnu \
--prefix=/usr \
--with-layout=GNU \
--with-config-file-path=/etc \
--enable-force-cgi-redirect \
--disable-debug \
--enable-pic \
--disable-rpath \
--enable-inline-optimization \
--with-bz2=shared \
--with-db3=shared \
--with-curl=shared \
--with-dom=shared,/usr \
--with-exec-dir=/usr/bin \
--with-freetype-dir=/usr \
--with-png-dir=/usr \
--with-gd=shared \
--enable-gd-native-ttf \
--with-ttf \
--with-gdbm \
--with-gettext \
--with-iconv=shared \
--with-jpeg-dir=/usr \
--with-openssl=shared \
--with-png \
--with-regex=system \
--with-xml=shared \
--with-expat-dir=/usr \
--with-zlib=shared \
--enable-bcmath \
--enable-exif \
--enable-ftp \
--enable-magic-quotes \
--enable-safe-mode \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-discard-path \
--enable-track-vars \
--enable-trans-sid \
--enable-wddx \
--with-pear=/usr/share/pear \
--with-imap=shared \
--with-imap-ssl \
--with-kerberos=/usr/kerberos \
--with-ldap=shared \
--with-mysql=shared,/usr \
--with-mssql=shared,/usr \
--with-mhash=shared,/usr \
--with-mcrypt=shared,/usr/local \
--enable-ucd-snmp-hack \
--enable-memory-limit \
--enable-bcmath \
--enable-shmop \
--enable-versioning \
--enable-calendar \
--enable-dbx \
--enable-dio \
--enable-mcal

Thanks

~Bhavin


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.501 / Virus Database: 299 - Release Date: 7/14/2003

--- End Message ---
--- Begin Message ---
It's not because it's with shared. It's more because it's with all the
module !

On Thu, 2003-07-17 at 00:24, Bhavin Modi wrote:
> I compiled php 4.3 with apache2 and found out that the binary (libphp4.so)
> was almost 7.5MB. Then figured out that I had compiled in a few
> modules(gd,openssl,domxml,bz2,iconv,curl) so I recompiled PHP to make all
> the modules shared and still the libphp4.so is almost 6.5MB. I dont
> understand why is the binary so fat even with all the modules shared. I
> compiled on a Redhat 8.0 system.
> 
> Here is my configure command
> ./configure \
> --with-apxs2=/usr/sbin/apxs \
> --host=i686-pc-linux-gnu \
> --build=i686-pc-linux-gnu \
> --target=i686-redhat-linux-gnu \
> --prefix=/usr \
> --with-layout=GNU \
> --with-config-file-path=/etc \
> --enable-force-cgi-redirect \
> --disable-debug \
> --enable-pic \
> --disable-rpath \
> --enable-inline-optimization \
> --with-bz2=shared \
> --with-db3=shared \
> --with-curl=shared \
> --with-dom=shared,/usr \
> --with-exec-dir=/usr/bin \
> --with-freetype-dir=/usr \
> --with-png-dir=/usr \
> --with-gd=shared \
> --enable-gd-native-ttf \
> --with-ttf \
> --with-gdbm \
> --with-gettext \
> --with-iconv=shared \
> --with-jpeg-dir=/usr \
> --with-openssl=shared \
> --with-png \
> --with-regex=system \
> --with-xml=shared \
> --with-expat-dir=/usr \
> --with-zlib=shared \
> --enable-bcmath \
> --enable-exif \
> --enable-ftp \
> --enable-magic-quotes \
> --enable-safe-mode \
> --enable-sockets \
> --enable-sysvsem \
> --enable-sysvshm \
> --enable-discard-path \
> --enable-track-vars \
> --enable-trans-sid \
> --enable-wddx \
> --with-pear=/usr/share/pear \
> --with-imap=shared \
> --with-imap-ssl \
> --with-kerberos=/usr/kerberos \
> --with-ldap=shared \
> --with-mysql=shared,/usr \
> --with-mssql=shared,/usr \
> --with-mhash=shared,/usr \
> --with-mcrypt=shared,/usr/local \
> --enable-ucd-snmp-h

php-install Digest 18 Jul 2003 23:24:34 -0000 Issue 1466

2003-07-18 Thread php-install-digest-help

php-install Digest 18 Jul 2003 23:24:34 - Issue 1466

Topics (messages 11302 through 11306):

Re: New User Creation.
11302 by: Thomas
11304 by: Rajendra Kumar
11305 by: Stratsimir Kolchevski

Debug Assertion deep inside php_execute_script() on an SAPI.
11303 by: twitch

Re: Movie
11306 by: Spock

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 ---
Try checking out the exec() function
http://us4.php.net/manual/en/function.exec.php

Should start out with 3 input boxes.
USERNAME
PASSWORD
VERIFYPASSWORD

IF ($_POST/GET[PASSWORD] == $_POST/GET[VERIFYPASSWORD]){

exec("/path/to/useradd -p $_POST/GET[PASSWORD]
$_POST/GET[USERNAME]");

}

The above is assuming you are executing exec() functions as a PRIVILEGED
user. It also assumes that no one is able to view the processes taking
place on the machine as the password will show up in clear text when
ps'n (reporting process status). This also assumes you are not running
IIS on a windows platform.

The above is just an example (and a crappy one at that), I am not
responsible for ANYTHING you do with this.

These "assumptions" may help. Read below.
_
MOST IMPORTANTLY
¯
1. READ POSTING RULES
2. hmm, it's in the posting rules.
3. http://us4.php.net/mailing-lists.php
4. Do not reply to my email address.


-Original Message-
From: Rajendra Kumar [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 18, 2003 3:02 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] New User Creation.


Hello List,
 
   i am new to php programming. can anyone help me to create a linux
user using php program and also i want to assign passwd to the new
created user. just like New User Sign Up form for an email. i use
squirrel mail they din't provided the new user sign up.
 
  any help will be appreciated.
 
thank,
Kumar.

Catch all the cricket action. Download Yahoo! Score tracker


--- End Message ---
--- Begin Message ---
hello Mr. Thomas,
 
 thanks for the quick reply. i implimented your code. let me know what's wrong with my 
code.
 
newuser.htm:
html
head
body
form action = "signup.php" method = post
Username: input type = text size = 30 name = "USERNAME"
Password: input type = password size = 30 name = "PASSWORD"
Confirm: input type = password size = 30 name = "VERIFYPASSWORD"

input type = submit value = "Sign Up"
/form
/body
/html

 
signup.php
 Passwords did not match");
}
?>

 
can u suggest me.?
 
 
thanks,
Kumar.
 


Thomas <[EMAIL PROTECTED]> wrote:
Try checking out the exec() function
http://us4.php.net/manual/en/function.exec.php

Should start out with 3 input boxes.
USERNAME
PASSWORD
VERIFYPASSWORD

IF ($_POST/GET[PASSWORD] == $_POST/GET[VERIFYPASSWORD]){

exec("/path/to/useradd -p $_POST/GET[PASSWORD]
$_POST/GET[USERNAME]");

}

The above is assuming you are executing exec() functions as a PRIVILEGED
user. It also assumes that no one is able to view the processes taking
place on the machine as the password will show up in clear text when
ps'n (reporting process status). This also assumes you are not running
IIS on a windows platform.

The above is just an example (and a crappy one at that), I am not
responsible for ANYTHING you do with this.

These "assumptions" may help. Read below.
_
MOST IMPORTANTLY
¯
1. READ POSTING RULES
2. hmm, it's in the posting rules.
3. http://us4.php.net/mailing-lists.php
4. Do not reply to my email address.


-Original Message-
From: Rajendra Kumar [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 18, 2003 3:02 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] New User Creation.


Hello List,

i am new to php programming. can anyone help me to create a linux
user using php program and also i want to assign passwd to the new
created user. just like New User Sign Up form for an email. i use
squirrel mail they din't provided the new user sign up.

any help will be appreciated.

thank,
Kumar.

Catch all the cricket action. Download Yahoo! Score tracker



--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Catch all the cricket action. Download Yahoo! Score tracker--- End Message ---
--- Begin Message ---
I suppose that your web server is running with non-privileged user.
In this case you have to use sudo (man sudo). Also you have to make some 
checks like
if (ereg("[|;,:`'\\\"]", $_POST[PASSWORD]) || ereg("[|;,:`'\\\"]", 
$_POST{USERNAME])) {
	die "Invalid username or password.";

}

Remember that it's very important to check for "|" and ";" in the 
username/password otherwise some nasty user could inject code after
the useradd command.

Stratsimir

Rajendra Kumar wrote:
hello Mr. Thomas,
 
 thanks for the quick reply. i implimented your code. let me know

php-install Digest 19 Jul 2003 15:06:04 -0000 Issue 1467

2003-07-19 Thread php-install-digest-help

php-install Digest 19 Jul 2003 15:06:04 - Issue 1467

Topics (messages 11307 through 11310):

Compiling php for Oracle
11307 by: Christian Villada
11308 by: Michael Mauch

Question
11309 by: Timothy Hora
11310 by: Jim Thome

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'm trying to get PHP 4.2.2 connected to Oracle 8.1.7
in Linux RedHat 9
I had the apache server alredy installed, so  I
installed Oracle supposing that the apache was ready
to handle oracle. 
When I try the aplication it gives me an error saying
that it don't have the osilogon() function. So I start
to read in PHP.net.
I learnt that the osilogon() is part of the Oracle
Call Interface (OCI8) and that I need to recompile
apache with the --with-oci8 option (I've checked with
phpinfo() and it says that php is running
without-oci8.

I've tried this in the phpxxx directory as root:

 ./configure --with-oci8
make
make install

I had several warnings in the ./configure phase and
then i get this errors in the make phase:

./.libs/libphp4.a(my_error.o)(.text+0x275): In
function `my_error':
/usr/src/redhat/BUILD/php-4.2.2/ext/mysql/libmysql/my_error.c:32:
undefined reference to `errno'
./.libs/libphp4.a(my_lib.o)(.text+0x37a): In function
`my_dir':
/usr/src/redhat/BUILD/php-4.2.2/ext/mysql/libmysql/my_lib.c:162:
undefined reference to `errno'
./.libs/libphp4.a(my_lib.o)(.text+0x546): In function
`my_stat':
/usr/src/redhat/BUILD/php-4.2.2/ext/mysql/libmysql/my_lib.c:585:
undefined reference to `errno'
./.libs/libphp4.a(my_getwd.o)(.text+0xbe):/usr/src/redhat/BUILD/php-4.2.2/ext/mysql/libmysql/my_getwd.c:43:
more undefined references to `errno' follow
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Leaving directory
`/usr/src/redhat/BUILD/php-4.2.2'
make: *** [all-recursive] Error 1

After the make install i dont get any php.ini

I've never compiled apache before, so I think that
maybe I'm just doing it wrong. 

Can anybody help me please?
Am I missing something?


Thanks in advance


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
--- End Message ---
--- Begin Message ---
Christian Villada wrote:
> I'm trying to get PHP 4.2.2 connected to Oracle 8.1.7
> in Linux RedHat 9

> ./.libs/libphp4.a(my_error.o)(.text+0x275): In
> function `my_error':
> /usr/src/redhat/BUILD/php-4.2.2/ext/mysql/libmysql/my_error.c:32:
> undefined reference to `errno'

That's an old bug in old PHP versions compiled on new systems with new
glibc. Use the current PHP 4.3.2 instead.

Regards...
Michael
--- End Message ---
--- Begin Message ---
Hi!

I Installed an compiled the original php4.3.2 also i installed the 
mod_php4-4.2.2-117.i586.rpm. 
I copied the php.ini file in the right folder an edit them with safe_mode = off
Now my Problem...
I restartet apache with /etc/init.d/apache restart
No Erros Message comes up.
so than i copied the run-tests.php and run-tests2-php in the public html folder
i tried to access over the browser: http://63.246.134.185/run-tests2.php
There comes up the errormessage "You are running this test-suite with 
"safe_mode"ENABLED!; Chances are high that none of the tests will work at all, 
depending on how you configured "safe_mode""
So i looked up for all php.ini files on the system and edit them. nothing happens. 
than i deleted all php.ini files from the system.
It also works now nothing. Can anybody help me cause i'm loosing my mind and get 
aggressive... :o)

Sorry my English is horrable

Nice greets from Austria

Timothy Hora--- End Message ---
--- Begin Message ---
It doesn't appear the Apache is sending PHP files to  the  PHP
interpreter.

Did you edit your httpd.conf file to add the following lines?

   AddType application/x-httpd-php .php

   LoadModule php4_modulelibexec/libphp4.so

--
Jim

>>> "Timothy Hora" <[EMAIL PROTECTED]> 07/19/03 05:17 AM >>>
Hi!

I Installed an compiled the original php4.3.2 also i installed the
mod_php4-4.2.2-117.i586.rpm. 
I copied the php.ini file in the right folder an edit them with
safe_mode = off
Now my Problem...
I restartet apache with /etc/init.d/apache restart
No Erros Message comes up.
so than i copied the run-tests.php and run-tests2-php in the public html
folder
i tried to access over the browser: http://63.246.134.185/run-tests2.php
There comes up the errormessage "You are running this test-suite with
"safe_mode"ENABLED!; Chances are high that none of the tests will work
at all, depending on how you configured "safe_mode""
So i looked up for all php.ini files on the system and edit them.
nothing happens. than i deleted all php.ini files from the system.
It also works now nothing. Can anybody help me cause i'm l

php-install Digest 20 Jul 2003 17:15:53 -0000 Issue 1468

2003-07-20 Thread php-install-digest-help

php-install Digest 20 Jul 2003 17:15:53 - Issue 1468

Topics (messages 11311 through 11316):

PHP 4.3.2 extensions building problem?
11311 by: Lukasz Karapuda
11313 by: Michael Mauch
11315 by: Lukasz Karapuda

Re: Compiling php for Oracle
11312 by: Reuben D. Budiardja

Re: Question
11314 by: Michael Scappa

Re: Debug Assertion deep inside php_execute_script() on an SAPI.
11316 by: Thomas

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 am trying to build and install PHP 4.3.2 on Linux RedHat 7.3. The
configure, make and make install commands generate correct output. 

The phpinfo() tells me that all the extensions I compiled in are
enabled.

However the extensions installation folder:
/usr/local/lib/php/extensions/no-debug-non-zts-20020429/ contains no
files. The extensions obviously DO NOT work.

This are my configure params:
./configure --with-mysql --with-apxs=/usr/sbin/apxs --with-zlib \
--enable-bcmath --with-bz2 --with-curl --with-dom \
--enable-exif --enable-ftp --with-gd --with-ttf \
--with-mime-magic=/usr/share/magic.mime \
--with-mnogosearch=/usr --with-pdflib \
--enable-xslt --with-xslt-sablot --with-sablot-js --with-kerberos

Any ideas what the problem is?

Is there anything special which has to be done to build the
extensions.

(I am using the bundled mysql and GD libraries).

Thanks in advance,

Lukasz Karapuda
[EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---
Lukasz Karapuda wrote:

> I am trying to build and install PHP 4.3.2 on Linux RedHat 7.3. The
> configure, make and make install commands generate correct output. 
> 
> The phpinfo() tells me that all the extensions I compiled in are
> enabled.
> 
> However the extensions installation folder:
> /usr/local/lib/php/extensions/no-debug-non-zts-20020429/ contains no
> files. The extensions obviously DO NOT work.

What do you mean by "obviously DO NOT work"?

a)  I tried them and they did not work.
b)  I guess that they don't work, because there are no files in that
directory.

> This are my configure params:
> ./configure --with-mysql --with-apxs=/usr/sbin/apxs --with-zlib \
> --enable-bcmath --with-bz2 --with-curl --with-dom \
> --enable-exif --enable-ftp --with-gd --with-ttf \
> --with-mime-magic=/usr/share/magic.mime \
> --with-mnogosearch=/usr --with-pdflib \
> --enable-xslt --with-xslt-sablot --with-sablot-js --with-kerberos
> 
> Any ideas what the problem is?

There is no problem. Only shared extensions go into that extensions
directory. Compiled-in extensions are built into libphp4.so.

Regards...
Michael
--- End Message ---
--- Begin Message ---
Michael,

Thanks for the clarification. Now it makes sense that only shared
extensions are placed into  the
/usr/local/lib/php/extensions/no-debug-non-zts-20020429/  directory.

All the extensions work correctly, besides mysql. I tried compiling
with the bundled mysql libraries (---with-mysql) and with the mysql
libraries which i have currently installed on my system
(---with-mysql=/usr). In both cases the make is successful but the
extension is not working. When i do php -m (CLI) it lists all the
extensions including mysql.

I fixed the problem by installing mysql.so from the php-mysql RPM and
enabling it in php.ini. However i am concerned why i couldn't get it
to work the "normal" way.

Thanks in advance for your help,

Lukasz Karapuda

On Sat, 19 Jul 2003 20:14:44 +0200, [EMAIL PROTECTED] (Michael Mauch)
wrote:

>Lukasz Karapuda wrote:
>
>> I am trying to build and install PHP 4.3.2 on Linux RedHat 7.3. The
>> configure, make and make install commands generate correct output. 
>> 
>> The phpinfo() tells me that all the extensions I compiled in are
>> enabled.
>> 
>> However the extensions installation folder:
>> /usr/local/lib/php/extensions/no-debug-non-zts-20020429/ contains no
>> files. The extensions obviously DO NOT work.
>
>What do you mean by "obviously DO NOT work"?
>
>a)  I tried them and they did not work.
>b)  I guess that they don't work, because there are no files in that
>directory.
>
>> This are my configure params:
>> ./configure --with-mysql --with-apxs=/usr/sbin/apxs --with-zlib \
>> --enable-bcmath --with-bz2 --with-curl --with-dom \
>> --enable-exif --enable-ftp --with-gd --with-ttf \
>> --with-mime-magic=/usr/share/magic.mime \
>> --with-mnogosearch=/usr --with-pdflib \
>> --enable-xslt --with-xslt-sablot --with-sablot-js --with-kerberos
>> 
>> Any ideas what the problem is?
>
>There is no problem. Only shared extensions go into that extensions
>directory. Compiled-in extensions are built into libphp4.so.
>
>Regards...
>   Michael

--- End Message ---
--- Begin Message ---
On Saturday 19 July 2003 05:45 am, Michael M

php-install Digest 21 Jul 2003 14:20:54 -0000 Issue 1469

2003-07-21 Thread php-install-digest-help

php-install Digest 21 Jul 2003 14:20:54 - Issue 1469

Topics (messages 11317 through 11317):

XmlRpc extension problem in windows
11317 by: Donald Tyler

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 Everyone,

 

I am having trouble getting the XmlRpc extension working with PnP 4.2.3.

 

SYSTEM:

Windows XP Pro

PHP 4.2.3 (Running as Apache module)

Apache 2.0.44

 

When Apache starts I get the following error:

 

Unknown(): Unable to load dynamic link library 'c:\program files\apache
group\php\extensions\php_xmlrpc.dll' - The specified module could not be
found.

 

The error.log after a clean start:

 

[Fri Jul 18 17:08:29 2003] [notice] Parent: Created child process 3420 PHP
Warning:  Unknown(): Unable to load dynamic library 'c:\program files\apache
group\php\extensions\php_xmlrpc.dll' - The specified module could not be
found.  in Unknown on line 0 [Fri Jul 18 17:08:32 2003] [notice] Child 3420:
Child process is running [Fri Jul 18 17:08:32 2003] [notice] Child 3420:
Acquired the start mutex. [Fri Jul 18 17:08:32 2003] [notice] Child 3420:
Starting 250 worker threads.

 

I know the dll exists in the correct location and the extension path is
specified correctly in the php.ini file because other extensions load fine.

 

Anyone have any suggestions?

 

Thanks.

 

 

--- End Message ---


php-install Digest 22 Jul 2003 12:52:47 -0000 Issue 1470

2003-07-22 Thread php-install-digest-help

php-install Digest 22 Jul 2003 12:52:47 - Issue 1470

Topics (messages 11318 through 11321):

Re: PHP 4.3.2 extensions building problem?
11318 by: Michael Mauch

A problem with the extension_dir
11319 by: Jax Jediknight

Please Help: PHP and Apache Installation
11320 by: WX

AS400 - /config.guess: 001-0019 Error ...
11321 by: Juliana.Amaral.itau.com.br

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 ---
Lukasz Karapuda wrote:

> All the extensions work correctly, besides mysql. I tried compiling
> with the bundled mysql libraries (---with-mysql) and with the mysql
> libraries which i have currently installed on my system
> (---with-mysql=/usr).

I guess these three dashes "---" are a typo only in your message?

> In both cases the make is successful but the
> extension is not working. When i do php -m (CLI) it lists all the
> extensions including mysql.

Then it should work. How do you know that it does not work, i.e. what
script did you use and what were the error messages?

Regards...
Michael
--- End Message ---
--- Begin Message ---
Hello everybody,

I was recently installing PHP 4.3.2 on an Apache 2.0.46 on Windows 98SE and 
I can't figure out why aren't extensions working. I checked the 
extension_dir setting in the php.ini file, and it pointed to a right 
directory (C:\Program Files\PHP 4.3.2\extensions). However, when I 
activated any extension, there was an error that its file can't be found. I 
copied the path from the dialog window, and it pointed to an existing file.

I've tried:

- putting them to:

c:\windows\system
c:\windows\system32
c:\php
c:\ext
c:\php\ext
c:\php\extension
- putting slashes or backslashes in the path,

- ending it with a slash or a backslash,

- relative paths like .\extensions, .

And it did nothing! I semicoloned all the extensions in the php.ini, and I 
am currently using PHP without any extensions, which is not very 
comfortable. It is functioning very well, and it has no other error nor 
warnings beside the extensions problem.

If there is something I could do to fix this proble, I would be very 
grateful.

Jax
--- End Message ---
--- Begin Message ---
I have php version 5.0.0b1 installed and apache 2.046. I also have mySQL 4
4.013 installed on a windows XP home Computer.

MySQL works, PHP works and Apache works when the following lines are not
added to the httpd.con

LoadModule php4_module "C:/Program Files/Apache
Group/Apache2/PHP/sapi/php4apache2.dll"
AddType application/x-httpd-php .php



I changed the path to use \ but the result is the same:

1. When I restart apache from apavhe monitor the error message is " The
requested operation has failed"

when I start apache from comand line: C:\Program Files\Apache
Group\Apache2\bin>apache

"Syntax error on line 988 of C:/Program Files/Apache
Group/Apache2/conf/httpd.conf:
Can't locate API module structure `php4_module' in file C:/Program
Files/Apache Group/Apache2/PHP/sapi/php4apache2.dll: No error "

I had installed PHP in C:\PHP originally with same result. I have tried with
various versions of PHP and apache and the results have been the same.

To confirm the PHP is ok I run php -i at command prompt and usually get the
long stream of html codes.

Is there something I'm not doing correctly? Please help


--- End Message ---
--- Begin Message ---

Hello,

I have an AS/400 V5R2 and I liked test PHP in AS/400.
I run qsh (SHELL of the Unix), move to directory php-4.3.0 (downloaded of
the http://www.php.net) and execute ./configure, then the error below
occured:

I already send mail to <[EMAIL PROTECTED]> (version up to date), but I
didn't have a answer.

Can you help me ?


===
> cd /php-4.3.0
  $
> ./configure
  loading cache ./config.cache
  checking for Cygwin environment... no
  checking for mingw32 environment... no
  checking for working sed... sed
  checking host system type... ./config.guess: 001-0019 Error found
searching f
  or command no_compiler_found. No such path or directory.
  ./config.guess: unable to guess system type
  This script, last modified 2003-07-02, has failed to recognize
  the operating system you are using. It is advised that you
  download the most up to date version of the config scripts from

ftp://ftp.gnu.org/pub/gnu/config/

If the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <[EMAIL PROTECTED]> in order to provide the needed
information to handle your system.

config.guess timestamp = 2003-07-02

uname -m = 00XX
uname -r = 2
uname -s = OS400
uname -v = 5

/usr/bin/uname -p =
/bin/uname -X =

php-install Digest 23 Jul 2003 13:03:11 -0000 Issue 1471

2003-07-23 Thread php-install-digest-help

php-install Digest 23 Jul 2003 13:03:11 - Issue 1471

Topics (messages 11322 through 11326):

PHP 4.2.3 problem
11322 by: Ana Escudero

PHP and Red Hat 9
11323 by: Joe Feustle

Re: A problem with the extension_dir
11324 by: sven

Openbsd3.3 PHP compile error
11325 by: Matthew Garrett

Re: XmlRpc extension problem in windows
11326 by: Donald Tyler

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 all,

I have installed apache 1.3.27 and PHP 4.2.3 on a RedHat7.3. I have
installed PHP with the --with-apxs=/apache/bin/apxs and I changed
the httpd.conf to add the AddType, the Load Module and the
DirectoryIndex entries. When I try to run a php page I only see the
source code of the php page. I can not see the php module with httpd -l
although I reinstalled it again.
Had any of you the same problem?

Thanks in advance,
Ana Escudero

--- End Message ---
--- Begin Message ---
Newbie question. I recently installed RH 9 with Apache, mySQL, and PHP. I've
double checked all of the required files and they appear to be where they
should be. However, when I point Apache to a PHP file, it either gives me a
blank page or the PHP as a text file. I've poked around the RH archives and
found most of the helpful FAQ hints refer to earlier versions of Apache. Is
there anything simple I may have overlooked?

Thanks in advance.

Joe Feustle

--- End Message ---
--- Begin Message ---
hi jax,

did you try to quote your path (because of spaces)?

extension_dir = "C:\Program Files\PHP 4.3.2\extensions"

ciao SVEN

Jax Jediknight wrote:
> Hello everybody,
>
> I was recently installing PHP 4.3.2 on an Apache 2.0.46 on Windows
> 98SE and I can't figure out why aren't extensions working. I checked
> the extension_dir setting in the php.ini file, and it pointed to a
> right directory (C:\Program Files\PHP 4.3.2\extensions). However,
> when I activated any extension, there was an error that its file
> can't be found. I copied the path from the dialog window, and it
> pointed to an existing file.
>
> I've tried:
>
> - putting them to:
>
> c:\windows\system
> c:\windows\system32
> c:\php
> c:\ext
> c:\php\ext
> c:\php\extension
>
> - putting slashes or backslashes in the path,
>
> - ending it with a slash or a backslash,
>
> - relative paths like .\extensions, .
>
> And it did nothing! I semicoloned all the extensions in the php.ini,
> and I am currently using PHP without any extensions, which is not very
> comfortable. It is functioning very well, and it has no other error
> nor warnings beside the extensions problem.
>
> If there is something I could do to fix this proble, I would be very
> grateful.
>
> Jax


--- End Message ---
--- Begin Message ---
i am running openbsd3.3 on an ultrasparc.

trying to install php4.3.2 from source.  i get a compile error (actually it
gets stuck).  i am using mysql 4.0.13 and apache 1.3.28

i have read the post by Rasmus Lerdorf on
http://aspn.activestate.com/ASPN/Mail/Message/php-install/1326503 but since
i am already using the 1.3.x version of apache, i dont know where to go from
here.  has anyone run into this problem.

this is the line it is stuck on.

gcc  -Iext/standard/ -I/usr/server/php-4.3.2/ext/standard/ -DPHP_ATOM_INC -I
/usr/server/php-4.3.2/include -I/usr/server/php-4.3.2/main -I/usr/server/php
-4.3.2 -I/usr/server/php-4.3.2/Zend -I/usr/local/mysql/include/mysql -I/usr/
server/php-4.3.2/ext/xml/expat  -I/usr/server/php-4.3.2/TSRM  -g -O2  -c
/usr/server/php-4.3.2/ext/standard/sha1.c -o ext/standard/sha1.o  && echo >
ext/standard/sha1.lo


-matt




--- End Message ---
--- Begin Message ---
Got some replies with this the first time but didn't solve the problem so I
am posting again. Please help!

 

Hi Everyone,

 

I am having trouble getting the XmlRpc extension working with PnP 4.2.3.

 

SYSTEM:

Windows XP Pro

PHP 4.2.3 (Running as Apache module)

Apache 2.0.44

 

When Apache starts I get the following error:

 

Unknown(): Unable to load dynamic link library 'c:\program files\apache
group\php\extensions\php_xmlrpc.dll' - The specified module could not be
found.

 

The error.log after a clean start:

 

[Fri Jul 18 17:08:29 2003] [notice] Parent: Created child process 3420 PHP
Warning:  Unknown(): Unable to load dynamic library 'c:\program files\apache
group\php\extensions\php_xmlrpc.dll' - The specified module could not be
found.  in Unknown on line 0 [Fri Jul 18 17:08:32 2003] [notice] Child 3420:
Child process is running [Fri Jul 18 17:08:32 2003] [notice] Child 3420:
Acquired the start mutex. [Fri Jul 18 17:08:32 2003] [notice] Child 3420:
Starting 250 worker threads.

 

I know the dll exists in the correct location and the extension path is
specified correctly in the php.ini file because o

php-install Digest 24 Jul 2003 02:33:19 -0000 Issue 1472

2003-07-23 Thread php-install-digest-help

php-install Digest 24 Jul 2003 02:33:19 - Issue 1472

Topics (messages 11327 through 11331):

Re: XmlRpc extension problem in windows
11327 by: WebDevMagazine

How can I change my previous version of php in Apache?
11328 by: Christian Villada

Install Configuration Problem
11329 by: Golden Troll

PHP as CGI script !!
11330 by: newbie

[PHP] Need help on makeing php
11331 by: Nick

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 ---
please show me your phpinfo file.


Bogomil
http://webdevmagazine.co.uk/n/


--- End Message ---
--- Begin Message ---
Hello.
I've previously used php-4.2.2 with apache 2.0
Recently I've downloaded the php-4.3.2. 
But My Apache server keep seeing my old php version.
Can someone resume me the steps to make the apache see
the new version?

Thanks in advance.

Christian Villada 


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
--- End Message ---
--- Begin Message ---
My server is working with me to get my site back and running.
We recently upgraded to PHP Version 4.2.3 and Apache Version 1.3.28 
(Unix) and now are having the following problems. It seems to be 
somewhere in the server settings... I am having the following probs:


ForceType application/x-httpd-php

gets this error:
error: file has no execute permission: (this one is real importent to my 
 site and yes there is a file index no extension in this directory)

php_values cannot be set from the htaccess or at runtime with ini_set
receive this error
Invalid command 'php_flag', perhaps mis-spelled or defined by a module 
not included in the server configuration
and
Invalid command 'php_value', perhaps mis-spelled or defined by a module 
not included in the server configuration

Perhaps a mod_ is missing or a wrong path, we have been working on this 
for a couple days. It to the hair pulling point, help!
Thanks for any help
Scott

--- End Message ---
--- Begin Message ---
Installation on Win2000Pro + Apache 2.0.46 + PHP 4.3.2.
In "Manual PHP"  by Bakken itc is written :

[quote]
The path information part of the url after the PHP binary name,
/secret/doc.html is conventionally
used to specify the name of the file to be opened and interpreted by the CGI
program. Usually some
web server configuration directives (Apache: Action) are used to redirect
requests to documents like
http://my.host/secret/script.php to the PHP interpreter. With this setup,
the web server first checks
the access permissions to the directory /secret, and after that creates the
redirected request
http://my.host/cgi-bin/php/secret/script.php. Unfortunately, if the request
is originally given in this form,
no access checks are made by web server for file /secret/script.php, but
only for the /cgi-bin/php file.
This way any user able to access /cgi-bin/php is able to access any
protected document on the web
server.
[/quote]

I've no php4apache.dll or something like that, this is why I want to
configure PHP as CGI script.
My configuration files:
- php.ini :
cgi.force_redirect = 0
doc_root = ; nothing
all other are standard settings
- httpd.conf :
ServerRoot "D:/Programy/Apache Group/Apache2"
ServerName 127.0.0.1
DocumentRoot "D:/Programy/Apache Group/Apache2/htdocs"

Action php-script "/cgi-bin/php"
AddHandler php-script .php

ScriptAlias /php/ "e:/php/"
AddType application/x-httpd-php .php .php3 .htm .phtml
Action application/x-httpd-php "/php/php.exe"
all other are standard settings

After reading manual this settings should be enough for PHP to work
correctly as CGI script on Apache ?!

The problem is:
on my HD, there is a site:
D:/Programy/Apache Group/Apache2/cgi-bin/php/as/a.php
and in IE I want to open this site in two ways (as it is said in manual):
1. localhost/as/a.php - now I have to have a notice in access.log
2. localhost/cgi-bin/php/as/a.php - no notice about entry on site in
access.log
(this is why i turned off cgi.force_redirect = 0 and didn't set doc_root
!!. )

But it isn't working !!
In error.log depending on the request I've written above I've got different
messages :
first type of request:
[Thu Jul 17 18:03:51 2003] [error] [client 127.0.0.1] File does not exist:
D:/Programy/Apache Group/Apache2/htdocs/as
second type of request:
[Thu Jul 17 18:02:47 2003] [error] [client 127.0.0.1] script not found or
unable to stat: D:/Programy/Apache Group/Apache2/cgi-bin/php/cgi-bin

Why ??!! I've done everything what is written in manual but something must
be wrong !!
Did I make any mistake during configuration ?? Did I forget something ?!
I want my PHP to work as it is said in this part of manual I've written
above !!
HELP :(



--- End Message ---
--- Begin Message ---
To 

php-install Digest 24 Jul 2003 19:07:17 -0000 Issue 1473

2003-07-24 Thread php-install-digest-help

php-install Digest 24 Jul 2003 19:07:17 - Issue 1473

Topics (messages 11332 through 11336):

Re: Install Configuration Problem
11332 by: Golden Troll

PHP 5 Beta 1  - mysql 4.0.12 error: "Fatal error: Call to undefined function: 
mysql_connect() in D:\pub\mysqltest.php on line 6"
11333 by: Jeremy Oliver

How to make php work with apache
11334 by: skumar
11335 by: Jacob A. van Zanen

Re: Please Help: PHP and Apache Installation
11336 by: Wx

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 ---
Ok I figure this out my server had not installed php as a module as had 
been past installs you must installl php as a module to use these featres

Golden Troll wrote:

My server is working with me to get my site back and running.
We recently upgraded to PHP Version 4.2.3 and Apache Version 1.3.28 
(Unix) and now are having the following problems. It seems to be 
somewhere in the server settings... I am having the following probs:


ForceType application/x-httpd-php

gets this error:
error: file has no execute permission: (this one is real importent to 
my  site and yes there is a file index no extension in this directory)

php_values cannot be set from the htaccess or at runtime with ini_set
receive this error
Invalid command 'php_flag', perhaps mis-spelled or defined by a module 
not included in the server configuration
and
Invalid command 'php_value', perhaps mis-spelled or defined by a 
module not included in the server configuration

Perhaps a mod_ is missing or a wrong path, we have been working on 
this for a couple days. It to the hair pulling point, help!
Thanks for any help
Scott



--- End Message ---
--- Begin Message ---
I have just recently installed PHP beta 5 on Windows XP Pro and I am 
having problems connecting to mysql, phpinfo() works fine but it looks 
as though it is not loading any mysql modules even though PHP install 
file says this is now built in.When I run attached mysql connect test I 
get error

"Fatal error: Call to undefined function: mysql_connect() in 
D:\pub\mysqltest.php on line 6"

 I have trawled through various news groups and though I have seen 
similar problems but they all seem to be with any flavour except windows 
XP, so I would like to know if there is anybody who could give me, a 
newbie, a point in the right direction as this is driving me crazy. Do I 
have to tell PHP where to look for MySQL?

tks in advance
regards jeremy
--


[PHP]

;;;
; About this file ;
;;;
;
; This is the recommended, PHP 4-style version of the php.ini-dist file.  It
; sets some non standard settings, that make PHP more efficient, more secure,
; and encourage cleaner coding.
; The price is that with these settings, PHP may be incompatible with some
; applications, and sometimes, more difficult to develop with.  Using this
; file is warmly recommended for production sites.  As all of the changes from
; the standard settings are thoroughly documented, you can go over each one,
; and decide whether you want to use it or not.
;
; For general information about the php.ini file, please consult the php.ini-dist
; file, included in your PHP distribution.
;
; This file is different from the php.ini-dist file in the fact that it features
; different values for several directives, in order to improve performance, while
; possibly breaking compatibility with the standard out-of-the-box behavior of
; PHP 3.  Please make sure you read what's different, and modify your scripts
; accordingly, if you decide to use this file instead.
;
; - register_globals = Off [Security, Performance]
; Global variables are no longer registered for input data (POST, GET, cookies,
; environment and other server variables).  Instead of using $foo, you must use
; you can use $_REQUEST["foo"] (includes any variable that arrives through the
; request, namely, POST, GET and cookie variables), or use one of the specific
; $_GET["foo"], $_POST["foo"], $_COOKIE["foo"] or $_FILES["foo"], depending
; on where the input originates.  Also, you can look at the
; import_request_variables() function.
; Note that register_globals is going to be depracated (i.e., turned off by
; default) in the next version of PHP, because it often leads to security bugs.
; Read http://php.net/manual/en/security.registerglobals.php for further
; information.
; - display_errors = Off   [Security]
; With this directive set to off, errors that occur during the execution of
; scripts will no longer be displayed as a part of the script output, and thus,
; will no longer be exposed to remote users.  With some errors, the error message
; content may expose information about your scri

php-install Digest 25 Jul 2003 08:09:55 -0000 Issue 1474

2003-07-25 Thread php-install-digest-help

php-install Digest 25 Jul 2003 08:09:55 - Issue 1474

Topics (messages 11337 through 11339):

RH9, Apache, PHP
11337 by: Joseph A. Feustle, Jr.

Problem Installing On XP
11338 by: Joe Giles
11339 by: Seung Hwan Kang

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 ---
Thanks to those who replied to my question. I played around with it some more and 
found out that it was indeed working just fine. It was an "ESO" error: equipment 
superior to operator.

Joe Feustle--- End Message ---
--- Begin Message ---
List,

I am new to PHP and Apache in a Win32 environment, I usually set these
things up in Linux, but we are evaluating PHP and APACHE for Win32. I
installed and configured Apache and it works like it should. The problem
is with PHP. I installed it according the the txt file, but when I test
the apache httpd.conf file it complains about not being able to locate the
php4apache.dll file. I also followed the recommendation in the txt file
about how to fix that and still no go. The files php4apache.dll and
php4ts.dll, along with ALL the other dlls were places in the search path
(c:\windows c:\windows\system32) but still no go.

Is there a magical way to make this work?

Thanks for the assistance
--
Joe Giles
[EMAIL PROTECTED]
AOL: mcigiles

---
Registered Linux User #264910 http://counter.li.org
---


--- End Message ---
--- Begin Message ---
from PHP manual - apache 1.x module install

1. If you would like to use PHP as a module in Apache, be sure to copy 
php4ts.dll to the windows/system (for Windows 9x/Me), winnt/system32 
(for Windows NT/2000) or windows/system32 (for Windows XP) directory

2. Open httpd.conf with your favorite editor and locate the LoadModule 
directive and add the following line at the end of the list:

LoadModule php4_module c:/php/sapi/php4apache.dll

3. add the following line at the end of the list:

AddType application/x-httpd-php .php.
AddType application/x-httpd-php-source .phps.
4. (re)start apache

Joe Giles wrote:

List,

I am new to PHP and Apache in a Win32 environment, I usually set these
things up in Linux, but we are evaluating PHP and APACHE for Win32. I
installed and configured Apache and it works like it should. The problem
is with PHP. I installed it according the the txt file, but when I test
the apache httpd.conf file it complains about not being able to locate the
php4apache.dll file. I also followed the recommendation in the txt file
about how to fix that and still no go. The files php4apache.dll and
php4ts.dll, along with ALL the other dlls were places in the search path
(c:\windows c:\windows\system32) but still no go.
Is there a magical way to make this work?

Thanks for the assistance
--
Joe Giles
[EMAIL PROTECTED]
AOL: mcigiles
---
Registered Linux User #264910 http://counter.li.org
---


--- End Message ---


php-install Digest 25 Jul 2003 21:08:04 -0000 Issue 1475

2003-07-25 Thread php-install-digest-help

php-install Digest 25 Jul 2003 21:08:04 - Issue 1475

Topics (messages 11340 through 11342):

Re: How to make php work with apache
11340 by: Roberto Gonzalez Sierra
11341 by: Roberto Gonzalez Sierra

Fresh install - apache coredumps when I use php_value
11342 by: jeff thomas

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 again,

I'm using Mandrake 8.2 and I have problems with Apache and PHP.

I have compiled my Apache 2.0.47 with the command in part B of this
message. I have tried if it works, and all is ok, it shows me my html pages.
Then I have installed these RPMs:

php-gd-4.1.2-1mdk, php-mysql-4.1.2-2mdk, php-common-4.1.2-1mdk,
mod_php-4.1.2-1mdk, php-imap-4.1.2-1mdk, php-readline-4.1.2-1mdk,
php-4.1.2-1mdk, php-ldap-4.1.2-1mdk

I have put the config lines in my httpd.conf file, in order to run PHP
pages, but It doesn't work. Can someone help me??

Thanks a lot

Roberto Gonzalez


PART B

./configure --mandir=/usr/share/man --sysconfdir=/etc/httpd/conf --includedi
r=/usr/include/httpd --libexecdir=/usr/lib/httpd/modules --datadir=/home/htt
pd --localstatedir=/var --with-mpm=prefork --enable-access=shared --enable-a
ctions=shared --enable-alias=shared --enable-auth=shared --enable-auth-dbm=s
hared --enable-auth-digest=shared --enable-autoindex=shared --enable-cern-me
ta=shared --enable-cgi=shared --enable-cgid=shared --enable-dav=shared --ena
ble-dav-fs=shared --enable-dir=shared --enable-env=shared --enable-expires=s
hared --enable-file-cache=shared --enable-headers=shared --enable-include=sh
ared --enable-log-config=shared --enable-mime=shared --enable-mime-magic=sha
red --enable-negotiation=shared --enable-rewrite=shared --enable-setenvif=sh
ared --enable-speling=shared --enable-ssl=shared --enable-unique-id=shared -
-enable-usertrack=shared --enable-vhost-alias=shared --enable-suexec=shared 
--with-suexec-caller=www --with-suexec-docroot=/home/httpd --with-suexec-log
file=/var/log/httpd/suexec.log --with-suexec-bin=/usr/sbin/suexec --with-sue
xec-uidmin=500 --with-suexec-gidmin=500 --disable-auth-anon --disable-charse
t-lite --disable-disk-cache --disable-mem-cache --disable-cache --disable-de
flate --disable-ext-filter --disable-case-filter --disable-case-filter-in --
disable-example --disable-proxy --disable-proxy-connect --disable-proxy-ftp 
--disable-proxy-http --disable-status --disable-asis --disable-info --disabl
e-imap --disable-userdir --with-z --with-ssl --with-suexec

"Jacob A. Van Zanen" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
>
> Hi,
>
>
>
> What is your OS?
>
>
>
> Jacob A. van Zanen
> Oracle DBA
>
>
>


--- End Message ---
--- Begin Message ---
Hi,

I have the same problem...

I have a Mandrake 8.2 installed. This week, I downloaded Apache 2.0.47, and
compiled It. Then I installed the RPMs of the PHP that the Mandrake 8.2 CDs
have. The version is 4.1.2.

I have runned Apache2 and it runs ok. I can see my html pages. If I run PHP
from command line It runs ok

But when I have tried to see a PHP page in my Apache2, It doesn't interpret
the php, it gives me a window asking me if I want to download the page.

what have I done wrong?

How can I get that my Apache2 interpret PHP pages?

thanks...



"Jacob A. Van Zanen" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
>
> Hi,
>
>
>
> What is your OS?
>
>
>
> Jacob A. van Zanen
> Oracle DBA
>
>
>
>
> -Original Message-
> From: skumar [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 24, 2003 4:13 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] How to make php work with apache
>
>
> Hello,
> I am newbie to PHP. I have installed php but i don't know, how to make
> it work with apache. I will grateful if someone can give some pointersof
> web page or any tips.
>
> Thanks
> kumar
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


--- End Message ---
--- Begin Message ---
when i set php_value in my httpd.conf, and i run
apachectl configtest (or try to start apache), it core
dumps/seg faults but if i comment out that
php_value, it starts fine 

when php_value is used in a .htaccess file, the httpd
child process core dumps. when the php_value line is
removed, it works fine.

this is a fresh install on freebsd... 

The php_value option I'm using are the php_value
auto_prepend_file

This works fine on similar boxes...

any idea how to aleviate the problem?

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
--- End Message ---


php-install Digest 26 Jul 2003 10:35:25 -0000 Issue 1476

2003-07-26 Thread php-install-digest-help

php-install Digest 26 Jul 2003 10:35:25 - Issue 1476

Topics (messages 11343 through 11346):

Re: PHP 5 Beta 1  - mysql 4.0.12 error: "Fatal error: Call to undefined function: 
mysql_connect() in D:\pub\mysqltest.php on line 6"
11343 by: Comex

Re: How to make php work with apache
11344 by: Comex

Urgent help reqd: ORA_LOGON failure:
11345 by: agarwal, nitinkumar

Compile problem...
11346 by: Chris Richards

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 ---
<[EMAIL PROTECTED]>
Jeremy Oliver:
>> I have just recently installed PHP beta 5 on Windows XP Pro and I am
>> having problems connecting to mysql, phpinfo() works fine but it
>> looks
>> as though it is not loading any mysql modules even though PHP install
>> file says this is now built in.When I run attached mysql connect
>> test I
>> get error
>>
>> "Fatal error: Call to undefined function: mysql_connect() in
>> D:\pub\mysqltest.php on line 6"
>>

There is no mysql support in PHP5 beta, because of licensing issues.  There
will be though in later versions of course!


--- End Message ---
--- Begin Message ---
<[EMAIL PROTECTED]>
Skumar:
> Hello,
> I am newbie to PHP. I have installed php but i don't know, how to
> make it work
> with apache. I will grateful if someone can give some pointersof web
> page or any
> tips.
>
> Thanks
> kumar

First of all, you seem to have hit Reply instead of Create Mail.  Second of
all, what operating system are you installing it to?
http://tinyurl.com/i2zu


--- End Message ---
--- Begin Message ---
> Hi,
> 
> Could you please help me to correct this problem I'm getting while connecting to 
> oracle database from php program.
>  
> I have installed 
> 1) IIS 5.0 on WIN 2000
> 2) PHP 4.3.2 and 
> 3) Oracle Enterprise Edition and Oracle 8i client with Net8 configuarion.
> 
> I get an sql prompt upon entering the login and password as scott tiger.
> I am also able to run php programs through my browser.
> But when I try to connect to the oracle database through php prog, I get an error
> 
> The prog i run is:
>  $connection = Ora_Logon ("scott", "tiger");
> if ($connection == false){
> echo "Here is the returned value $connection";
> echo Ora_ErrorCode().": ".Ora_Error()."";
>  exit;
> }
> else 
> echo "Successful Logon\n"; 
> ?>
> 
> The output:
> Warning: Oracle: Connection Failed: in c:\inetpub\wwwroot\oratest.php on line 2
> Here is the returned value 0: 
> I ran it at the command prompt:
> C:\Inetpub\wwwroot>oratest.php
> Warning:  Oracle: Connection Failed: ORA-12560: TNS:protocol adapter 
> error
>  in C:\Inetpub\wwwroot\oratest.php on line 2
> Here is the returned value 12560: ORA-12560: TNS:protocol adapter error
> 
> 
> Here is the copy of tnsnames.ora and listener.ora file from dir 
> D:\oracle\ora81\network\ADMIN
> Listener.ora
> # LISTENER.ORA Network Configuration File: D:\oracle\ora81\network\admin\listener.ora
> # Generated by Oracle configuration tools.
> 
> LISTENER =
>   (DESCRIPTION_LIST =
> (DESCRIPTION =
>   (ADDRESS_LIST =
> (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
>   )
>   (ADDRESS_LIST =
> (ADDRESS = (PROTOCOL = TCP)(HOST = S2-61-052-33051)(PORT = 1521))
>   )
> )
> (DESCRIPTION =
>   (PROTOCOL_STACK =
> (PRESENTATION = GIOP)
> (SESSION = RAW)
>   )
>   (ADDRESS = (PROTOCOL = TCP)(HOST = S2-61-052-33051)(PORT = 2481))
> )
>   )
> 
> SID_LIST_LISTENER =
>   (SID_LIST =
> (SID_DESC =
>   (SID_NAME = PLSExtProc)
>   (ORACLE_HOME = D:\oracle\ora81)
>   (PROGRAM = extproc)
> )
> (SID_DESC =
>   (GLOBAL_DBNAME = nitin.tcs)
>   (ORACLE_HOME = D:\oracle\ora81)
>   (SID_NAME = nitin)
> )
>   )
> 
> 
> tnsnames.ora
> # TNSNAMES.ORA Network Configuration File: D:\oracle\ora81\network\admin\tnsnames.ora
> # Generated by Oracle configuration tools.
> 
> INST1_HTTP =
>   (DESCRIPTION =
> (ADDRESS_LIST =
>   (ADDRESS = (PROTOCOL = TCP)(HOST = S2-61-052-33051)(PORT = 1521))
> )
> (CONNECT_DATA =
>   (SERVER = SHARED)
>   (SERVICE_NAME = nitin.tcs)
>   (PRESENTATION = http://admin)
> )
>   )
> 
> EXTPROC_CONNECTION_DATA =
>   (DESCRIPTION =
> (ADDRESS_LIST =
>   (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
> )
> (CONNECT_DATA =
>   (SID = PLSExtProc)
>   (PRESENTATION = RO)
> )
>   )
> 
> NITIN =
>   (DESCRIPTION =
> (ADDRESS_LIST =
>   (ADDRESS = (PROTOCOL = TCP)(HOST = S2-61-052-33051)(PORT = 1521))
> )
> (CONNECT_DATA =
>   (SERVICE_NAME = nitin.tcs)
> )
>   )
> 
> _
> 
> Please suggest what should I do to correct this bug.
> 
> Thanks in advance
> 
> Regards
> Nitin 
> 
> 
> 
--- End Message ---
--

php-install Digest 27 Jul 2003 03:07:34 -0000 Issue 1477

2003-07-26 Thread php-install-digest-help

php-install Digest 27 Jul 2003 03:07:34 - Issue 1477

Topics (messages 11347 through 11348):

Re: How to make php work with apache
11347 by: Comex

Re: Please Help: PHP and Apache Installation
11348 by: Seung Hwan Kang

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 ---
Senthill Kumar.V wrote:

Hello,

Thanks for your reply.

Here is the details:
 OS:  Red Hat Linux 9
 Apache: httpd-2.0.44
 PHP   : php-4.3.2
 Postgres  : postgresql-7.3.1
But I could not able to find any option to install apache with PHP.

lookin towards your reply

Thanks and Regards
SKumar
 

http://www.blazonry.com/scripting/install_apache.php looks relevant...

--- End Message ---
--- Begin Message ---


Wx wrote:

I have php version 5.0.0b1 installed and apache 2.046. I also have mySQL 4
4.013 installed on a windows XP home Computer.
MySQL works, PHP works and Apache works when the following lines are not
added to the httpd.con
LoadModule php4_module "C:/Program Files/Apache
 use php5_module instead of php4_module

Group/Apache2/PHP/sapi/php4apache2.dll"
AddType application/x-httpd-php .php


I changed the path to use \ but the result is the same:

1. When I restart apache from apavhe monitor the error message is " The
requested operation has failed"
when I start apache from comand line: C:\Program Files\Apache
Group\Apache2\bin>apache
"Syntax error on line 988 of C:/Program Files/Apache
Group/Apache2/conf/httpd.conf:
Can't locate API module structure `php4_module' in file C:/Program
Files/Apache Group/Apache2/PHP/sapi/php4apache2.dll: No error "
I had installed PHP in C:\PHP originally with same result. I have tried with
various versions of PHP and apache and the results have been the same.
To confirm the PHP is ok I run php -i at command prompt and usually get the
long stream of html codes.
Is there something I'm not doing correctly? Please help



--- End Message ---


php-install Digest 28 Jul 2003 08:19:59 -0000 Issue 1478

2003-07-28 Thread php-install-digest-help

php-install Digest 28 Jul 2003 08:19:59 - Issue 1478

Topics (messages 11349 through 11349):

Subject: Problems using mysql.so with PHP
11349 by: Luis Navarro

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've built DBI 1.37 and DBD::mysql 2.9002 successfully, but am having
problems running it on Apache 1.3.27 with PHP 4.3.2 and MySQL 4.0.13 on
Solaris 9 x86.  When I restart Apache after placing mysql.so in the
correct place and telling php.ini about it, I get the following:

PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/local/apps/php_v4.3.2/lib/php/extensions/mysql.so' - ld.so.1:
/usr/local/apps/apache_v1.3.27/bin/httpd: fatal: relocation error: file
/usr/local/apps/php_v4.3.2/lib/php/extensions/mysql.so: symbol
PL_sv_yes: referenced symbol not found in Unknown on line 0

>From what I can tell, PL_sv_yes is a symbol from libperl.so.  I tried
putting libperl.so and libperl.so.1 in /usr/lib, but it still doesn't
get found.  I've been banging my head on this for hours and would really
appreciate any help.

Thanks,

 Luis

--- End Message ---


php-install Digest 28 Jul 2003 20:31:59 -0000 Issue 1479

2003-07-28 Thread php-install-digest-help

php-install Digest 28 Jul 2003 20:31:59 - Issue 1479

Topics (messages 11350 through 11354):

/usr/var/lib
11350 by: Moritz Steiner
11354 by: Michael Mauch

problems with environment variables
11351 by: George L. Yermulnik
11353 by: Michael Mauch

Problem installing PHP 4.3.2 and Apache 2.0.47 on ia64
11352 by: Dino Ciuffetti

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 don't want that the usr/var/lib directory is used during the
installation, but even with -prefix and -exec-prefix I cannot prevent
the installation procedure of using this directory.
Does someone know how to do this?
 
Moritz
 
--- End Message ---
--- Begin Message ---
Moritz Steiner wrote:

> I don't want that the usr/var/lib directory is used during the
> installation, but even with -prefix and -exec-prefix I cannot prevent
> the installation procedure of using this directory.
> Does someone know how to do this?

Do you mean /usr/local/lib? Did you try --prefix (i.e. with two dashes)?

Regards...
Michael

P.S.: Can you please turn off sending that superfluous HTML attachment?
--- End Message ---
--- Begin Message ---
Hello!

I've got FreeBSD 4.8 Stable, Apache/1.3.27 (Unix) mod_throttle/3.1.2 
PHP/4.3.3RC1 rus/PL30.17 and PHP 4.3.3RC1

It's a newly installed server with a lot of virtual hosts using 
environment variables like $REQUEST_URI in php scripts.

The problem is that PHP doesn't show those variables, saying "Notice: 
Undefined variable: REQUEST_URI in ..."

register_globals in /usr/local/etc/php.ini is On

I've tried to install PHP 4.3.2 and 4.3.1, but the result is negative too =(

I know I should be using variables like "$_SERVER[REQUEST_URI]", but 
it's a real problem to explain that to my users. They really want their 
scripts to keep using just $REQUEST_URI or $QUERY_STRING etc.

Is there any ideas how should the problem be fixed?

thanx in advance for helping

--
[EMAIL PROTECTED]
[YZ-RIPE]
--- End Message ---
--- Begin Message ---
George L. Yermulnik wrote:

> I've got FreeBSD 4.8 Stable, Apache/1.3.27 (Unix) mod_throttle/3.1.2 
> PHP/4.3.3RC1 rus/PL30.17 and PHP 4.3.3RC1
> 
> It's a newly installed server with a lot of virtual hosts using 
> environment variables like $REQUEST_URI in php scripts.
> 
> The problem is that PHP doesn't show those variables, saying "Notice: 
> Undefined variable: REQUEST_URI in ..."
> 
> register_globals in /usr/local/etc/php.ini is On

Please make sure that /usr/local/etc/php.ini is indeed the php.ini that
is used by your PHP. To find out, you can write a PHP script with the
line:



and put that file on your web server and look at it with a browser. The
output should have an entry "Configuration File (php.ini) Path".

Regards...
Michael

--- End Message ---
--- Begin Message ---

Hello,
I tried to install php 4.3.2 and apache 2.0.47 on a RedHat 2.1AS, platform 
ia64.


apache2 installation:

$ export CFLAGS="-O3 -fomit-frame-pointer -finline-functions -fcaller-saves"
$ ./configure --prefix=/opt/pul/httpd-2.0.47 --enable-mods-shared=all
$ make
$ make install
$ /opt/pul/httpd-2.0.47/bin/apachectl -k start

and ALL is ok.

Now I tried to compile php!!!

$ unset CFLAGS
$ './configure' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' 
'--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' 
'--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' 
'--libexecdir=/usr/libexec' '--localstatedir=/var' 
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man' 
'--infodir=/usr/share/info' '--cache-file=../config.cache' 
'--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' 
'--enable-force-cgi-redirect' '--disable-debug' '--enable-pic' 
'--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db3' 
'--with-curl' '--with-dom=/usr' '--with-exec-dir=/usr/bin' 
'--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd' 
'--enable-gd-native-ttf' '--with-ttf' '--with-gdbm' '--with-gettext' 
'--with-ncurses' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' 
'--with-openssl' '--with-png' '--with-pspell' '--with-regex=system' 
'--with-xml' '--with-expat-dir=/usr' '--with-zlib' '--with-layout=GNU' 
'--enable-bcmath' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' 
'--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' 
'--enable-discard-path' '--enable-track-vars' '--enable-trans-sid' 
'--enable-wddx' '--without-oci8' '--with-pear=/usr/share/pear' 
'--with-imap=shared' '--with-imap-ssl' '--with-kerberos=/usr/kerberos' 
'--with-ldap=shared' '--with-mysql=shared,/opt/pul/mysql' 
'--with-pgsql=shared' '--with-snmp=shared,/usr' '--with-snmp=shared' 
'--enable-ucd-snmp-hack' '--with-unixODBC=shared' '--e

  1   2   3   4   5   6   7   8   9   10   >