LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   PHP4 help!! (https://www.linuxquestions.org/questions/linux-software-2/php4-help-137011/)

kman2045 01-21-2004 04:11 AM

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.

Cheers
kman2045

Tramontane 01-21-2004 08:30 AM

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.


All times are GMT -5. The time now is 06:22 PM.