PHP include_path主值来自哪里?
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了PHP include_path主值来自哪里?,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含3483字,纯文字阅读大概需要5分钟。
内容图文
![PHP include_path主值来自哪里?](/upload/InfoBanner/zyjiaocheng/783/1d7838927c6f4cf188f9355cb9443ed1.jpg)
通过phpinfo,我获得了include_path Master Value的以下内容.
.:/usr/share/pear:/usr/share/php
它似乎没有在任何地方设置… php ini已将所有include_path(s)注释掉,我的应用程序没有手动设置,apache conf / php conf /其他各种conf / ini不设置它,搜索时没有结果for set_include_path或phpvalue或ini_set等.
任何其他“include_path”的想法都可能被设置?我特别询问主人价值.
(我在CentOS 5.4上)
解决方法:
它是在构建时配置的.您可以通过查看phpinfo()输出中的Configure Command来了解如何配置PHP安装;
有关PHP配置选项的更多信息,请参阅PHP Installation and Configuration.此外,php-build — Builds multiple versions of PHP可能有所帮助或有意义.
Ubuntu用户请注意
您将在phpinfo输出中找不到configure命令,请参阅this bug marked as invalid.以下是错误报告中提到的代码的一些链接.
> “puruse” debian/rules
> 052-phpinfo_no_configure.patch
示例从phpinfo()配置命令:
配置Command => ‘./configure” – build = i686-redhat-linux-gnu” – host = i686-redhat-linux-gnu” – target = i386-redhat-linux-gnu” – program-prefix =” – prefix = / usr” – exec-prefix = / usr” – bindind = /usr/bin”–sbindir = /usr/sbin” – sysconfdir = / etc” – -datadir = /usr/share” – includedir = /usr/include” – libdir = /usr/lib” – libdcdir = /usr/libexec” – localstatedir = / var” – sharedstatedir = /usr/com” – mandir = /usr/share / man” – infodir = /usr/share / info” – cache-file = .. / config.cache” – with-libdir = lib” – with-config-file-path = / etc” – with-config-file-scan-dir = / etc / php.d” – disable-debug” – with-pic ” – disable-rpath” – without-pear” – with-bz2” – with-curl” – with-exec-dir = /usr/bin” – with-freetype- dir = / usr” – with-png-dir = / usr” – enable-gd-native-ttf” – without-gdbm” – with-gettext” – with-gmp” –with-iconv” – with-jpeg-dir = / usr” – with-openssl” – with-png” – with-pspell” – with-expat-dir = / usr ” – with-pcre-regex = / usr” – with-zlib” – with-layout = GNU” – enable-exif” – enable-ftp” – en able-magic-quotes” – enable-sockets” – enable-sysvsem” – enable-sysvshm”enable-sysvmsg”enable-track-vars”–enable-trans- sid” – enable-yp” – enable-wddx” – with-kerberos” – enable-ucd-snmp-hack” – with-unixODBC = shared,/ usr” – enable -memory-limit” – enable-shmop” – enable-calendar” – enable-dbx” – enable-dio” – with-mime-magic = /usr/share / file / magic .mime” – without-sqlite” – with-libxml-dir = / usr” – with-xml” – with-system-tzdata” – enable-force-cgi-redirect” –enable-pcntl” – with-imap = shared” – with-imap-ssl” – enable-mbstring = shared” – enable-mbstr-enc-trans” – enable-mbregex ” – with-ncurses = shared” – with-gd = shared” – enable-bcmath = shared” – enable-dba = shared” – with-db4 = / usr” – with-xmlrpc = shared” – with-ldap = shared” – with-ldap-sasl” – with-mysql = shared,/ usr” – with-mysqli = shared,/usr/lib / mysql / mysql_config” – enable-dom = shared” – with-dom-xslt = / usr” – with-dom-exslt = / usr” – with-pgsql = shared” – with -snmp = shared,/ usr” – enable-soap = s hared” – with-xsl = shared,/ usr” – enable-xmlreader = shared” – enable-xmlwriter = shared” – enable-fastcgi” – enable-pdo = shared” – -with-pdo-odbc = shared,unixODBC,/ usr” – with-pdo-mysql = shared,/usr/lib / mysql / mysql_config” – with-pdo-pgsql = shared,/ usr” – -with-pdo-sqlite = shared,/ usr” – enable-dbase = shared’
内容总结
以上是互联网集市为您收集整理的PHP include_path主值来自哪里?全部内容,希望文章能够帮你解决PHP include_path主值来自哪里?所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。