Opened 9 years ago

Last modified 4 years ago

#50683 new defect

php56-enchant crashes phpinfo()

Reported by: buname@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: php-enchant

Description

make phpinfo(); crashing php -i is working

php56-enchant-5.6.18_0.darwin_14.x86_64.tbz2

see my script do discover who crash phpinfo() (launched by sudo test.sh)

#!/usr/bin/env bash

# instal all the stuff, php56-FreeImage cause php -i error in the previous round
port install $(port echo name:^php56 | grep -v -E 'php56-oracle|php56-cairo_wrapper|php56-xcache|php56-FreeImage' )

# list installed, don't try to deactivate php56-apache2handler|php56-curl because of dependencies
for thePort in $( port echo installed | awk '{if($1~'/^php56-/') print $1 ;}' | grep -v -E 'php56-apache2handler|php56-curl' ) ; do
	# try do deactivate a module
	echo -n "Test without $thePort : " 
	port deactivate $thePort
	if [ ! "$?" -eq "0" ] ; then
		echo "Error for deactivate"
		exit 1
	fi
	# began tests 
	/opt/local/bin/php -i &> /dev/null
	if [ ! "$?" -eq "0" ] ; then
		echo "ERROR php -i"
	else
		echo "OK"
		echo -n "Web test : "
		port unload apache2
		sleep 2
		port load apache2
		sleep 1
		curl http://127.0.0.1/index.php &> ~/tmpCurlOut
		if [ ! "$?" -eq "0" ] ; then
			echo "ERROR web test"
		else
			echo "OK we find the web faulty module !"
			exit 1		
		fi		
	fi
	# on reactive
	port activate $thePort
	if [ ! "$?" -eq "0" ] ; then
		echo "Error for activate"
		exit 1
	fi
done

Change History (2)

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

Owner: changed from macports-tickets@… to ryandesign@…
Port: php-enchant added
Summary: php56-enchantphp56-enchant crashes phpinfo()

You should report this crash to the developers of the PHP enchant module so they can fix it. It is unlikely to be a problem limited to MacPorts.

comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Is this still a problem? If so, did you report it to the developers? If so, please share the URL here.

Note: See TracTickets for help on using tickets.