Opened 13 years ago

Last modified 6 years ago

#31617 reopened defect

php53 +debug: installs php binary as php.dSYM

Reported by: lhridley@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: jyrkiwahlstedt, holms (Roman Gorodeckij)
Port: php53

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Just upgraded to php 5.3.8, and there is no php binary executable at the command line to be found in /opt/local anywhere.

This is an important piece. Please advise, or fix asap.

See results of find below:

$ sudo find /opt/local -name php
Password:
/opt/local/include/php
/opt/local/lib/php
/opt/local/sites/ww2.roveworks.com/public_html/dp/modules/php
/opt/local/sites/ww2.roveworks.com/public_html/dpl/modules/php
/opt/local/sites/ww2.roveworks.com/public_html/oa/modules/php
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/php

None of these are the command line binary. The web service is running as an apache module.

Change History (12)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jwa@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Priority: HighNormal

Please show the output of port contents php5. /opt/local/bin/php is there on my system.

comment:2 Changed 13 years ago by lhridley@…

Ooh sorry, I've already fixed the problem on my end. I force uninstalled and reinstalled php. But when I was looking for the php binary, in the /opt/local/bin directory, I did see a file named php.DYSM in that folder. It's not there now.

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

Glad you got it working.

I found some results on Google about other users unexpectedly finding php installed as php.dSYM. All I can recommend is that you ensure your Xcode is up to date: on Snow Leopard, use at least Xcode 3.2.6; on Lion, use at least Xcode 4.1.

comment:4 Changed 13 years ago by lhridley@…

As an iOS developer I always keep Xcode updated (updated it yesterday to the latest and greatest), so that's not it.

I've had this happen before so I thought I'd report the bug.

comment:5 Changed 13 years ago by lhridley@…

Resolution: worksforme
Status: closedreopened

I'm reopening this ticket -- the problem reoccurred on a different machine. Force uninstalling and reinstalling php5 did not fix the problem. This time it was a clean install of php5, not an upgrade.

I'm running Lion, using Xcode Version 4.1 (4B110), and macports 2.0.3.

The output of "port contents php5" is as follows:

