httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@swx.com>
Subject RE: [users@httpd] Apache 1.3 , Mod_ssl and need to add PHP
Date Fri, 20 May 2005 06:37:36 GMT
> -----Original Message-----
> From: Kory Wheatley [mailto:wheakory@gmail.com]
> Sent: Donnerstag, 19. Mai 2005 18:24
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Apache 1.3 , Mod_ssl and need to add PHP
> 
> 
> What if PHP is already installed and configured to our non-secure
> server?  Our secure server is running on a separate process, because
> of University procedures, (all leave it at that), and was not
> configured with PHP.

So you've already got PHP installed on another machine? 

Assuming the two apaches have mod_so installed, then you just proceed from point 14 on the
page I referenced - ie, load the php module in httpd.conf. You don't say whether the two servers
are on the same physical machine, or if two machines do they share a disk or whatever, so
I've no idea whether the two instances of apache can read the same libphp5.so file. You'll
have to figure out the details of letting the two apaches access the file (symlinks, ftp,
copy to a floppy and carry across the room, etc..). Note that the LoadModule directive assumes
that the path to the .so file is relative to the SERVER_ROOT.

Why don't you just try it?

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 


> 
> Here is how I installed our secure server
> ./configure --with-layout=Apache --prefix=/usr/local/apache
> --enable-module=most --enable-shared=max --enable-module=ssl
> 
> My question is how would I tie our  already installed version of php
> to our existing Secure Server, and  PHP would still need to be
> configured to our non-secure server?
> 
> On 5/19/05, Boyle Owen <Owen.Boyle@swx.com> wrote:
> > > -----Original Message-----
> > > From: Kory Wheatley [mailto:wheakory@gmail.com]
> > > Sent: Mittwoch, 18. Mai 2005 18:50
> > > To: users@httpd.apache.org
> > > Subject: [users@httpd] Apache 1.3 , Mod_ssl and need to add PHP
> > >
> > >
> > > I have an Apache 1.33 Mod SSL Server setup as a DSO, and  
> I need to
> > > add PHP  into the Apache configuration.. Currently I don't have
> > > MOD_PHP as one of the shared libraries, do I need to download the
> > > MOD_PHP and then load the module in the httpd.conf 
> configuration to
> > > setup php.
> > 
> > I guess you're running unix/linux... Then simple 
> instructions are here:
> > 
> http://php.benscom.com/manual/en/install.unix.php#install.unix.apache
> > 
> > You'd come in at step 9 since you already have apache installed.
> > 
> > BTW, installing PHP is not entirely trivial; there are some 
> prerequisites (further up the page above), particularly flex 
> and bison - make sure you have them available before you start.
> > 
> > > I need to know the steps I need to take, I hope I will not have to
> > > recompile Apache, because will I than have to purchase another SSL
> > > Certificate, because this is a production server.
> > 
> > You shouldn't need to recompile apache - since you compiled 
> it with mod_so the first time it's just a matter of loading 
> the PHP module. Incidentally, even if you do have to 
> recompile, you don't need to buy a new cert! (whatever gave 
> you that idea...)
> > 
> > Rgds,
> > Owen Boyle
> > Disclaimer: Any disclaimer attached to this message may be ignored.
> > 
> > 
> > 
> > >
> > > --
> > > Kory Wheatley
> > >
> > > 
> ---------------------------------------------------------------------
> > > The official User-To-User support forum of the Apache HTTP
> > > Server Project.
> > > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > > For additional commands, e-mail: users-help@httpd.apache.org
> > >
> > >
> > Diese E-mail ist eine private und persönliche 
> Kommunikation. Sie hat keinen Bezug zur Börsen- bzw. 
> Geschäftstätigkeit der SWX Gruppe. This e-mail is of a 
> private and personal nature. It is not related to the 
> exchange or business activities of the SWX Group. Le présent 
> e-mail est un message privé et personnel, sans rapport avec 
> l'activité boursière du Groupe SWX.
> > 
> > 
> > This message is for the named person's use only. It may 
> contain confidential, proprietary or legally privileged 
> information. No confidentiality or privilege is waived or 
> lost by any mistransmission. If you receive this message in 
> error, please notify the sender urgently and then immediately 
> delete the message and any copies of it from your system. 
> Please also immediately destroy any hardcopies of the 
> message. You must not, directly or indirectly, use, disclose, 
> distribute, print, or copy any part of this message if you 
> are not the intended recipient. The sender's company reserves 
> the right to monitor all e-mail communications through their 
> networks. Any views expressed in this message are those of 
> the individual sender, except where the message states 
> otherwise and the sender is authorised to state them to be 
> the views of the sender's company.
> > 
> > 
> ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP 
> Server Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> > 
> >
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message