Skip to content

Commit e7ad886

Browse files
committed
Load php.ini from function code root directory
1 parent 4c04b4d commit e7ad886

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bootstrap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function start_webserver() {
1515
// exec the command
1616
$HANDLER = getenv('_HANDLER');
1717
chdir('/var/task');
18-
exec("php -S localhost:8000 '$HANDLER'");
18+
exec("php -S localhost:8000 -c /var/task/php.ini '$HANDLER'");
1919
exit;
2020

2121
// return the child pid to parent

0 commit comments

Comments
 (0)