RE: [PHP] shell_exec question

From: Date: Wed, 08 Oct 2003 14:47:21 +0000
Subject: RE: [PHP] shell_exec question
Groups: php.general 
Request: Send a blank email to php-general+get-165447@lists.php.net to get a copy of this message
On 08 October 2003 15:19, Chris Blake contributed these pearls of wisdom: > On Wed, 2003-10-08 at 15:23, Marek Kilimajer wrote: >> Then check your httpd.conf for php_(admin_)?(flag|value) >> > > OK, so I`ve tried all the suggestions posted, thanks > guys...but then I went and deleted the php.ini file in /etc, > and still when I use phpinfo(); it gives me the usual phpinfo > page... > > So where is the info coming from...another php.ini located > somewhere else on my drive ? No, these will be PHP's built-in default values (which are the same as the ones in one of the php.ini-* included in the PHP distribution -- php.ini-dist, I think, but I could be wrong). The trick is to look at the phpinfo() output for Configuration file (php.ini) path -- if it only gives a directory's path (ending in /, without a php.ini filename on the end), than that is the path it is looking in, but there is no php.ini file there so the built-in defaults are being used. If it gives a full pathname ending with an actual filename, that is the file it is reading. Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: m.ford@lmu.ac.uk Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211

« previous php.general (#165447) next »