Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-21-2004, 04:11 AM   #1
LQ Newbie
Registered: Jan 2004
Location: Melbourne Australia
Distribution: RH9 XP
Posts: 10

Rep: Reputation: 0
PHP4 help!!

G'day Everyone,
I am trying to follow some instructions to install a music manager and the instructions tell me to 'Make sure PHP4 already works in the base directory of your MP3s'.
Well PHP has been installed to only work under my web server root directory at the moment. My question is what do i need to do to get this working in the base mp3 directory as the web root directory does not have the space available for my mp3's.

Old 01-21-2004, 08:30 AM   #2
Registered: Oct 2003
Distribution: Debian
Posts: 39

Rep: Reputation: 15
since your httpd probably chroots to your web directory(/var/www) a simple 'ln -s ...' will not do the trick.

Look into using 'mount --bind -o ro <mp3dir> <mount point somewhere beneath /var/www>'

This will effectively put your <mp3dir> in your web root directory. If this works, you can add this mount to your /etc/fstab file and the mount will occur automatically at startup.

Last edited by Tramontane; 01-21-2004 at 08:34 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help loading php4-gd with php4 already installed. (Debian) sdduuuude Linux - Software 3 10-24-2005 05:13 AM
Php5 >> Php4 Eric45008 Slackware 22 04-25-2005 07:37 PM
Enabling PHP4 Doug.Gentry Linux - General 5 04-01-2005 11:17 PM
Ifmonitor/GD/PHP4 help Astro Slackware 3 05-20-2003 07:01 PM
php4.3 orco77 Linux - Software 17 05-15-2003 07:06 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration