Server Administration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesServer Administration

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
  #1  
Old October 9th, 2002, 05:33 AM
Nimco Nimco is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 132 Nimco User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to Nimco
FreeBSD, Apache & PHP4

Although I have done quite a lot of work with Apache running on windows, I have never used a *nix variant before. I decided to install and use FreeBSD on an old PC and use it as an Apache web server.

I set up FreeBSD OK, and I have got Apache 1.3.27 running on FreeBSD 4.4. However, when I go to install mod_php4, it returns an error as follows:
Quote:
Define WITH_APACHE2 to build mod_php4 as an apache2 module.:No such file or directory


What exactly does this mean - I don't have Apache 2 installed?!?

I tried to install Apache 2.0.43 to get around this problem, but it gives an error saying:
Quote:
OpenSSL ([1-9]+)|([0.9.[6-9][e-z])|(0.[1-9][0-9]+): not found ===> apache-2.0.43 requires OpenSSL 0.9.6e or higher. Upgrade your base system

However, when I looked on FreshPorts.org and the FreeBSD web site, I couldn't find where to download OpenSSL 0.9.6e from. If anyone could point me in the right direction or tell me what to do, that'd be great!

Thanks in advance.

Reply With Quote
  #2  
Old October 9th, 2002, 11:09 AM
Matt Matt is offline
Moderator
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 10 m 23 sec
Reputation Power: 6
RE: FreeBSD, Apache & PHP4

Are you installing from ports? If so, the first thing you should do is make sure that your ports tree is current.

1) install the net/cvsup port:
cd /usr/ports/net/cvsup
make install clean

2) copy /usr/share/examples/cvsup/ports-supfile to your home dir:
cp /usr/share/examples/cvsup/ports-supfile ~/

3) edit the ~/ports-supfile and put in a mirror near you:
here for mirrors

4) update ports tree:
cd ~
cvsup ports-supfile

5) wait for this to update. the first time around it could take awhile.


Then try and install the port again and see what happens....

Reply With Quote
  #3  
Old October 9th, 2002, 04:29 PM
Nimco Nimco is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 132 Nimco User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to Nimco
RE: FreeBSD, Apache & PHP4

My problem is that I can't seem to connect to the internet from that machine. It is on a network with the IP Address 192.168.0.4 and the internet connection is via 192.168.0.1 so I set the Gateway to that address.

However, I am unable to connect to the internet although I can FTP/telnet into the FreeBSD machine from other machines on the network, and ping other computers on the network from my FreeBSD machine.

As a result, I have been installing all the ports manually. Any ideas? Surely it's possible to install PHP4 without using Apache2 ?

Reply With Quote
  #4  
Old October 9th, 2002, 04:47 PM
Matt Matt is offline
Moderator
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 10 m 23 sec
Reputation Power: 6
RE: FreeBSD, Apache & PHP4

Yes, it is possible to install without Apache2. In fact, it is the default to go without Apache2. I believe what you are seeing is an infomational message "Define WITH_APACHE2 to build mod_php4 as an apache2 module." followed by an error message ":No such file or directory"

What steps are you taking to install the mod_php4 port? Because you don't have an internet connection, have you downloaded the other dependencies you will need?

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesServer Administration > FreeBSD, Apache & PHP4


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

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five &quot;checkpoints&quot; for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway