|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Question About Apache/Perl/mp3 Installs
Hi,
I posted here a while back about problems getting Apache-MP3 to work on my FreeBSD server. It appears that the problem was somehow related to the version of Apache I had installed. I ended up setting up a new machine and installing everything from scratch. Here's what I've done: Installed FreeBSD Ran cvsup Installed Apache 1.3 from the ports collection Installed Perl 5.8 from the ports collection Installed MySQL 4 from the ports collection Installed PHP 4 from the ports collection Installed Apache-MP3 from the ports collection When I try to access the "Songs" directory on my web server where the songs that Apache-MP3 is supposed to display are located, it doesn't work properly. It doesn't display the songs and their icons for streaming. I looked at the apache error log and noted the following two errors: Quote:
I'm thinking that these errors are the cause of my trouble. FreeBSD installed perl 5.005 by default, and as I said, I installed perl 5.8 from the ports collection. I know that Apache-MP3 requires perl 5.8. Is the problem I'm experiencing due to the fact that Apache isn't using perl 5.8 but is instead using 5.005? Should I try reinstalling apache? If so, is it possible to install if from the ports collection but at the same time tell it to configure using perl 5.8? Any other thoughts on what I should do? Thanks.....Doug |
|
#2
|
|||
|
|||
|
did you run the "use.perl" command?
|
|
#3
|
|||
|
|||
|
Hi, Steve,
I was hoping you'd see this message. You were quite helpful with my last series of posts. I'm not sure what you mean about running the "use.perl" command. When am I supposed to run that command? Doug |
|
#4
|
|||
|
|||
|
Okay...I think I know what you meant, now.
Right after I posted my last message, I remembered what use.perl was all about. It allows me to pick the installed Perl version I want to use. I issued the command and picked the new Perl. The Apache-mp3 still didn't work. I restarted the apache server and still no go. I'm currently deinstalling and reinstalling apache-mp3 to see if it'll work now that I've run the use.perl command.
I'll report back. :-) |
|
#5
|
|||
|
|||
|
Fixed One Not the Other
Hi,
I issued the "use.perl" command, and now another problem I was having is fixed (I couldn't get phpBB to run properly and now it does). Unfortunatly, the apache-mp3 program still won't. There's a line in the httpd.conf file that says "LoadModule mod_perl.so", and in my apache error logs it mentions not being able to unload that module when I restart the server. I did a find for that file and it appears nowhere on my machine. Is that a likely source for the apache-mp3 problem? If so, what do I need to do to get that file installed. On another note, while part of phpBB is working, when I try to configure it to use MySQL as its database type, it says it isn't supported by my PHP installation. Googling has led me to believe that PHP wasn't installed with mysql support. Which leads me to this question: If I am installing FreeBSD apps via the ports collection and by issuing "make install clean" commands, can I do any additional configuration of the install? For instance, can I install PHP from the ports collection but configure it to support MySQL? Thanks! |
|
#6
|
|||
|
|||
|
since you installed Perl rather than mod_perl try using the following in httpd.conf:
Code:
LoadModule perl_module libexec/apache/libperl.so AddModule mod_perl.c and comment out the line with the mod_perl.so --btw; did you do a rehash before "use.perl ports" Code:
rehash use.perl port (may not be too important, depending on your path settings.) -Steven Last edited by stevengs : September 2nd, 2004 at 05:54 AM. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > Question About Apache/Perl/mp3 Installs |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|