当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 7 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [问题]php4的默认安装路径是什么地方啊?
帖子发表于 : 2005-10-03 19:56 
头像

注册: 2005-09-28 22:10
帖子: 15
送出感谢: 0 次
接收感谢: 0 次
as title


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2005-10-03 20:06 
论坛管理员

注册: 2005-03-27 0:06
帖子: 10116
系统: Ubuntu 12.04
送出感谢: 7
接收感谢: 128
$ dpkg -L php4
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/php4

$ dpkg -L php4-common
/.
/usr
/usr/lib
/usr/lib/php4
/usr/lib/php4/libexec
/usr/lib/php4/maxlifetime
/usr/share
/usr/share/doc
/usr/share/doc/php4-common
/usr/share/doc/php4-common/examples
/usr/share/doc/php4-common/examples/php.ini
/usr/share/doc/php4-common/examples/php.ini-recommended
/usr/share/doc/php4-common/examples/php.ini-paranoid
/usr/share/doc/php4-common/CREDITS
/usr/share/doc/php4-common/TODO.gz
/usr/share/doc/php4-common/README.CVS-RULES.gz
/usr/share/doc/php4-common/README.EXT_SKEL.gz
/usr/share/doc/php4-common/README.Zeus.gz
/usr/share/doc/php4-common/README.Debian.gz
/usr/share/doc/php4-common/changelog.Debian.gz
/usr/share/doc/php4-common/changelog.gz
/usr/share/doc/php4-common/TODO.Debian
/usr/share/doc/php4-common/copyright
/usr/share/doc/php4-common/EXTENSIONS.gz
/usr/share/doc/php4-common/CODING_STANDARDS.gz
/usr/share/doc/php4-common/README.SELF-CONTAINED-EXTENSIONS.gz
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/php4-common
/var
/var/lib
/var/lib/php4
/etc
/etc/cron.d
/etc/cron.d/php4


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2005-10-03 20:13 
头像

注册: 2005-09-28 22:10
帖子: 15
送出感谢: 0 次
接收感谢: 0 次
那原来类似/usr/local/include/php
应该改为什么样的路径啊


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2005-10-03 20:28 
论坛管理员

注册: 2005-03-27 0:06
帖子: 10116
系统: Ubuntu 12.04
送出感谢: 7
接收感谢: 128
直接安装 libapache2-mod-php4 你的apache2就支持php了。

$ dpkg -L libapache2-mod-php4
/.
/etc
/etc/apache2
/etc/apache2/mods-available
/etc/apache2/mods-available/php4.load
/etc/apache2/mods-available/php4.conf
/etc/php4
/etc/php4/apache2
/usr
/usr/lib
/usr/lib/apache2
/usr/lib/apache2/modules
/usr/lib/apache2/modules/libphp4.so
/usr/lib/php4
/usr/lib/php4/20020429
/usr/share
/usr/share/doc
/usr/bin
/usr/share/doc/libapache2-mod-php4


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2005-10-03 20:31 
论坛管理员

注册: 2005-03-27 0:06
帖子: 10116
系统: Ubuntu 12.04
送出感谢: 7
接收感谢: 128
如果需要编译, 安装 php4-dev

$ dpkg -L php4-dev
/.
/usr
/usr/bin
/usr/bin/phpextdist4
/usr/bin/phpize4
/usr/bin/ext_skel4
/usr/bin/php-config4
/usr/include
/usr/include/php4
/usr/include/php4/Zend
/usr/include/php4/Zend/FlexLexer.h
/usr/include/php4/Zend/acconfig.h
/usr/include/php4/Zend/zend.h
/usr/include/php4/Zend/zend_API.h
/usr/include/php4/Zend/zend_alloc.h
/usr/include/php4/Zend/zend_builtin_functions.h
/usr/include/php4/Zend/zend_compile.h
/usr/include/php4/Zend/zend_config.w32.h
/usr/include/php4/Zend/zend_constants.h
/usr/include/php4/Zend/zend_dynamic_array.h
/usr/include/php4/Zend/zend_errors.h
/usr/include/php4/Zend/zend_execute.h
/usr/include/php4/Zend/zend_execute_globals.h
/usr/include/php4/Zend/zend_execute_locks.h
/usr/include/php4/Zend/zend_extensions.h
/usr/include/php4/Zend/zend_fast_cache.h
/usr/include/php4/Zend/zend_globals.h
/usr/include/php4/Zend/zend_globals_macros.h
/usr/include/php4/Zend/zend_hash.h
/usr/include/php4/Zend/zend_highlight.h
/usr/include/php4/Zend/zend_indent.h
/usr/include/php4/Zend/zend_ini.h
/usr/include/php4/Zend/zend_ini_parser.h
/usr/include/php4/Zend/zend_ini_scanner.h
/usr/include/php4/Zend/zend_istdiostream.h
/usr/include/php4/Zend/zend_language_parser.h
/usr/include/php4/Zend/zend_language_scanner.h
/usr/include/php4/Zend/zend_list.h
/usr/include/php4/Zend/zend_llist.h
/usr/include/php4/Zend/zend_modules.h
/usr/include/php4/Zend/zend_multibyte.h
/usr/include/php4/Zend/zend_multiply.h
/usr/include/php4/Zend/zend_operators.h
/usr/include/php4/Zend/zend_ptr_stack.h
/usr/include/php4/Zend/zend_qsort.h
/usr/include/php4/Zend/zend_stack.h
/usr/include/php4/Zend/zend_static_allocator.h
/usr/include/php4/Zend/zend_strtod.h
/usr/include/php4/Zend/zend_types.h
/usr/include/php4/Zend/zend_variables.h
/usr/include/php4/Zend/zend_config.h
/usr/include/php4/TSRM
/usr/include/php4/TSRM/TSRM.h
/usr/include/php4/TSRM/acconfig.h
/usr/include/php4/TSRM/readdir.h
/usr/include/php4/TSRM/tsrm_config.nw.h
/usr/include/php4/TSRM/tsrm_config.w32.h
/usr/include/php4/TSRM/tsrm_config_common.h
/usr/include/php4/TSRM/tsrm_nw.h
/usr/include/php4/TSRM/tsrm_strtok_r.h
/usr/include/php4/TSRM/tsrm_virtual_cwd.h
/usr/include/php4/TSRM/tsrm_win32.h
/usr/include/php4/TSRM/tsrm_config.h
/usr/include/php4/ext
/usr/include/php4/ext/standard
/usr/include/php4/ext/standard/aggregation.h
/usr/include/php4/ext/standard/base64.h
/usr/include/php4/ext/standard/basic_functions.h
/usr/include/php4/ext/standard/crc32.h
/usr/include/php4/ext/standard/credits.h
/usr/include/php4/ext/standard/credits_ext.h
/usr/include/php4/ext/standard/credits_sapi.h
/usr/include/php4/ext/standard/css.h
/usr/include/php4/ext/standard/cyr_convert.h
/usr/include/php4/ext/standard/datetime.h
/usr/include/php4/ext/standard/dl.h
/usr/include/php4/ext/standard/dns.h
/usr/include/php4/ext/standard/exec.h
/usr/include/php4/ext/standard/file.h
/usr/include/php4/ext/standard/flock_compat.h
/usr/include/php4/ext/standard/fsock.h
/usr/include/php4/ext/standard/head.h
/usr/include/php4/ext/standard/html.h
/usr/include/php4/ext/standard/info.h
/usr/include/php4/ext/standard/md5.h
/usr/include/php4/ext/standard/microtime.h
/usr/include/php4/ext/standard/pack.h
/usr/include/php4/ext/standard/pageinfo.h
/usr/include/php4/ext/standard/parsedate.h
/usr/include/php4/ext/standard/php_array.h
/usr/include/php4/ext/standard/php_assert.h
/usr/include/php4/ext/standard/php_browscap.h
/usr/include/php4/ext/standard/php_crypt.h
/usr/include/php4/ext/standard/php_dir.h
/usr/include/php4/ext/standard/php_ext_syslog.h
/usr/include/php4/ext/standard/php_filestat.h
/usr/include/php4/ext/standard/php_fopen_wrappers.h
/usr/include/php4/ext/standard/php_ftok.h
/usr/include/php4/ext/standard/php_image.h
/usr/include/php4/ext/standard/php_incomplete_class.h
/usr/include/php4/ext/standard/php_iptc.h
/usr/include/php4/ext/standard/php_lcg.h
/usr/include/php4/ext/standard/php_link.h
/usr/include/php4/ext/standard/php_mail.h
/usr/include/php4/ext/standard/php_math.h
/usr/include/php4/ext/standard/php_metaphone.h
/usr/include/php4/ext/standard/php_parsedate.h
/usr/include/php4/ext/standard/php_rand.h
/usr/include/php4/ext/standard/php_smart_str.h
/usr/include/php4/ext/standard/php_smart_str_public.h
/usr/include/php4/ext/standard/php_standard.h
/usr/include/php4/ext/standard/php_string.h
/usr/include/php4/ext/standard/php_type.h
/usr/include/php4/ext/standard/php_var.h
/usr/include/php4/ext/standard/php_versioning.h
/usr/include/php4/ext/standard/quot_print.h
/usr/include/php4/ext/standard/reg.h
/usr/include/php4/ext/standard/scanf.h
/usr/include/php4/ext/standard/sha1.h
/usr/include/php4/ext/standard/uniqid.h
/usr/include/php4/ext/standard/url.h
/usr/include/php4/ext/standard/url_scanner.h
/usr/include/php4/ext/standard/url_scanner_ex.h
/usr/include/php4/ext/session
/usr/include/php4/ext/session/mod_files.h
/usr/include/php4/ext/session/mod_mm.h
/usr/include/php4/ext/session/mod_user.h
/usr/include/php4/ext/session/php_session.h
/usr/include/php4/ext/xml
/usr/include/php4/ext/xml/expat
/usr/include/php4/ext/xml/expat/ascii.h
/usr/include/php4/ext/xml/expat/asciitab.h
/usr/include/php4/ext/xml/expat/expat.h
/usr/include/php4/ext/xml/expat/iasciitab.h
/usr/include/php4/ext/xml/expat/internal.h
/usr/include/php4/ext/xml/expat/latin1tab.h
/usr/include/php4/ext/xml/expat/nametab.h
/usr/include/php4/ext/xml/expat/utf8tab.h
/usr/include/php4/ext/xml/expat/winconfig.h
/usr/include/php4/ext/xml/expat/xmlrole.h
/usr/include/php4/ext/xml/expat/xmltok.h
/usr/include/php4/ext/xml/expat/xmltok_impl.h
/usr/include/php4/ext/xml/php_xml.h
/usr/include/php4/ext/mbstring
/usr/include/php4/ext/mbstring/libmbfl
/usr/include/php4/ext/mbstring/libmbfl/mbfl
/usr/include/php4/ext/mbstring/libmbfl/mbfl/eaw_table.h
/usr/include/php4/ext/mbstring/libmbfl/mbfl/mbfilter.h
/usr/include/php4/ext/mbstring/libmbfl/mbfl/mbfilter_8bit.h
/usr/include/php4/ext/mbstring/libmbfl/mbfl/mbfilter_pass.h
/usr/include/php4/ext/mbstring/libmbfl/mbfl/mbfilter_wchar.h
/usr/include/php4/ext/mbstring/libmbfl/mbfl/mbfl_allocators.h
/usr/include/php4/ext/mbstring/libmbfl/mbfl/mbfl_consts.h
/usr/include/php4/ext/mbstring/libmbfl/mbfl/mbfl_convert.h
/usr/include/php4/ext/mbstring/libmbfl/mbfl/mbfl_defs.h
/usr/include/php4/ext/mbstring/libmbfl/mbfl/mbfl_encoding.h
/usr/include/php4/ext/mbstring/libmbfl/mbfl/mbfl_filter_output.h
/usr/include/php4/ext/mbstring/libmbfl/mbfl/mbfl_ident.h
/usr/include/php4/ext/mbstring/libmbfl/mbfl/mbfl_language.h
/usr/include/php4/ext/mbstring/libmbfl/mbfl/mbfl_memory_device.h
/usr/include/php4/ext/mbstring/libmbfl/mbfl/mbfl_string.h
/usr/include/php4/ext/mbstring/libmbfl/config.h
/usr/include/php4/ext/mbstring/mbstring.h
/usr/include/php4/ext/mbstring/php_mbregex.h
/usr/include/php4/ext/mbstring/php_unicode.h
/usr/include/php4/ext/mbstring/unicode_data.h
/usr/include/php4/ext/pgsql
/usr/include/php4/ext/pgsql/php_pgsql.h
/usr/include/php4/ext/gd
/usr/include/php4/ext/gd/gdcache.h
/usr/include/php4/ext/gd/gdttf.h
/usr/include/php4/ext/gd/php_gd.h
/usr/include/php4/main
/usr/include/php4/main/SAPI.h
/usr/include/php4/main/config.nw.h
/usr/include/php4/main/config.w32.h
/usr/include/php4/main/fopen_wrappers.h
/usr/include/php4/main/internal_functions_registry.h
/usr/include/php4/main/logos.h
/usr/include/php4/main/php.h
/usr/include/php4/main/php3_compat.h
/usr/include/php4/main/php_compat.h
/usr/include/php4/main/php_content_types.h
/usr/include/php4/main/php_globals.h
/usr/include/php4/main/php_ini.h
/usr/include/php4/main/php_logos.h
/usr/include/php4/main/php_main.h
/usr/include/php4/main/php_memory_streams.h
/usr/include/php4/main/php_network.h
/usr/include/php4/main/php_open_temporary_file.h
/usr/include/php4/main/php_output.h
/usr/include/php4/main/php_reentrancy.h
/usr/include/php4/main/php_regex.h
/usr/include/php4/main/php_scandir.h
/usr/include/php4/main/php_streams.h
/usr/include/php4/main/php_syslog.h
/usr/include/php4/main/php_ticks.h
/usr/include/php4/main/php_variables.h
/usr/include/php4/main/php_version.h
/usr/include/php4/main/rfc1867.h
/usr/include/php4/main/safe_mode.h
/usr/include/php4/main/snprintf.h
/usr/include/php4/main/spprintf.h
/usr/include/php4/main/win95nt.h
/usr/include/php4/main/build-defs.h
/usr/include/php4/main/php_config.h
/usr/include/php4/main/php_embed.h
/usr/include/php4/regex
/usr/include/php4/regex/cclass.h
/usr/include/php4/regex/cname.h
/usr/include/php4/regex/regex.h
/usr/include/php4/regex/regex2.h
/usr/include/php4/regex/regex_extra.h
/usr/include/php4/regex/utils.h
/usr/include/php4/acconfig.h
/usr/lib
/usr/lib/php4
/usr/lib/php4/build
/usr/lib/php4/build/shtool
/usr/lib/php4/build/config.guess
/usr/lib/php4/build/config.sub
/usr/lib/php4/build/phpize.m4
/usr/lib/php4/build/mkdep.awk
/usr/lib/php4/build/scan_makefile_in.awk
/usr/lib/php4/build/libtool.m4
/usr/lib/php4/build/Makefile.global
/usr/lib/php4/build/acinclude.m4
/usr/lib/php4/build/ltmain.sh
/usr/lib/php4/skeleton
/usr/lib/php4/skeleton/tests
/usr/lib/php4/skeleton/tests/001.phpt
/usr/lib/php4/skeleton/skeleton.dsp
/usr/lib/php4/skeleton/skeleton.php
/usr/lib/php4/skeleton/create_stubs
/usr/lib/php4/skeleton/skeleton.c
/usr/lib/php4/skeleton/php_skeleton.h
/usr/lib/php4/skeleton/EXPERIMENTAL
/usr/lib/php4/skeleton/CREDITS
/usr/share
/usr/share/doc
/usr/share/doc/php4-dev


页首
 用户资料  
 
6 楼 
 文章标题 :
帖子发表于 : 2005-10-03 20:49 
头像

注册: 2005-09-28 22:10
帖子: 15
送出感谢: 0 次
接收感谢: 0 次
谢谢你哦
偶的原来是可以支持php的
因为想把smth bbs装在ubuntu上
提示偶
configure: error: "can't find php source in yes"
configure: error: /bin/sh './configure' failed for bbs2www
偶也不明白是什么意思
所以只能这样着原因了


页首
 用户资料  
 
7 楼 
 文章标题 : Re: [问题]php4的默认安装路径是什么地方啊?
帖子发表于 : 2009-08-18 16:59 

注册: 2008-07-10 15:08
帖子: 448
送出感谢: 0 次
接收感谢: 0 次
oneleaf,
你的意思是不是说php4
就安装在/usr/share/doc/ 路径下了?


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 7 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:Google [Bot] 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译