Skip to content

Commit

Permalink
Make sure php.ini is in defaultFiles. Fix error in lamp-defaults test.
Browse files Browse the repository at this point in the history
  • Loading branch information
reynoldsalec committed Mar 6, 2024
1 parent 578fe00 commit 22abc82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions builders/lamp.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ module.exports = {
confSrc: path.resolve(__dirname, '..', 'config'),
database: 'mysql',
defaultFiles: {
php: 'php.ini',
},
php: '7.4',
via: 'apache',
Expand Down
2 changes: 1 addition & 1 deletion examples/lamp-defaults/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ lando mysql lamp -e quit

# Should use the correct default config files
lando ssh -s appserver -c "cat /usr/local/etc/php/conf.d/zzz-lando-my-custom.ini" | grep "; LANDOLAMPPHPINI"
lando ssh -s appserver_nginx -c "curl -L http://localhost/info.php" | grep max_execution_time | grep 91
lando ssh -s appserver -c "curl -L http://localhost/info.php" | grep max_execution_time | grep 91
lando ssh -s database -c "cat /opt/bitnami/mysql/conf/my_custom.cnf" | grep "LANDOLAMPMYSQLCNF"
lando mysql -u root -e "show variables;" | grep innodb_lock_wait_timeout | grep 121

Expand Down

0 comments on commit 22abc82

Please sign in to comment.