PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 11th, 2000, 12:58 PM
DukeNM DukeNM is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 50 DukeNM User rank is Private First Class (20 - 50 Reputation Level)DukeNM User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
Send a message via ICQ to DukeNM
PHP
I am trying to install PHP3.0.16 ......during my installation process i ran through a bit of confusion. I have the tarred version of PHP extracted to my PHP3 dir. I tried to play safe and therefore checked up man pages and webmonkey site for installation procedures.
This is what i found on the Webmonkey site regarding install.

"........, let's get to Unix. Of
course, we'll be compiling from source code. As with MySQL,
download and unpack the source code. Again, PHP comes with a
configure script. You can't get away with going for defaults here,
though. Run ./configure -help | more to see pages and pages of new
and interesting options. You have to decide between compiling as a
CGI or as an Apache module. If you are using the Apache Web server
and you are able to recompile it, use the module: It's faster and
easier to use. Otherwise, you can go with the CGI version. We also
need to compile in MySQL support.

For now we'll assume that we're running the module with MySQL
support. If you want to add other options or other libraries, you
can do this later. Type:

./configure --with-apache=/path/to/apache/dir
--with-mysql=/usr/local/mysql

Skip the -with-apache option if you're creating a CGI version. The
configure process will run and produce the relevant system files.
Now simply type make again."

After reading this help file i fugured out that PHP would require MySQL and Apache support. MySQL is installed fine on my comp. My question is is Apache required.? Also if Apache does get installed with that above ./configure .... statementis it possible to remove it afterwards if i want it for a CGI version.

Reply With Quote
  #2  
Old May 11th, 2000, 09:05 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Your installed Mysql should remained intact.

>>If you are using the Apache Web server
and you are able to recompile it, use the module

Don't follow webmonkey's misleading and out of date procedures.. Dynamic Shared Object (DSO) Support has been out for quite a while. You can use 'apxs' without recompiling apache to get your PHP to work.

>>is it possible to remove it afterwards if i want it for a CGI version.
webmonkey explaining CGI version and compile to apache is misleading, don't follow it. Let me ask you something very simple, do you hava a web browser? If so, do the apache way.

Assuming you have both Mysql and Apache installed.
Configure PHP this way..
./configure --with-apache=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --with-system-regex

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPHP Development > Installing PHP3

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap