| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 15 Jan 2026 00:31:02 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20060614011926
location: https://web.archive.org/web/20060614011926/https://php4.darwinports.com/
server-timing: captures_list;dur=1.027316, exclusion.robots;dur=0.081704, exclusion.robots.policy;dur=0.065992, esindex;dur=0.015391, cdx.remote;dur=57.137717, LoadShardBlock;dur=180.419092, PetaboxLoader3.datanode;dur=113.632088
x-app-server: wwwb-app241-dc8
x-ts: 302
x-tr: 277
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app241; path=/
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Thu, 15 Jan 2026 00:31:02 GMT
content-type: text/html; charset=ISO-8859-1
x-archive-orig-date: Wed, 14 Jun 2006 01:20:21 GMT
x-archive-orig-server: Apache
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: iso-8859-1
memento-datetime: Wed, 14 Jun 2006 01:19:26 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 26_0_20060614005918_crawl24-c/26_0_20060614011912_crawl24.arc.gz
server-timing: captures_list;dur=0.699164, exclusion.robots;dur=0.030321, exclusion.robots.policy;dur=0.018135, esindex;dur=0.012493, cdx.remote;dur=58.745463, LoadShardBlock;dur=82.443374, PetaboxLoader3.datanode;dur=132.405276, load_resource;dur=116.162680, PetaboxLoader3.resolve;dur=48.542963
x-app-server: wwwb-app241-dc8
x-ts: 200
x-tr: 368
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
php4 version 4.4.2 for Mac OS X 10.4 Tiger
|
|||||||||
Tuesday the 13th of June, 2006 |
|||||||||
php4
The raw portfile for php4 4.4.2 is located here: https://php4.darwinports.com/dports/www/php4/Portfile Find related portfiles with the new DarwinPorts.com search feature.
# $Id: Portfile,v 1.31 2006/05/03 11:47:44 jwa Exp $ PortSystem 1.0 Name: php4 Version: 4.4.2 revision 2 Category: lang php www Maintainers: jwa Description: PHP: Hypertext Preprocessor Long Description: PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. Platform: darwin freebsd master_sites https://www.php.net/distributions/:release https://it.php.net/distributions/:release https://fi.php.net/distributions/:release https://de.php.net/distributions/:release https://gr.php.net/distributions/:release https://fr.php.net/distributions/:release https://es.php.net/distributions/:release https://se.php.net/distributions/:release https://downloads.php.net/ilia/:rc https://downloads.php.net/jani/:rc distfiles php-${version}.tar.bz2:release worksrcdir php-${version} use_bzip2 yes checksums md5 28051cd9ef43490dd9727a4d442011b5 depends_lib port:libiconv port:expat port:gettext port:zlib port:openssl port:tiff port:libxml2 configure.args --mandir=${prefix}/share/man --infodir=${prefix}/share/info --includedir=${prefix}/include/php4 --libdir=${prefix}/lib/php4 --sysconfdir=${prefix}/etc/php4 --with-config-file-path=${prefix}/etc --with-pear=${prefix}/lib/php4 --program-suffix=4 --enable-mbstring --enable-dbx --enable-safe-mode --enable-dba --enable-calendar --enable-exif --enable-ftp --enable-wddx --enable-filepro --enable-bcmath --enable-trans-sid --enable-cli --with-xml --with-xmlrpc --without-mysql --with-iconv=${prefix} --with-zlib=${prefix} --with-gettext=${prefix} --with-expat-dir=${prefix} --with-dom=${prefix} --with-openssl=${prefix} configure.env platform darwin 6 { depends_lib-append port:dlcompat configure.env-append LDFLAGS=-L${prefix}/lib LIBS=-ldl CPPFLAGS="-I${prefix}/include -no-cpp-precomp -DBIND_8_COMPAT" } platform darwin 7 { configure.env-append LDFLAGS="-L${prefix}/lib" LIBS=-ldl CPPFLAGS="-I${prefix}/include -no-cpp-precomp" } platform darwin 8 { configure.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 } platform freebsd { configure.env.append LDFLAGS=-L${prefix}/lib CPPFLAGS="-I${prefix}/include } Variant: macosx { configure.args-append --with-ldap=/usr --with-kerberos=/usr --with-iodbc=/usr } Variant: apache { if { ! [variant_isset macosx] } { depends_lib-append path:${prefix}/sbin/apxs:apache configure.args-append --with-apxs=${prefix}/sbin/apxs } else { configure.args-append --with-apxs=/usr/sbin/apxs } } Variant: apache2 { depends_lib-append path:${prefix}/apache2/bin/apxs:apache2 configure.args-append --with-apxs2=${prefix}/apache2/bin/apxs } Variant: crypt { depends_lib-append port:mhash port:libmcrypt configure.args-append --with-mhash=${prefix} --with-mcrypt=${prefix} } Variant: curl { depends_lib-append port:curl configure.args-append --with-curl=${prefix} } Variant: gd { depends_lib-append port:jpeg port:libpng port:freetype configure.args-append --with-gd --with-jpeg-dir=${prefix} --with-png-dir=${prefix} --enable-gd-native-ttf --with-freetype-dir=${prefix} } Variant: mysql3 { depends_lib-append port:mysql3 configure.args-append --with-mysql=${prefix} } Variant: mysql4 { depends_lib-append port:mysql4 configure.args-append --with-mysql=${prefix} } Variant: mysql5 { depends_lib-append port:mysql5 configure.args-delete --without-mysql configure.args-append --with-mysql=${workpath}/mysql5 post-extract { file mkdir "${workpath}/mysql5" file link -symbolic "${workpath}/mysql5/lib" "${prefix}/lib/mysql5" file link -symbolic "${workpath}/mysql5/include" "${prefix}/include/mysql5" } post-destroot { reinplace "s;${workpath}/mysql5/lib;${prefix}/lib/mysql5;" ${destroot}${prefix}/bin/php-config4 } } Variant: postgresql8 { pre-configure { file mkdir ${workpath}/pgsql8 system "cd ${workpath}/pgsql8 && ln -sf ${prefix}/include/pgsql8 include && ln -sf ${prefix}/lib/pgsql8 lib && ln -sf ${prefix}/lib/pgsql8/bin bin" } depends_lib-append port:postgresql8 configure.args-append --with-pgsql=${workpath}/pgsql8 } Variant: ldap { depends_lib-append port:openldap configure.args-append --with-ldap=${prefix} } Variant: imap { depends_lib-append port:cclient configure.env-append CFLAGS=-I${prefix}/include/c-client configure.args-append --with-imap=${prefix} --with-imap-ssl=/usr } Variant: xslt { depends_lib-append port:sablotron configure.args-append --enable-xslt --with-xslt-sablot=${prefix} --with-iconv-dir=${prefix} } # if no apache/apache2 variant is set, we set it (waiting a better default variant management) if { ![variant_isset apache] && ![variant_isset apache2] } { if { ! [variant_isset macosx] } { depends_lib-append path:${prefix}/sbin/apxs:apache configure.args-append --with-apxs=${prefix}/sbin/apxs } else { configure.args-append --with-apxs=/usr/sbin/apxs } } destroot.args INSTALL_ROOT=${destroot} PHP_PEAR_INSTALL_DIR=${prefix}/lib/php destroot.target install-cli install-pear install-build install-headers install-programs post-destroot { #copy module if { [variant_isset apache] } { xinstall -m 755 -d ${destroot}${prefix}/libexec/apache ${destroot}${prefix}/etc/apache/extras-conf xinstall -m 755 ${worksrcpath}/libs/libphp4.so ${destroot}${prefix}/libexec/apache/ xinstall -m 755 -c ${filespath}/mod_php.conf ${destroot}$prefix/etc/apache/extras-conf/mod_php.conf.sample } if { [variant_isset apache2] } { xinstall -m 755 -d ${destroot}${prefix}/apache2/modules ${destroot}${prefix}/apache2/conf/extras-conf xinstall -m 755 ${worksrcpath}/libs/libphp4.so ${destroot}${prefix}/apache2/modules/ xinstall -m 755 -c ${filespath}/mod_php.conf ${destroot}${prefix}/apache2/conf/extras-conf/mod_php.conf.sample } file rename ${destroot}${prefix}/etc/php4/pear.conf ${destroot}${prefix}/etc/php4/pear.conf.sample #copy php.ini xinstall -m 755 -d ${destroot}${prefix}/etc xinstall -m 755 ${workpath}/${worksrcdir}/php.ini-dist ${destroot}${prefix}/etc/php.ini-dist xinstall -m 755 ${workpath}/${worksrcdir}/php.ini-recommended ${destroot}${prefix}/etc/php.ini-recommended # rename files cd ${destroot}${prefix} file rename bin/pear bin/pear4 reinplace "s|${prefix}/bin/php|${prefix}/bin/php4|g" bin/pear4 # remove crap system "cd ${destroot} && rm -r .channels .depdb .depdblock .filemap .lock" } post-install { ui_msg "\nIf this is your first install, you might want" if { [variant_isset apache] } { ui_msg " * enable php in apache :\n" ui_msg "cd ${prefix}/libexec/apache" ui_msg "${prefix}/apache/bin/apxs -a -e -n \"php4\" libphp4.so\n" ui_msg "* copy ${prefix}/etc/php.ini-dist to ${prefix}/etc/php.ini" } if { [variant_isset apache2] } { ui_msg "cd ${prefix}/apache2/modules" ui_msg "${prefix}/apache2/bin/apxs -a -e -n \"php4\" libphp4.so\n" ui_msg "* copy ${prefix}/etc/php.ini-dist to ${prefix}/etc/php.ini" } ui_msg "* copy ${prefix}/etc/php4/pear.conf.sample to ${prefix}/etc/php4/pear.conf" } If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% sudo port install php4You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using php4 with these commands: % man php4 Where to find more information:
This website uses many .png's so it looks best in Firefox or Safari.
|
![]() |
Download the Darwinports 1.2 Installer
Other Helpful SitesDarwinports WikiDarwin Source Debian Packages Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
aqua
archivers audio benchmarks cad comms cross databases devel editors emulators games genealogy gnome graphics irc java kde lang math multimedia net news palm perl python ruby science security shells sysutils textproc www x11 zope
Current CVS DownloadsDarwin Ports Current :nightly CVS snapshot OpenDarwin CVSWeb |
|||||||
| |



