php-install Digest 30 Oct 2001 05:27:46 -0000 Issue 529

Topics (messages 4783 through 4792):

Re: HELP! - Need PHP for Sun Solaris 8
        4783 by: Postill, Robert

Re: Oracle 9i
        4784 by: Brian Mauter

Re: How to run shell script ?
        4785 by: mike sears

APACHE 1.3 - PHP4 - WINDOWS 2000
        4786 by: Simon Thackeray
        4788 by: Jason Wood

OpenCA + Apache + x.509 Problems | TOUGH problems (fwd)
        4787 by: john.petbrain.com

PHP6 Interbase: fatal error
        4789 by: Manuel Rodriguez

Win ME install Error
        4790 by: scott.drummond100.freeserve.co.uk

PHP Install, I Have a Problem
        4791 by: saryono hs

calling html from php code.
        4792 by: Archer

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]


----------------------------------------------------------------------


Dennis,
The answer is twofold:
One get GNU tar from the solaris freeware site (i presume you know that one)
- that'll clear up your directory checksum error.
As for the precompiled version...I don't know of one.  Are you on Intel or
Sparc?
Robert.

-----Original Message-----
From: Dennis Olson [mailto:[EMAIL PROTECTED]]
Sent: 29 October 2001 15:54
To: [EMAIL PROTECTED]
Subject: [PHP-INST] HELP! - Need PHP for Sun Solaris 8


I need to find the version of PHP for Solaris 8. I need it already compiled,
because I can't find a C compiler for Solaris. (The GNU compiler GZ file
errored when trying to extract with "Directory Checksum Error")

Can someone please help me out on this?

Reply to: [EMAIL PROTECTED]

Thanks a million!



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


FT Knowledge - World Business Education

www.ftknowledge.com

The information in this email is confidential and may be legally privileged. It is 
intended solely for the addressee. Access to this email by anyone else is 
unauthorised. If you are not the intended recipient, any disclosure, copying, 
distribution or any action taken or omitted to be taken in reliance on it, is 
prohibited and may be unlawful.  Nothing in this email is intended to create a legally 
binding relationship and FT Knowledge will not accept responsibility for loss to any 
person acting or refraining from acting as a result of this email.




This topic was already covered on php-db, and here's the original post, my
reply, and the original author's comments as well.  HTH.

-Brian

<snip>
This is correct.  If you are using the CVS version of PHP then it will
auto-detect the Oracle 9i libraries if you configure with "--with-oci8"
as one of your options.  If you are using PHP 4.0.6 then you can
download a patch for PHP at http://www.cba.ua.edu/~spaff/ to allow it to
do the same thing.  Oracle didn't really change anything in their API
between 8.0.7.1 and 9, they just changed the names of the libraries to
go along with the new version number so the PHP oci8 functions work.

-Lee

Brian Mauter wrote:
>
> Use the Oracle 8 OCI functions.  A friend of mine modified the source and
> submitted it to the PHP developers, I'm not sure if it made it into the
> distro though.  If I can remember correctly, he just had to modify some
> paths to directories.
>
> -----Original Message-----
> From: C.H. [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 15, 2001 11:11 PM
> To: [EMAIL PROTECTED]
> Subject: PHP to Oracle9
>
> Hi, ALL!
> How can I connect from PHP to Oracle9
</snip>





you need to compile php as a binary, then all you need to do to run php
scripts at CLI is php -q "scriptname"


----- Original Message -----
From: "Perrin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 29, 2001 6:01 AM
Subject: [PHP-INST] How to run shell script ?


> Dear all,
>
> I would like to ask one question, on php program can call some shell
script program ? do you have some examples for me ? I tried to find on php
help, but nothing to find !
>
> Thank !
>





Hello,

I am trying to install php4 with apache 1.3 on w2k.
So far I only installed php on linux servers and I never experienced a
problem.

What I did so far:

I installed Apache in E:/APPS/Apache Group/Apache and unpacked the php
distibution to C:\PHP
I copied the php.ini to C:\WINNT.
I moved php4ts.dll to C:\WINNT\SYSTEM32

I added following lines to httpd.conf:

LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php

I stopped and restarted Apache.

I created a small file named test.php containing the line <? phpinfo() ?;>.

When I attempt to browse the file from Apache, the browser wants to download
the file instead of parsing it in php.

What have I done wrong?

Any help would be appreciated.

Many thanks

Simon Thackeray








I also added the following line to my httpd when i did this installation...

AddModule mod_php4.c

I think thats all that i did other than what you mentioned.
I hope this helps!!


--
Jason Wood
Chief Technology Officer
Expressive Tek, Inc.
407 Kehrs Mill Road
Ballwin, MO 63011
Phone 636.256.1362
www.expressivetek.com

"Simon Thackeray" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
>
> I am trying to install php4 with apache 1.3 on w2k.
> So far I only installed php on linux servers and I never experienced a
> problem.
>
> What I did so far:
>
> I installed Apache in E:/APPS/Apache Group/Apache and unpacked the php
> distibution to C:\PHP
> I copied the php.ini to C:\WINNT.
> I moved php4ts.dll to C:\WINNT\SYSTEM32
>
> I added following lines to httpd.conf:
>
> LoadModule php4_module c:/php/sapi/php4apache.dll
> AddType application/x-httpd-php .php
>
> I stopped and restarted Apache.
>
> I created a small file named test.php containing the line <? phpinfo()
?;>.
>
> When I attempt to browse the file from Apache, the browser wants to
download
> the file instead of parsing it in php.
>
> What have I done wrong?
>
> Any help would be appreciated.
>
> Many thanks
>
> Simon Thackeray
>
>
>
>






I am posting this to the PHP group because my content is croaking on php
content, Please see case 3 in the detailed description of this email.

This email has been posted to modssl and OpenCA new listings.

Environment: 

        Server
        --[Webserver]--
        Solaris v.7,8
        Apache 1.3.19
        mod_php 4.0.4
        mod_ssl 2.8.3(?)
        Cold Fusion (for Solaris 4.5)

        --[Certificate Authority Server]--
        OpenSSL 0.9.6a
        FreeBSD | 4.x
        OpenCA 0.2-4(?)
        

        Client(s) 
        ----------------
        Netscape (v.4.7x) under Windows & Solaris 
        


Problem: 

[ Generic Description ]

I generated Digital Certificats using OpenCA and OpenSSL
(x.509 PKCS#12 format [.p12 extension for my webbrowsers])
to use with my clients for authentication verification.

After I have the certificate installed (in Netscape and Internet
Exploader), I go to the following

        https://www.mysecure_client_website.com/

Request works perfectly on ALL platforms for Internet Explorer (gee no
suprise there, right?).

BUT... when I use Netscape v.4.76 (any 4.x version to be honest), to
visit the website, I am required to give my certificate to the host.

Whats interesting, though (and the root of many headaches as of late),
is that when I try to make ANOTHER request (Keepalive set to something
like 300 seconds) to the webserver off a link from the website's main
page I am ----> AGAIN <--- required to give my certificate to the host. 

This will happen even if I refresh my CURRENT page.

Here is the test cases in which I can duplicate the problem with:


[ Grainular Description (just being more specific) ]

Case 1: 

On plain static content request: 

        https://www.mysecure_website.com/index.html

Everything works fine. 
What I mean by static is, NO Cold Fusion markup, NO DHTML (I will get
back to this one in a second), and NO php.

Case 2:

Ok, first case works fine all the time, but doesn't prove to me things
are working. I put in an index.php page with a call to phpinfo().
For those of you who are not formiliar with php, bare with
me. phpinfo() is a function that can spit out all the information about
your server and would look something like this in my index.php page: 

        <?php echo phpinfo(); ?>

I make a request to the following website: 
        
        https://www.mysecure_website.com/index.php

*POOF* .. I was able to reproduce the problem. The request for my
certificate is made just fine. Transaction works fine. NOW, when I
refresh my page (remembering that keepalive is still 300 seconds - so
the Apache child that handled my request should still be alive)
I am required to enter my certificate again. This will happen for links,
as well as refresh.

At this point, I'm thinking its just Dynamic content with the modules
that is screwing with me, so I went back to my Cold Fusion DSO module
(DSO because Alliare is closed source remember?).

Case 3: 

Ok. I added Cold Fusion to the index.cfm page (changing the default
page from index.html to index.cfm in the httpd.conf file - I could have 
just removed index.html but that would have been to easey ;) ) I make a
request to something like this: 
        
        https://www.mysecure_website.com/index.cfm

The HOST asks for my Certificate, to which I present and everything is
dandy. EXCEPT, my DHTML now crashes my Netscape session and causes
Netscape to hang on BOTH Windows and Solaris (unsure of Linux -> but if 
it Solaris AND Windows but yack, I assume Linux will as well | note: I
add that my clients use Netscape AND Internet Explorer )


So, in closing, my problems are that Netscape bombs on DHTML w/
*.p12 certificates AND requires that I present my certificate more than
one time during a session with my webserver.

Help?!

John Waller
[EMAIL PROTECTED]

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]





