Page 1 of 1
popen() can't use
Posted: Sat Aug 03, 2002 12:54 pm
by ac3000
Hi everybody ! I got a problem with Postnuke 7.14. Since I use the modules MyDBbackup in Adminstration mode, but there is an error saying that
your server disabled popen() function in php4
how should I do to enable this function?
please help me!
Posted: Sat Aug 03, 2002 3:18 pm
by volka
Posted: Sat Aug 03, 2002 3:37 pm
by BDKR
What does Postnuke do that it want's to open a process?
Posted: Sun Aug 04, 2002 5:07 am
by ac3000
thank for your reply , but I wonder How can I know I'm in safe mode? and How can I open the popen() function restriction and make it work?

Posted: Sun Aug 04, 2002 5:59 am
by twigletmac
Run a file on your server that has:
to see how PHP is configured on your server.
Mac
Posted: Sun Aug 04, 2002 9:17 am
by ac3000
this is info() on my server. so what should I do?
http://acad.dynup.net/info.php
tks

Posted: Sun Aug 04, 2002 9:23 pm
by volka
from
Chapter 23. Safe Mode
(same link as above

)
The configuration directives that control safe mode are:
safe_mode = Off
safe_mode_gid = 0
safe_mode_include_dir =
safe_mode_exec_dir =
open_basedir =
safe_mode_allowed_env_vars = PHP_
safe_mode_protected_env_vars = LD_LIBRARY_PATH
disable_functions =
in php.ini
either your server is down or you haven't registered it again at the ip-service

register it ?
Posted: Mon Aug 05, 2002 10:18 am
by ac3000
Hi Voka
I recived your reply but I don't understand that
register it again at ip-service
what does it mean? what can I do ?

Posted: Mon Aug 05, 2002 12:16 pm
by volka
When I tried to visit
http://acad.dynup.net/info.php it was down and thought .dynup.net is a service like dyndns where you 'register' a dns-entry and update it with a client according to your current ip every time you dial up (like I do with kernschmelze.dyndns.org - only sometimes

). Should have marked this "btw:" or "---"
concerning your problem I suggested to open php.ini and see wether safe_mode is turned on or off. Try again with safe_mode = Off
Can't work
Posted: Tue Aug 06, 2002 12:10 am
by ac3000
Posted: Tue Aug 06, 2002 1:57 am
by twigletmac
ac3000 I edited your post because a whole bunch of text had been replaced with stuff like use so something had gone a bit nuts somewhere.
But to the problem in hand - it may be an idea to ask your host why popen() has been disabled. It could be that they've disabled it for security reasons.
Mac