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
 
Unread Codewalkers Forums Sponsor:
  #1  
Old October 9th, 2002, 06: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: 3
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, 12:09 PM
Matt Matt is offline
Contributing User
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 12 m 16 sec
Reputation Power: 7
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, 05: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: 3
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, 05:47 PM
Matt Matt is offline
Contributing User
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 12 m 16 sec
Reputation Power: 7
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!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

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




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek