|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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:
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:
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. |
|
#2
|
|||
|
|||
|
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.... |
|
#3
|
|||
|
|||
|
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 ? |
|
#4
|
|||
|
|||
|
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? |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Server Administration > FreeBSD, Apache & PHP4 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|