Hello everyone,
I need some of your expertise in order to solve the following problem:

I compiled/Installed PHP406 in a Linux Mandrake box with interbase support,
compilation ok no errors to be served
as a module for Apache 1.3.20. Both compilations ran ok and server is up and
running. Phpinfo() shows everything as expected.

Later, for testing purposes I opened a php file (test1.php) :
<?

$link=ibase_connect("localhost:/home/data/testdatabase.gdb","MYLOGIN-STRING"
,"MYPWD-STRING");
 $qry='select fecha,venta from rates';
 $cli=ibase_query($link,$qry);
 print "<UL>";
 while($cliente=ibase_fetch_row($cli)) {
  print "<LI>".$cliente->fecha." " .$cliente->venta."
".$cliente->nombre."\n";
 }
 print "</UL>";
 ibase_close($link);
?>
----
the script connects to the database, generates the query and...
the ibase_fetch_row() dies at operating system level. every iteration
returns a blank line (no data) without any other indication of error.
Client applications connect and retrieve data form the same database/table
without trouble.

Checking http error_log I found this:
"[Mon Oct 29 15:54:14 2001] [notice] child pid 21515 exit signal
Segmentation fault (11)" on every call to the .php script  from my browser.

I tried uninstalling and recompiling/installing 3 times with the same
results...

No signs of error in PHP logs, system logs....
Any assistance will be appreciated.

thanks and best regards,

Manuel.Rodriguez
[EMAIL PROTECTED]










I have run  php406-installer.exe to install on my win ME PC with PWS (win ME
edition)
it runs fine on 2 other PC's but on one I get a
"One of the library files needed to run this application cannot be found. "
Error

Its installed to C:\php  with all the defaults

( I have also tried 405 with the same result)

Any thought would be greatly appreciated.

Scott Drummond







I have installed PHP on IIS are running PHP as CGI
and I tested with phpinfo() that running...but
how to use Oracle(OCI8i) Functions...
where I have assigned :
In PHP.INI

extensions_dir=c:\php\
extensions=php_oci8.dll

Thank's

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com




Hello everybody,


        I hope you can help me for my problem, Im solving this
for days and I dont know how to make this things really work.

I have this sample.html and sample.php files then as my html
is called then this php will be executed in the end of html file.
My main point is to go back to my html file so that I may be able
to find out the result of my php manipulation we say an image update
but this code below doesnt work and different from Refresh button.
When I press refresh button then it exactly refresh my display but
this code below is like only going back to previous page and never
update the image.

If somebody knows how to solve this problem please help me.

Thanks,
Archer

sample.php
------------------------------------------------------
<?php
graph(xcor,ycor)
{
:
:
}
graph($xcor,$ycor);
?>
<HTML>
<HEAD>
<META HTTP-EQUIV = "REFRESH" CONTENT = "3; URL=sample.html#refresh">
<TITLE>Page to Return you to Meta Tags</TITLE>
</HEAD>
<BODY>
This page will send you back to the Meta tags page after 3 seconds. If it
doesn't, <A HREF = "sample.html"> click here.
</A>.
</BODY>
</HTML
---------------------------------------------------------

sample.html
----------------------------------------------------------
>Submit</title>
<body tracingsrc="locator.png" tracingopacity="100">
<p><img src="locator.png" width="480" height="250"></p>
<p> </p>
<form action="locator.php" method="post">
  <p> </p>
  <p>X coordinate:
    <input type="text" name="xcor">
  </p>
  <p> Y coordinate:
    <input type="text" name="ycor">
  </p>
  <input type="image" src="locator.html" name="Submit">
</form>
----------------------------------------------------------


Reply via email to