PHP.ini ignores PATH directive (Windows)
Hello, the php.ini file in my xampp installation is ignoring this PATH directive:
disable_functions = apache_child_terminate, apache_setenv, define_syslog_variables, escapeshellarg, escapeshellcmd, eval, exec, fp, fput, ftp_connect, ftp_exec, ftp_get, ftp_login, ftp_nb_fput, ftp_put, ftp_raw, ftp_rawlist, highlight_file, ini_alter, ini_get_all, ini_restore, inject_code, mysql_pconnect, openlog, passthru, php_uname, phpAds_remoteInfo, phpAds_XmlRpc, phpAds_xmlrpcDecode, phpAds_xmlrpcEncode, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, posix_setuid, posix_uname, proc_close, proc_get_status, proc_nice, proc_open, proc_terminate, shell_exec, syslog, system, xmlrpc_entity_decode, phpinfo
Putting it into quotes.
Taking out the C:/.
And even using relative paths.
Last edited by GB_001; 05-15-2011 at 02:12 AM.
What exactly are you trying to set? In the php.ini file, text in square brackets is only used as section markers and is ignored the same as commented text. In any case, PATH is not a valid php.ini setting item to the best of my knowledge. Do you want to set include_path, perhaps?
I'm including rules for a specific path as shown here: http://www.php.net/manual/en/ini.sections.php
Originally Posted by NogDog
It seems to be ignoring it though.
The manual says, "These sections are used only in CGI/FastCGI mode and they can not set extension and zend_extension directives." Does this apply to your situation (CGI/FastCGI)?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)