I have got the following problem since the server has safe mode turned on, and directories are being created under different users:
I upload my script to the server, it shows as belonging to 'user1'. All it is doing is making a new directory when a new user is created so it can store files in it.
New directory is created, but it belong...
My computer has recently crashed and I can only run it in Safe Mode. I need to back up a SQL server 2005 database and transfer it a computer that works.
Is there anyway to run SQL server 2005 in Windows Vista Safe Mode?
...
I've recently gotten an error when I deployed an application. It used "is_readable" on a path within the include path, but one that was restricted by "open_basedir". This gave me a fatal error.
Is there another function that I could use to see if a file is includable, before actually including it?
Edit: this works, but how do I detect...
I need to write a script that will give users info on a given Unix account (the same Unix server that the script lives on). Mostly thing kinds of things that are in the passwd file or available via finger.
PHP is in safe-mode, so I can't access the passwd file via something built into php like file_get_contents(). Also, because it's in ...
how to code a PHP function who will check whether the mode of Apache is on safemode or not ?
...
I am hoping to find some more information about this PHP setting, I assume I need to change its value in the php.ini but I set the root the folder as /file/path/ or as http://www.domain.com/file/path?
Any advice would be great
...
I have a list of existing files that need to be; a) Stored in a temporary file, b) Modified, and c) Transferred to another server via FTP. All while the server is running in safe mode.
I can't use tmpfile(), because I still wouldn't be able to modify it, before sending it off.
Anyone come across this kind of problem and find a solution...
I have a clean install of a CentOs with php 5.2.13.
In php.ini that is loaded and present in the header of phpinfo() I have
safe_mode=off
in the phpinfo() information I have
// local value - safe_mode: On
// master value - safe_mode: off
the php file has only a phpinfo() function.
I am still looking for vhost file to see if any d...
Hello,
I know, it may sound ridiculous, but I can't turn off safe_mode. I'm using wkhtmltopdf (which is best html->pdf converter I've used, and yes, I tried html2ps, fpdf and lots of others). And it needs to be executed with exec() function. I've done
find / | grep php.ini,
found all of php.ini's and changed safe_mode to Off. Then ...
Even though I've set
safe_mode = Off
in php.ini, restarted apache, and even rebooted the system...
when I try to execute set_time_limit(0) in my application, it throws the warning that set_time_limit cannot be st in safe mode.
This has been erratic behavior; earlier when I set safe_mode to Off, the system worked fine. But later ...