[PHP] Installing Php with Apache on Solaris

2003-10-01 Thread Donahue, Peter

I want to build Php(4.3.3) for Apache(1.3.28) on Solaris 8.
I am configuring Php with oci8 (Oracle) support.

Is it possible to build Php on system A, and then move the
files over to another Solaris 8 system and expect it to function
properly? I expect there to be a problem with the ORACLE_HOME
path, if it's not the same on the second system. But I believe I should
be able to solve that by 'export'ing ORACLE_HOME in the
apachectl file.

What I'm trying to do is build Apache and Php so that I can ship them
and install them along with my product.

Thanks for any help

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



Re: [PHP] Installing Php with Apache on Solaris

2003-10-01 Thread Ray Hunter
What you would want to do is build apache + php together with all the
libraries built into it. Unless you want the user to install the
libraries seperate. I have done this in the past however, you file is
going to be HUGE. 

Basically you have a file with everything that it needs in it and does
not use any system libraries.

As for your questions: yes you can do it.

--
Ray


On Wed, 2003-10-01 at 07:58, Donahue, Peter wrote:
 I want to build Php(4.3.3) for Apache(1.3.28) on Solaris 8.
 I am configuring Php with oci8 (Oracle) support.
 
 Is it possible to build Php on system A, and then move the
 files over to another Solaris 8 system and expect it to function
 properly? I expect there to be a problem with the ORACLE_HOME
 path, if it's not the same on the second system. But I believe I should
 be able to solve that by 'export'ing ORACLE_HOME in the
 apachectl file.
 
 What I'm trying to do is build Apache and Php so that I can ship them
 and install them along with my product.
 
 Thanks for any help

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



RE: [PHP] Installing Php with Apache on Solaris

2003-10-01 Thread Ray Hunter
You build apache with php statically linked instead of dynamically
linked.

Check the apache documentation on statically linking apache and php
(module).

I would venture to say that oracle libraries should not be shipped. They
are proprietary code and the user needs to install them. Your oracle
libraries should be installed by the user. However, I would suggest
checking with oracle on this.

--
Ray


On Wed, 2003-10-01 at 08:12, Donahue, Peter wrote:
 How would I build them with all of the libraries?
 Also - is it OK for me to ship Oracle libraries to
 customers to install on a system that may not have
 Oracle installed (tho they must have an Oracle server
 installed somewhere in their network for the product
 to actually do anything).
 
 Thanks,
 
 What you would want to do is build apache + php together with all the
 libraries built into it. Unless you want the user to install the
 libraries seperate. I have done this in the past however, you file is
 going to be HUGE. 
 
 Basically you have a file with everything that it needs in it and does
 not use any system libraries.
 
 As for your questions: yes you can do it.
 
 --
 Ray
 
 
  I want to build Php(4.3.3) for Apache(1.3.28) on Solaris 8.
  I am configuring Php with oci8 (Oracle) support.
  
  Is it possible to build Php on system A, and then move the
  files over to another Solaris 8 system and expect it to function
  properly? I expect there to be a problem with the ORACLE_HOME
  path, if it's not the same on the second system. But I believe I should
  be able to solve that by 'export'ing ORACLE_HOME in the
  apachectl file.
  
  What I'm trying to do is build Apache and Php so that I can ship them
  and install them along with my product.
  
  Thanks for any help
 
 

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



[PHP] Installing PHP on Apache 2 and FreeBSD

2003-01-31 Thread Jacob Bolton
Hey all,

Here's the situation.  I'm on a server running FreeBSD and Apache 2.
Someone else installed both.  There is software that is running on this
server, that I'm sure is dependent on certain options being compiled into
Apache.

I'm trying to install PHP on the server to make life a little easier with
some scripting.  I don't think SO is compiled into Apache and that obviously
keeps me from compiling PHP as an apache mod.

But if I complile apache and don't include options that are needed for the
software, I'll obviously break the software.

So my question is, is there a way to see what options are compiled into
Apache, so that if I recompiled it, I could make sure to include the current
options that are compiled now?  Thanks in advance everyone!

Jacob Bolton




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




Re: [PHP] Installing PHP on Apache 2 and FreeBSD

2003-01-31 Thread Chris Hewitt
Jacob Bolton wrote:



But if I complile apache and don't include options that are needed for the
software, I'll obviously break the software.

So my question is, is there a way to see what options are compiled into
Apache, so that if I recompiled it, I could make sure to include the current
options that are compiled now?  Thanks in advance everyone!



