Safe_mode installation

"Michael Maymann" <[email protected]> Thu, 23 Oct 2003 16:34:11 +0200
Newsgroups gmane.comp.audio.netjuke.user
Message-ID <[email protected]>
Hi all,

Can anyone help me out ?
--------

||| vous avez écrit :>>>
hello,

try to ask to the mailing liste of netjuke, cause i can't help  you on that
problem, i am not develloper, i am just basic user, i had a similar problem
then i could give you some infirmation about your problem, but now i can't,
your question is too hard for me...

sorry,

good luck,

patrice

> I have copied a /usr/bin/tar to /home/web/web3644/musik/oscommands/tar
> (what was all i could find on a FreeBSD box with "which"). (i couldn't
find
> zip, stuff or vorbiscomment).
>
> Now it gives me the following:
> Warning: shell_exec(): Cannot execute using backquotes in Safe Mode in
> <mydir>/musik/installer/lib/inc-generate.php line 164
> Warning: shell_exec(): Cannot execute using backquotes in Safe Mode in
> <mydir>/musik/installer/lib/inc-generate.php line 167
> Warning: shell_exec(): Cannot execute using backquotes in Safe Mode in
> <mydir>/musik/installer/lib/inc-generate.php line 168
> Warning: mysql_pconnect(): Can't connect to local MySQL server through
> socket '/tmp/mysql.sock' (2) in
> <mydir>/musik/lib/adodb/drivers/adodb-mysql.inc.php on line 227
>
> So something has changed - which must be a good sign - but where to go
from
> here ?
> Can i find zip, stuff and vorbiscomment somewhere, and what about the
> mysql_pconnect error ?
>
>
> Thanks in advance
> Maymann
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of patrice
> Sent: 21. oktober 2003 11:28
> To: [email protected]
> Subject: Re: [Netjuke-users] RE: Safe_mode installation
>
> ||| Michael Maymann a écrit :>>>
> >
> > It gives me the following when running installer.php:
> > Warning: shell_exec(): Cannot execute using backquotes in Safe Mode in
> > <mydir>/musik/installer/lib/inc-generate.php line 164
> > Warning: shell_exec(): Cannot execute using backquotes in Safe Mode in
> > <mydir>/musik/installer/lib/inc-generate.php line 165
> > Warning: shell_exec(): Cannot execute using backquotes in Safe Mode in
> > <mydir>/musik/installer/lib/inc-generate.php line 166
> > Warning: shell_exec(): Cannot execute using backquotes in Safe Mode in
> > <mydir>/musik/installer/lib/inc-generate.php line 167
> > Warning: mysql_pconnect(): Can't connect to local MySQL server through
> > socket '/tmp/mysql.sock' (2)
> > in <mydir>/musik/lib/adodb/drivers/adodb-mysql.inc.php on line 227
>
> in archives i could find that (which could help me with a similar problem,
> and that resolved my problem, maybe there was something else, but i don't
> remember anymore):
>
> --------------------------------------------------------------------------
>
> > Warning: Cannot execute using backquotes in safe mode in
>
> /home/virtual/site3/fst/var/www/html/musics/installer/lib/inc-generate.php
>
>  > on line 164
>
>  The installer executes the following shell commands to determine where
>  certain programs are installed in installer/lib/inc-generate.php:
>
>  $zip = substr (`which zip`, 0, -1);
>  $tar = substr (`which tar`, 0, -1);
>  $stuff = substr (`which stuff`, 0, -1);
>  $vorbiscomment = substr (`which vorbiscomment`, 0, -1);
>
>  Apparently your php is configured in safe-mode which doesn't allow the
>  backticks `` to be used to execute shell-commands. You can either try
>  to replace to code with the following commands....
>
>  $zip = substr (exec("which zip"), 0, -1);
>  $tar = substr (exec("which tar"), 0, -1);
>  $stuff = substr (exec("which stuff"), 0, -1);
>  $vorbiscomment = substr (exec("which vorbiscomment"), 0, -1);
>
> --------------------------------------------------------------------------
>
> pat
>
> >   Hi all,
> >
> >   First of all thanks for a great product !!!!!
> >   How about making it a "plugin" to www.tikiwiki.org ? :-)
> >
> >   I am trying to install NetJuke on a safe_mode enabled webhosting
server
> > with only ftp and http access.
> >   It is currently installed on www.boxseat.dk/musik.
> >
> >   Can anyone help me out ?
> >
> >   Thanks in advance
> >   Maymann
>
> -------------------------------------------------------
> This SF.net email is sponsored by OSDN developer relations
> Here's your chance to show off your extensive product knowledge
> We want to know what you know. Tell us and you have a chance to win $100
> http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
> _______________________________________________
> Netjuke-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/netjuke-users



-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/