Skip to content

Commit

Permalink
Add memory_limit=-1 to PHP 5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Jul 18, 2020
1 parent a9c5419 commit b01a829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php-5.3/post-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ for tool in pear peardev pecl php phar phar.phar php-cgi php-config phpize; do
done
ini_file=$(php -d "date.timezone=UTC" --ini | grep "Loaded Configuration" | sed -e "s|.*:s*||" | sed "s/ //g")
sudo chmod 777 "$ini_file"
echo "date.timezone=UTC" >>"$ini_file"
echo -e "date.timezone=UTC\nmemory_limit=-1" >>"$ini_file"

0 comments on commit b01a829

Please sign in to comment.