Skip to content

Commit 5885487

Browse files
committed
Modify php.ini and remove php in front of mailwrapper.
1 parent 7f152f6 commit 5885487

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

install/hst-install-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1491,7 +1491,7 @@ hestiacp.com team
14911491
" > $tmpfile
14921492

14931493
send_mail="$HESTIA/web/inc/mail-wrapper.php"
1494-
cat $tmpfile | php $send_mail -s "Hestia Control Panel" $email
1494+
cat $tmpfile | $send_mail -s "Hestia Control Panel" $email
14951495

14961496
# Congrats
14971497
echo '======================================================='

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1433,7 +1433,7 @@ hestiacp.com team
14331433
" > $tmpfile
14341434

14351435
send_mail="$HESTIA/web/inc/mail-wrapper.php"
1436-
cat $tmpfile | php $send_mail -s "Hestia Control Panel" $email
1436+
cat $tmpfile | $send_mail -s "Hestia Control Panel" $email
14371437

14381438
# Congrats
14391439
echo '======================================================='

src/deb/php/php.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ zend.enable_gc = On
371371
; threat in any way, but it makes it possible to determine whether you use PHP
372372
; on your server or not.
373373
; http://php.net/expose-php
374-
expose_php = On
374+
expose_php = Off
375375

376376
;;;;;;;;;;;;;;;;;;;
377377
; Resource Limits ;
@@ -457,7 +457,7 @@ memory_limit = 128M
457457
; Development Value: E_ALL
458458
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
459459
; http://php.net/error-reporting
460-
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
460+
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
461461

462462
; This directive controls whether or not and where PHP will output errors,
463463
; notices and warnings too. Error output is very useful during development, but

0 commit comments

Comments
 (0)