-
-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix crypto in flex 3.13 series (#283)
* fix crypto in flex 3.13 series * adjustment * optimized and got xdebug working for flex:3.13 * optimized and got xdebug working for flex:3.13-8 * fix * optimized and got xdebug working for flex:edge * fixed 6.1.0 for cargo
- Loading branch information
1 parent
df8c4f0
commit 19f8b0e
Showing
7 changed files
with
67 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -328,8 +328,8 @@ rm -f /var/www/localhost/htdocs/auto_configure.php | |
if [ "$REDIS_SERVER" != "" ] && | ||
[ ! -f /etc/php-redis-configured ]; then | ||
# Variable for $REDIS_SERVER is usually going to be something like 'redis' | ||
sed -i "[email protected]_handler = [email protected]_handler = redis@" /etc/php7/php.ini | ||
sed -i "s@;session.save_path = \"/tmp\"@session.save_path = \"tcp://$REDIS_SERVER:6379\"@" /etc/php7/php.ini | ||
sed -i "[email protected]_handler = [email protected]_handler = redis@" /etc/php8/php.ini | ||
sed -i "s@;session.save_path = \"/tmp\"@session.save_path = \"tcp://$REDIS_SERVER:6379\"@" /etc/php8/php.ini | ||
# Ensure only configure this one time | ||
touch /etc/php-redis-configured | ||
fi | ||
|
@@ -338,25 +338,26 @@ if [ "$XDEBUG_IDE_KEY" != "" ] && | |
[ ! -f /etc/php-xdebug-configured ]; then | ||
# install xdebug library | ||
apk update | ||
apk add --no-cache php7-pecl-xdebug | ||
apk add --no-cache php8-pecl-xdebug | ||
|
||
# set up xdebug in php.ini | ||
echo "; start xdebug configuration" >> /etc/php7/php.ini | ||
echo "zend_extension=/usr/lib/php7/modules/xdebug.so" >> /etc/php7/php.ini | ||
echo "xdebug.remote_enable=1" >> /etc/php7/php.ini | ||
echo "xdebug.remote_handler=dbgp" >> /etc/php7/php.ini | ||
echo "xdebug.remote_port=9000" >> /etc/php7/php.ini | ||
echo "xdebug.remote_connect_back=1" >> /etc/php7/php.ini | ||
echo "xdebug.idekey=${XDEBUG_IDE_KEY}" >> /etc/php7/php.ini | ||
echo "xdebug.remote_log=/tmp/xdebug.log" >> /etc/php7/php.ini | ||
echo "; start xdebug configuration" >> /etc/php8/php.ini | ||
echo "zend_extension=/usr/lib/php8/modules/xdebug.so" >> /etc/php8/php.ini | ||
echo "xdebug.output_dir=/tmp" >> /etc/php8/php.ini | ||
echo "xdebug.start_with_request=trigger" >> /etc/php8/php.ini | ||
if [ "$XDEBUG_PROFILER_ON" == 1 ]; then | ||
# set up xdebug profiler | ||
echo "xdebug.profiler_enable=0" >> /etc/php7/php.ini | ||
echo "xdebug.profiler_enable_trigger=1" >> /etc/php7/php.ini | ||
echo "xdebug.profiler_output_dir=/tmp" >> /etc/php7/php.ini | ||
echo "xdebug.profiler_output_name=cachegrind.out.%s" >> /etc/php7/php.ini | ||
echo "xdebug.mode=debug,profile" >> /etc/php8/php.ini | ||
echo "xdebug.profiler_output_name=cachegrind.out.%s" >> /etc/php8/php.ini | ||
else | ||
echo "xdebug.mode=debug" >> /etc/php8/php.ini | ||
fi | ||
echo "; end xdebug configuration" >> /etc/php7/php.ini | ||
echo "xdebug.remote_handler=dbgp" >> /etc/php8/php.ini | ||
echo "xdebug.client_port=9000" >> /etc/php8/php.ini | ||
echo "xdebug.discover_client_host=1" >> /etc/php8/php.ini | ||
echo "xdebug.idekey=${XDEBUG_IDE_KEY}" >> /etc/php8/php.ini | ||
echo "xdebug.log=/tmp/xdebug.log" >> /etc/php8/php.ini | ||
echo "; end xdebug configuration" >> /etc/php8/php.ini | ||
|
||
# Ensure only configure this one time | ||
touch /etc/php-xdebug-configured | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters