To all who contributed to this thread, many thanks...
I tried all the suggestions offered but still had the same problem.
Today I copied php.ini-dist over to /etc, restarted Apache and
everything works. This process was repeated many times during the last
day or so, so I don`t know what happened t
Is there a .htaccess file in (or above) the directory that the script is
in? If so, look to see if safe mode is turned on there.
Chris Blake wrote:
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 suggesti
I thought about it, but safe mode can be set only in php.ini or httpd.conf
Burhan Khalid wrote:
Chris Blake wrote:
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.
Chris Blake wrote:
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...
First, make sure to restart Apache after you do anything to php.ini
Secondly, when php.ini is a
Start here:
grep -r safe_mode /*
;)
Chris Blake wrote:
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 whe
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
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...
On Wed, 2003-10-08 at 15:23, Marek Kilimajer wrote:
> Then check your httpd.conf for php_(admin_)?(flag|value)
I checked it but there is nothing for php whatsoever.
--
Chris Blake
Support Consultant
Office : (011) 782-0840
Fax: (011) 782-0841
Mobile : 083 985 0379
Website: http://www.pbpc.co
Then check your httpd.conf for php_(admin_)?(flag|value)
Chris Blake wrote:
On Wed, 2003-10-08 at 15:02, Marek Kilimajer wrote:
I think that ALL files in other location are parsed, it does not need to
be named php.ini
I checked in /etc/php/ and it lists the following files :
23_gid.ini
26_i
On Wed, 2003-10-08 at 15:02, Marek Kilimajer wrote:
> I think that ALL files in other location are parsed, it does not need to
> be named php.ini
>
I checked in /etc/php/ and it lists the following files :
23_gid.ini
26_imap.ini
27_ldap.ini
34_mysql.ini and
41_readline.ini
All these files cont
I think that ALL files in other location are parsed, it does not need to
be named php.ini
Chris Blake wrote:
On Wed, 2003-10-08 at 14:51, Marek Kilimajer wrote:
Did you edit the right php.ini? Check out phpinfo() output for
"Configuration File (php.ini) Path"
Yep, tried that...it states /et
On Wed, 2003-10-08 at 14:51, Marek Kilimajer wrote:
> Did you edit the right php.ini? Check out phpinfo() output for
> "Configuration File (php.ini) Path"
>
Yep, tried that...it states /etc/php.ini, and lists other location of
/etc/php/, but that directory doesn`t contain a php.ini file
--
Did you edit the right php.ini? Check out phpinfo() output for
"Configuration File (php.ini) Path"
Chris Blake wrote:
On Wed, 2003-10-08 at 13:56, David Otton wrote:
However, is there any reason you're not using readdir()?
http://uk.php.net/manual/en/function.readdir.php
I`ve got a whole bu
On Wed, 2003-10-08 at 13:56, David Otton wrote:
> However, is there any reason you're not using readdir()?
>
> http://uk.php.net/manual/en/function.readdir.php
I`ve got a whole bunch of other stuff happening using shell_exec, eg
file searches etc
I changed php.ini entry for safemode=on , re
On 08 Oct 2003 13:25:51 +0200, you wrote:
>I`m using a shell_exec to get a list of files from a specified
>directory.
>
>When I run it locally on my machine i works. When I run it on the other
>machine I get
What Marek said.
However, is there any reason you're not using readdir()?
http://uk.php
safe mode is on, turn it off and restart webserver. Then you can check
directory permissions.
Chris Blake wrote:
Greetings learned PHP(eople);
I`m using a shell_exec to get a list of files from a specified
directory.
When I run it locally on my machine i works. When I run it on the other
machin
Greetings learned PHP(eople);
I`m using a shell_exec to get a list of files from a specified
directory.
When I run it locally on my machine i works. When I run it on the other
machine I get
=
Warning: shell_exec() [function.shell-exec]: Cannot execute using
backquotes in Safe Mode in /var/ww
Kalin --
Please don't hijack threads. This question has nothing to do with your
"last questions" regarding email address regular expressions. For that
matter, *that* had nothing to do with php and perl.
Mail and news messages have many headers, some of which serve to connect
messages together.
hello list,
what has to happened so this actually works:
$mstrng = shell_exec("/usr/sbin/zip 0041_27032003223711.zip
0041_27032003223711");
if php is compiled as a module with apache is the apache owner the one
that has to have writing permissions? if so - it does..
any help appreciated...
th
19 matches
Mail list logo