httpd -l will show options statically compiled.

HTH
Chris


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




[PHP] Installing PHP with Apache and Sybase on Linux

2002-05-17 Thread Vivek Kumar Agrawal

Hi All,

Can somebody tell me how to install
PHP with Apache and Sybase on Suse linux.

It would be great help for me.

Regards,
Vivek



Re: [PHP] Installing PHP with Apache and Sybase on Linux

2002-05-17 Thread Jason Wong

On Friday 17 May 2002 18:44, Vivek Kumar Agrawal wrote:
 Hi All,

 Can somebody tell me how to install
 PHP with Apache and Sybase on Suse linux.

 It would be great help for me.

There is a list specifically for php installation issues.

-- 
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *

/*
I'd like to meet the guy who invented beer and see what he's working on now.
*/


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




Re: [PHP] Installing PHP with Apache and Sybase on Linux

2002-05-17 Thread Vivek Kumar Agrawal

Hi Jason,

Thanx for your prompt response.

Can you guide me how to install PHP with Apache and Sybase on Linux.

Regards,
Vivek

- Original Message -
From: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 17, 2002 4:27 PM
Subject: Re: [PHP] Installing PHP with Apache and Sybase on Linux


 On Friday 17 May 2002 18:44, Vivek Kumar Agrawal wrote:
  Hi All,
 
  Can somebody tell me how to install
  PHP with Apache and Sybase on Suse linux.
 
  It would be great help for me.

 There is a list specifically for php installation issues.

 --
 Jason Wong - Gremlins Associates - www.gremlins.com.hk
 Open Source Software Systems Integrators
 * Web Design  Hosting * Internet  Intranet Applications Development *

 /*
 I'd like to meet the guy who invented beer and see what he's working on
now.
 */


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



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




[PHP] installing php with apache rpm (rh linux 7.2)???

2001-12-27 Thread Duane Douglas

hi gang!

i have an apache rpm installed.  stuff will break if i uninstall it.  how 
do i install php to work with it?

tia

Duane Douglas
ASP / SQL Server Tutoring and Training


-- 
PHP General 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]




Re: [PHP] installing php with apache rpm (rh linux 7.2)???

2001-12-27 Thread Brian Clark

* Duane Douglas ([EMAIL PROTECTED]) [Dec 27. 2001 13:24]:

 i have an apache rpm installed.  stuff will break if i uninstall it.  how 
 do i install php to work with it?

You can download the source tarball from php.net. Then configure it
--with-apxs to have it build an Apache DSO module. 

http://www.php.net/do_download.php?download_file=php-4.1.1.tar.gz

Download it, unpack it (tar -xzf php-4.1.1.tar.gz), and make your way 
through the INSTALL and README files.

tar -xzf php-4.1.1.tar.gz
cd php-4.1.1
less README
less INSTALL

Just remember, you want a DSO install because you don't want to fool
with Apache source, since you already have Apache installed via RPM.

IN the INSTALL file, start where it states:

QUICK INSTALL (DSO)

-- 
Brian Clark | Avoiding the general public since 1805!
Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8
We are all fugitives of our own fate.


-- 
PHP General 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]




[PHP] installing php with apache rpm???

2001-12-26 Thread Duane Douglas

hello,

i have an apache rpm installed.  stuff will break if i uninstall it.  how 
do i install php to work with it?

tia

Duane Douglas
ASP / SQL Server Tutoring and Training


-- 
PHP General 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]




[PHP] installing php on apache

2001-12-17 Thread Jeremiah Jester

i'm having trouble running php on my linux box running apache. the rpm is
installed but cant get my simple script to execute. What else do i need to
do. Edit php.ini? Edit httpd.conf? Peremissions? Apache runs fine by itself.
Thanks.
JJ


-- 
PHP General 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]




[PHP] installing php on apache

2001-11-17 Thread Douglas McKenzie

Hi,

I'm a newbie to php having been working with coldfusion for years.

Recently decided to test it out and have configured a box with Red Hat
Linux 7.1, kde, apache and mysql. These all seem to be running fine but
I can't seem to get a php page to translate.

Im assuming that the web root is var/www/html and I've placed a file
called index.php under that with a simple php? echo ? call. However it
just displays the full file rather than translating the call. What am I
doing wrong?

All help appreciated.

TIA

Doug


-- 
PHP General 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]