서버설정

Changing SSH Port (CentOS)

SSHD Configuration vi /etc/ssh/sshd_config Port {port_number} service sshd restart Firewall Configuration vi /etc/sysconfig/iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport {port} -j ACCEPT service iptables restart * After changing the SSH port, ensure that the firewall is configured to allow traffic on that port.

php.ini File Configuration

Check after server installation short_open_tag = On Enables the use of "<?php" and "<?". display_errors = On Outputs error messages if they occur during PHP script execution. (If set to Off, it will display HTTP 500 Internal Server Error) date.timezone = Asia/Seoul Sets the specified timezone. error_reporting=E_ALL & ~E_NOTICE & ~E_DEPRECATED Ignores notice errors. (*...