• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

PHP Safemode off does not work!! Also in Flag Mode

N

niceboy001

Guest
Hello,

i have a probleme with the PHP-Safemode in php.ini and Flag Options in Apache-Directions.

The problem is that I can not disable the Safemode in both ways:
1. php.ini: safe_mode=off
2. Plesk and Apache Options: php_admin_flag safe_mode off

The same problem is at register_globals off!

My Question is, what is the problem and how can i solve this?

This is my PHP Configure (4.4.4):
'./configure' '--prefix=/usr' '--with-apxs2=/usr/bin/apxs2' '--with-config-file-path=/etc/php4/apache2' '--enable-memory-limit' '--with-dom' '--with-mcrypt' '--disable-debug' '--with-regex=php' '--disable-rpath' '--disable-static' '--with-pic' '--enable-calendar' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-bcmath' '--enable-date' '--with-bz2' '--enable-ctype' '--enable-fpdf' '--enable-domxml' '--with-db4' '--with-mysql' '--with-imap-ssl' '--with-freetype=/usr/include/freetype2' '--with-curl=/usr' '--with-gd' '--with-png-dir=/usr/lib' '--with-jpeg-dir=/usr/lib' '--with-gif-dir=/usr/lib' '--with-tiff-dir=/usr/lib' '--with-swf-dir=/usr' '--with-ming' '--with-imap=/usr' '--with-jpeg-dir=/usr' '--with-tiff-dir=/usr/lib' '--with-iconv' '--enable-exif' '--enable-cli' '--enable-filepro' '--enable-ftp' '--with-gettext' '--enable-mbstring' '--enable-mbregex' '--with-pcre-regex=/usr' '--enable-shmop' '--enable-sockets' '--enable-wddx' '--disable-xml' '--with-expat-dir=/usr' '--with-xmlrpc' '--enable-yp' '--with-zlib' '--with-pgsql' '--with-kerberos=/usr' '--with-openssl=/usr' '--with-zip=/usr' '--enable-dbx' '--with-mime-magic=/usr/share/misc/file/magic.mime' '--with-exec-dir=/usr/lib/php4/libexec' '--with-mm' '--with-sybase-ct-dir=/usr' '--with-ldap'

Can anybody send me the default PHP configure with Functions that you had installed or compilled and that are correct run!

Greetings Bernhard
 
Safe_mode was moved to a "per domain" setting. Check the Setup section for the domain, and there should be an option to enable/disable safe_mode for the domain, right with the "enable php" and such.
 
Back
Top