Port php5 contains:
  /opt/local/apache2/conf/extra/mod_php.conf
  /opt/local/apache2/modules/libphp5.so
  /opt/local/bin/pear
  /opt/local/bin/peardev
  /opt/local/bin/pecl
  /opt/local/bin/php-config
  /opt/local/bin/php.dSYM
  /opt/local/bin/phpize
  /opt/local/etc/pear.conf
  /opt/local/etc/php5/php.ini-development
  /opt/local/etc/php5/php.ini-production
  /opt/local/include/php/TSRM/TSRM.h
  /opt/local/include/php/TSRM/acconfig.h
  /opt/local/include/php/TSRM/readdir.h
  /opt/local/include/php/TSRM/tsrm_config.h
  /opt/local/include/php/TSRM/tsrm_config.w32.h
  /opt/local/include/php/TSRM/tsrm_config_common.h
  /opt/local/include/php/TSRM/tsrm_nw.h
  /opt/local/include/php/TSRM/tsrm_strtok_r.h
  /opt/local/include/php/TSRM/tsrm_virtual_cwd.h
  /opt/local/include/php/TSRM/tsrm_win32.h
  /opt/local/include/php/Zend/acconfig.h
  /opt/local/include/php/Zend/zend.h
  /opt/local/include/php/Zend/zend_API.h
  /opt/local/include/php/Zend/zend_alloc.h
  /opt/local/include/php/Zend/zend_build.h
  /opt/local/include/php/Zend/zend_builtin_functions.h
  /opt/local/include/php/Zend/zend_closures.h
  /opt/local/include/php/Zend/zend_compile.h
  /opt/local/include/php/Zend/zend_config.h
  /opt/local/include/php/Zend/zend_config.nw.h
  /opt/local/include/php/Zend/zend_config.w32.h
  /opt/local/include/php/Zend/zend_constants.h
  /opt/local/include/php/Zend/zend_dynamic_array.h
  /opt/local/include/php/Zend/zend_errors.h
  /opt/local/include/php/Zend/zend_exceptions.h
  /opt/local/include/php/Zend/zend_execute.h
  /opt/local/include/php/Zend/zend_extensions.h
  /opt/local/include/php/Zend/zend_fast_cache.h
  /opt/local/include/php/Zend/zend_float.h
  /opt/local/include/php/Zend/zend_gc.h
  /opt/local/include/php/Zend/zend_globals.h
  /opt/local/include/php/Zend/zend_globals_macros.h
  /opt/local/include/php/Zend/zend_hash.h
  /opt/local/include/php/Zend/zend_highlight.h
  /opt/local/include/php/Zend/zend_indent.h
  /opt/local/include/php/Zend/zend_ini.h
  /opt/local/include/php/Zend/zend_ini_parser.h
  /opt/local/include/php/Zend/zend_ini_scanner.h
  /opt/local/include/php/Zend/zend_ini_scanner_defs.h
  /opt/local/include/php/Zend/zend_interfaces.h
  /opt/local/include/php/Zend/zend_istdiostream.h
  /opt/local/include/php/Zend/zend_iterators.h
  /opt/local/include/php/Zend/zend_language_parser.h
  /opt/local/include/php/Zend/zend_language_scanner.h
  /opt/local/include/php/Zend/zend_language_scanner_defs.h
  /opt/local/include/php/Zend/zend_list.h
  /opt/local/include/php/Zend/zend_llist.h
  /opt/local/include/php/Zend/zend_modules.h
  /opt/local/include/php/Zend/zend_multibyte.h
  /opt/local/include/php/Zend/zend_multiply.h
  /opt/local/include/php/Zend/zend_object_handlers.h
  /opt/local/include/php/Zend/zend_objects.h
  /opt/local/include/php/Zend/zend_objects_API.h
  /opt/local/include/php/Zend/zend_operators.h
  /opt/local/include/php/Zend/zend_ptr_stack.h
  /opt/local/include/php/Zend/zend_qsort.h
  /opt/local/include/php/Zend/zend_stack.h
  /opt/local/include/php/Zend/zend_static_allocator.h
  /opt/local/include/php/Zend/zend_stream.h
  /opt/local/include/php/Zend/zend_strtod.h
  /opt/local/include/php/Zend/zend_ts_hash.h
  /opt/local/include/php/Zend/zend_types.h
  /opt/local/include/php/Zend/zend_variables.h
  /opt/local/include/php/Zend/zend_vm.h
  /opt/local/include/php/Zend/zend_vm_def.h
  /opt/local/include/php/Zend/zend_vm_execute.h
  /opt/local/include/php/Zend/zend_vm_opcodes.h
  /opt/local/include/php/ext/date/lib/timelib.h
  /opt/local/include/php/ext/date/lib/timelib_config.h
  /opt/local/include/php/ext/date/lib/timelib_structs.h
  /opt/local/include/php/ext/date/php_date.h
  /opt/local/include/php/ext/dom/xml_common.h
  /opt/local/include/php/ext/ereg/php_ereg.h
  /opt/local/include/php/ext/ereg/php_regex.h
  /opt/local/include/php/ext/ereg/regex/cclass.h
  /opt/local/include/php/ext/ereg/regex/cname.h
  /opt/local/include/php/ext/ereg/regex/regex.h
  /opt/local/include/php/ext/ereg/regex/regex2.h
  /opt/local/include/php/ext/ereg/regex/utils.h
  /opt/local/include/php/ext/filter/php_filter.h
  /opt/local/include/php/ext/hash/php_hash.h
  /opt/local/include/php/ext/hash/php_hash_adler32.h
  /opt/local/include/php/ext/hash/php_hash_crc32.h
  /opt/local/include/php/ext/hash/php_hash_gost.h
  /opt/local/include/php/ext/hash/php_hash_haval.h
  /opt/local/include/php/ext/hash/php_hash_md.h
  /opt/local/include/php/ext/hash/php_hash_ripemd.h
  /opt/local/include/php/ext/hash/php_hash_salsa.h
  /opt/local/include/php/ext/hash/php_hash_sha.h
  /opt/local/include/php/ext/hash/php_hash_snefru.h
  /opt/local/include/php/ext/hash/php_hash_tiger.h
  /opt/local/include/php/ext/hash/php_hash_types.h
  /opt/local/include/php/ext/hash/php_hash_whirlpool.h
  /opt/local/include/php/ext/json/php_json.h
  /opt/local/include/php/ext/libxml/php_libxml.h
  /opt/local/include/php/ext/mysqlnd/config-win.h
  /opt/local/include/php/ext/mysqlnd/mysqlnd.h
  /opt/local/include/php/ext/mysqlnd/mysqlnd_block_alloc.h
  /opt/local/include/php/ext/mysqlnd/mysqlnd_charset.h
  /opt/local/include/php/ext/mysqlnd/mysqlnd_debug.h
  /opt/local/include/php/ext/mysqlnd/mysqlnd_enum_n_def.h
  /opt/local/include/php/ext/mysqlnd/mysqlnd_libmysql_compat.h
  /opt/local/include/php/ext/mysqlnd/mysqlnd_net.h
  /opt/local/include/php/ext/mysqlnd/mysqlnd_portability.h
  /opt/local/include/php/ext/mysqlnd/mysqlnd_priv.h
  /opt/local/include/php/ext/mysqlnd/mysqlnd_result.h
  /opt/local/include/php/ext/mysqlnd/mysqlnd_result_meta.h
  /opt/local/include/php/ext/mysqlnd/mysqlnd_statistics.h
  /opt/local/include/php/ext/mysqlnd/mysqlnd_structs.h
  /opt/local/include/php/ext/mysqlnd/mysqlnd_wireprotocol.h
  /opt/local/include/php/ext/mysqlnd/php_mysqlnd.h
  /opt/local/include/php/ext/mysqlnd/php_mysqlnd_config.h
  /opt/local/include/php/ext/pcre/php_pcre.h
  /opt/local/include/php/ext/pdo/php_pdo.h
  /opt/local/include/php/ext/pdo/php_pdo_driver.h
  /opt/local/include/php/ext/session/mod_files.h
  /opt/local/include/php/ext/session/mod_user.h
  /opt/local/include/php/ext/session/php_session.h
  /opt/local/include/php/ext/spl/php_spl.h
  /opt/local/include/php/ext/spl/spl_array.h
  /opt/local/include/php/ext/spl/spl_directory.h
  /opt/local/include/php/ext/spl/spl_dllist.h
  /opt/local/include/php/ext/spl/spl_engine.h
  /opt/local/include/php/ext/spl/spl_exceptions.h
  /opt/local/include/php/ext/spl/spl_fixedarray.h
  /opt/local/include/php/ext/spl/spl_functions.h
  /opt/local/include/php/ext/spl/spl_heap.h
  /opt/local/include/php/ext/spl/spl_iterators.h
  /opt/local/include/php/ext/spl/spl_observer.h
  /opt/local/include/php/ext/standard/base64.h
  /opt/local/include/php/ext/standard/basic_functions.h
  /opt/local/include/php/ext/standard/crc32.h
  /opt/local/include/php/ext/standard/credits.h
  /opt/local/include/php/ext/standard/credits_ext.h
  /opt/local/include/php/ext/standard/credits_sapi.h
  /opt/local/include/php/ext/standard/crypt_blowfish.h
  /opt/local/include/php/ext/standard/crypt_freesec.h
  /opt/local/include/php/ext/standard/css.h
  /opt/local/include/php/ext/standard/cyr_convert.h
  /opt/local/include/php/ext/standard/datetime.h
  /opt/local/include/php/ext/standard/dl.h
  /opt/local/include/php/ext/standard/exec.h
  /opt/local/include/php/ext/standard/file.h
  /opt/local/include/php/ext/standard/flock_compat.h
  /opt/local/include/php/ext/standard/fsock.h
  /opt/local/include/php/ext/standard/head.h
  /opt/local/include/php/ext/standard/html.h
  /opt/local/include/php/ext/standard/info.h
  /opt/local/include/php/ext/standard/md5.h
  /opt/local/include/php/ext/standard/microtime.h
  /opt/local/include/php/ext/standard/pack.h
  /opt/local/include/php/ext/standard/pageinfo.h
  /opt/local/include/php/ext/standard/php_array.h
  /opt/local/include/php/ext/standard/php_assert.h
  /opt/local/include/php/ext/standard/php_browscap.h
  /opt/local/include/php/ext/standard/php_crypt.h
  /opt/local/include/php/ext/standard/php_crypt_r.h
  /opt/local/include/php/ext/standard/php_dir.h
  /opt/local/include/php/ext/standard/php_dns.h
  /opt/local/include/php/ext/standard/php_ext_syslog.h
  /opt/local/include/php/ext/standard/php_filestat.h
  /opt/local/include/php/ext/standard/php_fopen_wrappers.h
  /opt/local/include/php/ext/standard/php_ftok.h
  /opt/local/include/php/ext/standard/php_http.h
  /opt/local/include/php/ext/standard/php_image.h
  /opt/local/include/php/ext/standard/php_incomplete_class.h
  /opt/local/include/php/ext/standard/php_iptc.h
  /opt/local/include/php/ext/standard/php_lcg.h
  /opt/local/include/php/ext/standard/php_link.h
  /opt/local/include/php/ext/standard/php_mail.h
  /opt/local/include/php/ext/standard/php_math.h
  /opt/local/include/php/ext/standard/php_metaphone.h
  /opt/local/include/php/ext/standard/php_rand.h
  /opt/local/include/php/ext/standard/php_smart_str.h
  /opt/local/include/php/ext/standard/php_smart_str_public.h
  /opt/local/include/php/ext/standard/php_standard.h
  /opt/local/include/php/ext/standard/php_string.h
  /opt/local/include/php/ext/standard/php_type.h
  /opt/local/include/php/ext/standard/php_uuencode.h
  /opt/local/include/php/ext/standard/php_var.h
  /opt/local/include/php/ext/standard/php_versioning.h
  /opt/local/include/php/ext/standard/proc_open.h
  /opt/local/include/php/ext/standard/quot_print.h
  /opt/local/include/php/ext/standard/scanf.h
  /opt/local/include/php/ext/standard/sha1.h
  /opt/local/include/php/ext/standard/streamsfuncs.h
  /opt/local/include/php/ext/standard/uniqid.h
  /opt/local/include/php/ext/standard/url.h
  /opt/local/include/php/ext/standard/url_scanner_ex.h
  /opt/local/include/php/ext/standard/winver.h
  /opt/local/include/php/ext/xml/expat_compat.h
  /opt/local/include/php/ext/xml/php_xml.h
  /opt/local/include/php/main/SAPI.h
  /opt/local/include/php/main/build-defs.h
  /opt/local/include/php/main/fopen_wrappers.h
  /opt/local/include/php/main/logos.h
  /opt/local/include/php/main/php.h
  /opt/local/include/php/main/php3_compat.h
  /opt/local/include/php/main/php_compat.h
  /opt/local/include/php/main/php_config.h
  /opt/local/include/php/main/php_content_types.h
  /opt/local/include/php/main/php_getopt.h
  /opt/local/include/php/main/php_globals.h
  /opt/local/include/php/main/php_ini.h
  /opt/local/include/php/main/php_logos.h
  /opt/local/include/php/main/php_main.h
  /opt/local/include/php/main/php_memory_streams.h
  /opt/local/include/php/main/php_network.h
  /opt/local/include/php/main/php_open_temporary_file.h
  /opt/local/include/php/main/php_output.h
  /opt/local/include/php/main/php_reentrancy.h
  /opt/local/include/php/main/php_scandir.h
  /opt/local/include/php/main/php_streams.h
  /opt/local/include/php/main/php_syslog.h
  /opt/local/include/php/main/php_ticks.h
  /opt/local/include/php/main/php_variables.h
  /opt/local/include/php/main/php_version.h
  /opt/local/include/php/main/rfc1867.h
  /opt/local/include/php/main/safe_mode.h
  /opt/local/include/php/main/snprintf.h
  /opt/local/include/php/main/spprintf.h
  /opt/local/include/php/main/streams/php_stream_context.h
  /opt/local/include/php/main/streams/php_stream_filter_api.h
  /opt/local/include/php/main/streams/php_stream_glob_wrapper.h
  /opt/local/include/php/main/streams/php_stream_mmap.h
  /opt/local/include/php/main/streams/php_stream_plain_wrapper.h
  /opt/local/include/php/main/streams/php_stream_transport.h
  /opt/local/include/php/main/streams/php_stream_userspace.h
  /opt/local/include/php/main/streams/php_streams_int.h
  /opt/local/include/php/main/win32_internal_function_disabled.h
  /opt/local/include/php/main/win95nt.h
  /opt/local/lib/php/.registry/archive_tar.reg
  /opt/local/lib/php/.registry/console_getopt.reg
  /opt/local/lib/php/.registry/pear.reg
  /opt/local/lib/php/.registry/structures_graph.reg
  /opt/local/lib/php/.registry/xml_util.reg
  /opt/local/lib/php/Archive/Tar.php
  /opt/local/lib/php/Console/Getopt.php
  /opt/local/lib/php/OS/Guess.php
  /opt/local/lib/php/PEAR.php
  /opt/local/lib/php/PEAR/Autoloader.php
  /opt/local/lib/php/PEAR/Builder.php
  /opt/local/lib/php/PEAR/ChannelFile.php
  /opt/local/lib/php/PEAR/ChannelFile/Parser.php
  /opt/local/lib/php/PEAR/Command.php
  /opt/local/lib/php/PEAR/Command/Auth.php
  /opt/local/lib/php/PEAR/Command/Auth.xml
  /opt/local/lib/php/PEAR/Command/Build.php
  /opt/local/lib/php/PEAR/Command/Build.xml
  /opt/local/lib/php/PEAR/Command/Channels.php
  /opt/local/lib/php/PEAR/Command/Channels.xml
  /opt/local/lib/php/PEAR/Command/Common.php
  /opt/local/lib/php/PEAR/Command/Config.php
  /opt/local/lib/php/PEAR/Command/Config.xml
  /opt/local/lib/php/PEAR/Command/Install.php
  /opt/local/lib/php/PEAR/Command/Install.xml
  /opt/local/lib/php/PEAR/Command/Mirror.php
  /opt/local/lib/php/PEAR/Command/Mirror.xml
  /opt/local/lib/php/PEAR/Command/Package.php
  /opt/local/lib/php/PEAR/Command/Package.xml
  /opt/local/lib/php/PEAR/Command/Pickle.php
  /opt/local/lib/php/PEAR/Command/Pickle.xml
  /opt/local/lib/php/PEAR/Command/Registry.php
  /opt/local/lib/php/PEAR/Command/Registry.xml
  /opt/local/lib/php/PEAR/Command/Remote.php
  /opt/local/lib/php/PEAR/Command/Remote.xml
  /opt/local/lib/php/PEAR/Command/Test.php
  /opt/local/lib/php/PEAR/Command/Test.xml
  /opt/local/lib/php/PEAR/Common.php
  /opt/local/lib/php/PEAR/Config.php
  /opt/local/lib/php/PEAR/Dependency2.php
  /opt/local/lib/php/PEAR/DependencyDB.php
  /opt/local/lib/php/PEAR/Downloader.php
  /opt/local/lib/php/PEAR/Downloader/Package.php
  /opt/local/lib/php/PEAR/ErrorStack.php
  /opt/local/lib/php/PEAR/Exception.php
  /opt/local/lib/php/PEAR/FixPHP5PEARWarnings.php
  /opt/local/lib/php/PEAR/Frontend.php
  /opt/local/lib/php/PEAR/Frontend/CLI.php
  /opt/local/lib/php/PEAR/Installer.php
  /opt/local/lib/php/PEAR/Installer/Role.php
  /opt/local/lib/php/PEAR/Installer/Role/Cfg.php
  /opt/local/lib/php/PEAR/Installer/Role/Cfg.xml
  /opt/local/lib/php/PEAR/Installer/Role/Common.php
  /opt/local/lib/php/PEAR/Installer/Role/Data.php
  /opt/local/lib/php/PEAR/Installer/Role/Data.xml
  /opt/local/lib/php/PEAR/Installer/Role/Doc.php
  /opt/local/lib/php/PEAR/Installer/Role/Doc.xml
  /opt/local/lib/php/PEAR/Installer/Role/Ext.php
  /opt/local/lib/php/PEAR/Installer/Role/Ext.xml
  /opt/local/lib/php/PEAR/Installer/Role/Php.php
  /opt/local/lib/php/PEAR/Installer/Role/Php.xml
  /opt/local/lib/php/PEAR/Installer/Role/Script.php
  /opt/local/lib/php/PEAR/Installer/Role/Script.xml
  /opt/local/lib/php/PEAR/Installer/Role/Src.php
  /opt/local/lib/php/PEAR/Installer/Role/Src.xml
  /opt/local/lib/php/PEAR/Installer/Role/Test.php
  /opt/local/lib/php/PEAR/Installer/Role/Test.xml
  /opt/local/lib/php/PEAR/Installer/Role/Www.php
  /opt/local/lib/php/PEAR/Installer/Role/Www.xml
  /opt/local/lib/php/PEAR/PackageFile.php
  /opt/local/lib/php/PEAR/PackageFile/Generator/v1.php
  /opt/local/lib/php/PEAR/PackageFile/Generator/v2.php
  /opt/local/lib/php/PEAR/PackageFile/Parser/v1.php
  /opt/local/lib/php/PEAR/PackageFile/Parser/v2.php
  /opt/local/lib/php/PEAR/PackageFile/v1.php
  /opt/local/lib/php/PEAR/PackageFile/v2.php
  /opt/local/lib/php/PEAR/PackageFile/v2/Validator.php
  /opt/local/lib/php/PEAR/PackageFile/v2/rw.php
  /opt/local/lib/php/PEAR/Packager.php
  /opt/local/lib/php/PEAR/REST.php
  /opt/local/lib/php/PEAR/REST/10.php
  /opt/local/lib/php/PEAR/REST/11.php
  /opt/local/lib/php/PEAR/REST/13.php
  /opt/local/lib/php/PEAR/Registry.php
  /opt/local/lib/php/PEAR/RunTest.php
  /opt/local/lib/php/PEAR/Task/Common.php
  /opt/local/lib/php/PEAR/Task/Postinstallscript.php
  /opt/local/lib/php/PEAR/Task/Postinstallscript/rw.php
  /opt/local/lib/php/PEAR/Task/Replace.php
  /opt/local/lib/php/PEAR/Task/Replace/rw.php
  /opt/local/lib/php/PEAR/Task/Unixeol.php
  /opt/local/lib/php/PEAR/Task/Unixeol/rw.php
  /opt/local/lib/php/PEAR/Task/Windowseol.php
  /opt/local/lib/php/PEAR/Task/Windowseol/rw.php
  /opt/local/lib/php/PEAR/Validate.php
  /opt/local/lib/php/PEAR/Validator/PECL.php
  /opt/local/lib/php/PEAR/XMLParser.php
  /opt/local/lib/php/PEAR5.php
  /opt/local/lib/php/Structures/Graph.php
  /opt/local/lib/php/Structures/Graph/Manipulator/AcyclicTest.php
  /opt/local/lib/php/Structures/Graph/Manipulator/TopologicalSorter.php
  /opt/local/lib/php/Structures/Graph/Node.php
  /opt/local/lib/php/System.php
  /opt/local/lib/php/XML/Util.php
  /opt/local/lib/php/build/Makefile.global
  /opt/local/lib/php/build/acinclude.m4
  /opt/local/lib/php/build/config.guess
  /opt/local/lib/php/build/config.sub
  /opt/local/lib/php/build/libtool.m4
  /opt/local/lib/php/build/ltmain.sh
  /opt/local/lib/php/build/mkdep.awk
  /opt/local/lib/php/build/phpize.m4
  /opt/local/lib/php/build/run-tests.php
  /opt/local/lib/php/build/scan_makefile_in.awk
  /opt/local/lib/php/build/shtool
  /opt/local/lib/php/data/PEAR/package.dtd
  /opt/local/lib/php/data/PEAR/template.spec
  /opt/local/lib/php/data/Structures_Graph/LICENSE
  /opt/local/lib/php/doc/Archive_Tar/docs/Archive_Tar.txt
  /opt/local/lib/php/doc/PEAR/INSTALL
  /opt/local/lib/php/doc/PEAR/LICENSE
  /opt/local/lib/php/doc/PEAR/README
  /opt/local/lib/php/doc/Structures_Graph/docs/generate.sh
  /opt/local/lib/php/doc/Structures_Graph/docs/html/Structures_Graph/Structures_Graph.html
  /opt/local/lib/php/doc/Structures_Graph/docs/html/Structures_Graph/Structures_Graph_Manipulator_AcyclicTest.html
  /opt/local/lib/php/doc/Structures_Graph/docs/html/Structures_Graph/Structures_Graph_Manipulator_TopologicalSorter.html
  /opt/local/lib/php/doc/Structures_Graph/docs/html/Structures_Graph/Structures_Graph_Node.html
  /opt/local/lib/php/doc/Structures_Graph/docs/html/Structures_Graph/_Structures_Graph_Manipulator_AcyclicTest_php.html
  /opt/local/lib/php/doc/Structures_Graph/docs/html/Structures_Graph/_Structures_Graph_Manipulator_TopologicalSorter_php.html
  /opt/local/lib/php/doc/Structures_Graph/docs/html/Structures_Graph/_Structures_Graph_Node_php.html
  /opt/local/lib/php/doc/Structures_Graph/docs/html/Structures_Graph/_Structures_Graph_php.html
  /opt/local/lib/php/doc/Structures_Graph/docs/html/Structures_Graph/tutorial_Structures_Graph.pkg.html
  /opt/local/lib/php/doc/Structures_Graph/docs/html/classtrees_Structures_Graph.html
  /opt/local/lib/php/doc/Structures_Graph/docs/html/elementindex.html
  /opt/local/lib/php/doc/Structures_Graph/docs/html/elementindex_Structures_Graph.html
  /opt/local/lib/php/doc/Structures_Graph/docs/html/errors.html
  /opt/local/lib/php/doc/Structures_Graph/docs/html/index.html
  /opt/local/lib/php/doc/Structures_Graph/docs/html/li_Structures_Graph.html
  /opt/local/lib/php/doc/Structures_Graph/docs/html/media/banner.css
  /opt/local/lib/php/doc/Structures_Graph/docs/html/media/stylesheet.css
  /opt/local/lib/php/doc/Structures_Graph/docs/html/packages.html
  /opt/local/lib/php/doc/Structures_Graph/docs/html/todolist.html
  /opt/local/lib/php/doc/Structures_Graph/docs/tutorials/Structures_Graph/Structures_Graph.pkg
  /opt/local/lib/php/doc/XML_Util/examples/example.php
  /opt/local/lib/php/doc/XML_Util/examples/example2.php
  /opt/local/lib/php/pearcmd.php
  /opt/local/lib/php/peclcmd.php
  /opt/local/lib/php/test/Structures_Graph/tests/AllTests.php
  /opt/local/lib/php/test/Structures_Graph/tests/testCase/BasicGraph.php
  /opt/local/lib/php/test/XML_Util/tests/AllTests.php
  /opt/local/lib/php/test/XML_Util/tests/testBasic_apiVersion.phpt
  /opt/local/lib/php/test/XML_Util/tests/testBasic_attributesToString.phpt
  /opt/local/lib/php/test/XML_Util/tests/testBasic_collapseEmptyTags.phpt
  /opt/local/lib/php/test/XML_Util/tests/testBasic_createCDataSection.phpt
  /opt/local/lib/php/test/XML_Util/tests/testBasic_createComment.phpt
  /opt/local/lib/php/test/XML_Util/tests/testBasic_createEndElement.phpt
  /opt/local/lib/php/test/XML_Util/tests/testBasic_createStartElement.phpt
  /opt/local/lib/php/test/XML_Util/tests/testBasic_createTag.phpt
  /opt/local/lib/php/test/XML_Util/tests/testBasic_createTagFromArray.phpt
  /opt/local/lib/php/test/XML_Util/tests/testBasic_getDocTypeDeclaration.phpt
  /opt/local/lib/php/test/XML_Util/tests/testBasic_getXmlDeclaration.phpt
  /opt/local/lib/php/test/XML_Util/tests/testBasic_isValidName.phpt
  /opt/local/lib/php/test/XML_Util/tests/testBasic_raiseError.phpt
  /opt/local/lib/php/test/XML_Util/tests/testBasic_replaceEntities.phpt
  /opt/local/lib/php/test/XML_Util/tests/testBasic_reverseEntities.phpt
  /opt/local/lib/php/test/XML_Util/tests/testBasic_splitQualifiedName.phpt
  /opt/local/lib/php/test/XML_Util/tests/testBug_4950.phpt
  /opt/local/lib/php/test/XML_Util/tests/testBug_5392.phpt
  /opt/local/share/man/man1/php-config.1.gz
  /opt/local/share/man/man1/php.1.gz
  /opt/local/share/man/man1/phpize.1.gz
  /opt/local/var/db/php5/.turd_php5

comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Please report the problem to the developers of PHP. We're not requesting that behavior in MacPorts and I don't know how to stop it.

comment:7 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: php5 upgrade - no command line binary foundphp5: installs php binary as php.dSYM

comment:8 Changed 13 years ago by lhridley@…

OK, after doing some googling, here's what I did to get a working install:

uninstalled php with "sudo port uninstall php5"
uninstalled all installed php extensions
ran a port clean --all

reinstalled php with "sudo port install php5"
reinstalled the apache php module and restarted apache

Renamed /opt/local/bin/php.dSYM to /opt/local/bin/php

reinstalled each php extension that was installed before
(side note: php5-svn and php5-snmp don't install correctly. php5-svn errors out, and php5-snmp throws errors when running php at the command line.)

restarted apache

Right now, everything appears to be functioning correctly.

comment:9 in reply to:  8 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to lhridley@…:

Renamed /opt/local/bin/php.dSYM to /opt/local/bin/php

We need to find out why PHP decided to install "php.dSYM" instead of "php" in the first place. I don't know how to find out. I suggest you talk to the developers of PHP.

(side note: php5-svn and php5-snmp don't install correctly. php5-svn errors out, and php5-snmp throws errors when running php at the command line.)

Please file separate tickets for these issues, if they are still applicable.

Note we have new PHP ports now: php53, php53-svn, php53-snmp, php54, php54-svn, php54-snmp. Please test those and let us know if you still see any of the above issues with them.

comment:10 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: holms@… added

Has duplicate #35258.

comment:11 Changed 12 years ago by rob@…

I ran into this same issue with the php53 port.

It seems it's being caused by the +debug variant. Without that variant, everything compiles fine and there's a php53 executable in /opt/local/bin. With that variant, however, there's only php53.dSYM in /opt/local/bin. I reinstalled the port a couple of times to make sure it was in fact the +debug variant causing this.

comment:12 Changed 6 years ago by jmroot (Joshua Root)

Port: php53 added; php5 removed
Summary: php5: installs php binary as php.dSYMphp53 +debug: installs php binary as php.dSYM
Note: See TracTickets for help on using tickets.