Skip to content

Commit

Permalink
Fixed iphoting#6: PHP build/package script now correctly installs new…
Browse files Browse the repository at this point in the history
…relic.so

into extensions folder.
  • Loading branch information
iphoting committed Oct 6, 2012
1 parent 31dbd1a commit ca9b445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/ec2-build-php.sh
Expand Up @@ -163,7 +163,7 @@ popd
echo "+ Install newrelic..."
curl -L "http://download.newrelic.com/php_agent/archive/${NEWRELIC_VERSION}/newrelic-php5-${NEWRELIC_VERSION}-linux.tar.gz" | tar xz
pushd newrelic-php5-${NEWRELIC_VERSION}-linux
cp -f agent/x64/newrelic-`phpize --version | grep "PHP Api Version" | tr -d ' ' | cut -f 2 -d ':'`.so `php-config --extension-dir`/newrelic.so
cp -f agent/x64/newrelic-`phpize --version | grep "Zend Module Api No" | tr -d ' ' | cut -f 2 -d ':'`.so `php-config --extension-dir`/newrelic.so
popd

echo "+ Packaging PHP..."
Expand Down

0 comments on commit ca9b445

Please sign in to comment.