You are here: Re: Enable exec() and system() « All PHP « IT news, forums, messages
Re: Enable exec() and system()

Posted by d43m0n AT shaw DOT ca on 10/11/99 11:55

Mateusz Markowski wrote:
> d43m0n AT shaw DOT ca napisal(a):
> > bdguy wrote:
> > > I need to anable exec() system() on my server as well !
> > > Have you found a solution which you can share ?
> > >
> > > Thanks,
> > > :confused:
> > >
> > >
> > > --
> > > bdguy
> > > ------------------------------------------------------------------------
> > > bdguy's Profile: http://techiegroups.com/member.php?userid=177
> > > View this thread: http://www.techiegroups.com/showthread.php?t=62083
> >
> > I've thought of doing teh same in the past, but I don't care for
> > hosting, so I don't really care, but you can use ini_set("safe_mode",
> > 0); See if that helps...
> It won't work, safe_mode can be set only in php.ini or httpd.conf.


So then use the method metioned on php.net...

[quote]
PHP_INI_SYSTEM can be configured per-directory by placing it inside a
per-directory block in httpd.conf.

# Selectively enable APC for wildly popular directories
# apc.enabled is Off in php.ini to reduce memory use
<Directory /usr/local/apache2/htdocs/forum>
php_flag apc.enabled On
</Directory>
[/quote]

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация