WEB & WAS56 phpmysql 연동 php파일 vi phpmysqltest.php WEB & WAS/PHP 2023. 3. 17. PHP 설치시 오류 모음집 PHP 각오류 날시 경우들 configure: error: Could not find net-snmp-config binary. Please check your net-snmp installation. Fix: yum install net-snmp-devel configure: error: DBA: Could not find necessary header file(s) 일반적으로 # yum install gdbm gdbm-devel 이면 해결되지만 계속해서 나는 경우 # yum install libdb-devel 해준다. configure: error: DBA: Could not find necessary library. # ln -s /usr/lib64/libgdbm_compat.so /usr/loca.. WEB & WAS/PHP 2023. 3. 17. php.ini 설정 1. short_open_tag = On Tells PHP whether the short form () of PHP's open tag should be allowed Off 일땐 WEB & WAS/PHP 2023. 3. 17. CentOS 7 PHP 8.2.33 소스 컴파일 설치 (현재 8.2.4 23/03/17) ## PHP 설치전 선행 작업 cd /usr/local/src/ yum install -y wget vim epel-release yum install -y https://rpms.remirepo.net/enterprise/remi-release-7.rpm yum update -y ## CentOS 7 Default 환경변수설정 echo " " >> /etc/profile echo "####default PATH#####" >> /etc/profile echo "export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:" >> /etc/profile echo "#####################" >> /etc/profile ##.. WEB & WAS/PHP 2023. 3. 17. CentOS 7 PHP 8.1.33 소스 컴파일 설치 (현재 8.1.17 23/03/17) ## PHP 설치전 선행 작업 cd /usr/local/src/ yum install -y wget vim epel-release yum install -y https://rpms.remirepo.net/enterprise/remi-release-7.rpm yum update -y ## CentOS 7 Default 환경변수설정 echo " " >> /etc/profile echo "####default PATH#####" >> /etc/profile echo "export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:" >> /etc/profile echo "#####################" >> /etc/profile ##.. WEB & WAS/PHP 2023. 3. 17. CentOS 7 PHP 8.0.33 소스 컴파일 설치 (현재 8.0.28 23/03/17) ## PHP 설치전 선행 작업 cd /usr/local/src/ yum install -y wget vim epel-release yum install -y https://rpms.remirepo.net/enterprise/remi-release-7.rpm yum update -y ## CentOS 7 Default 환경변수설정 echo " " >> /etc/profile echo "####default PATH#####" >> /etc/profile echo "export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:" >> /etc/profile echo "#####################" >> /etc/profile ##.. WEB & WAS/PHP 2023. 3. 17. CentOS 7 PHP 7.4.33 소스 컴파일 설치 ## PHP 설치전 선행 작업 cd /usr/local/src/ yum install -y wget vim epel-release yum install -y https://rpms.remirepo.net/enterprise/remi-release-7.rpm yum update -y ## CentOS 7 Default 환경변수설정 echo " " >> /etc/profile echo "####default PATH#####" >> /etc/profile echo "export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:" >> /etc/profile echo "#####################" >> /etc/profile ##.. WEB & WAS/PHP 2023. 3. 16. CentOS 7 PHP 7.3.33 소스 컴파일 설치 ## PHP 설치전 선행 작업 cd /usr/local/src/ yum install -y wget vim epel-release yum install -y https://rpms.remirepo.net/enterprise/remi-release-7.rpm yum update -y ## CentOS 7 Default 환경변수설정 echo " " >> /etc/profile echo "####default PATH#####" >> /etc/profile echo "export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:" >> /etc/profile echo "#####################" >> /etc/profile ##.. WEB & WAS/PHP 2023. 3. 16. CentOS 7 PHP 7.2.34 소스 컴파일 설치 ## PHP 설치전 선행 작업 cd /usr/local/src/ yum install -y wget vim epel-release yum install -y https://rpms.remirepo.net/enterprise/remi-release-7.rpm yum update -y ## CentOS 7 Default 환경변수설정 echo " " >> /etc/profile echo "####default PATH#####" >> /etc/profile echo "export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:" >> /etc/profile echo "#####################" >> /etc/profile ##.. WEB & WAS/PHP 2023. 3. 16. CentOS 7 PHP 7.1.33 소스 컴파일 설치 ## PHP 설치전 선행 작업 cd /usr/local/src/ yum install -y wget vim epel-release yum install -y https://rpms.remirepo.net/enterprise/remi-release-7.rpm yum update -y ## CentOS 7 Default 환경변수설정 echo " " >> /etc/profile echo "####default PATH#####" >> /etc/profile echo "export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:" >> /etc/profile echo "#####################" >> /etc/profile ##.. WEB & WAS/PHP 2023. 3. 16. CentOS 7 PHP 7.0.33 소스 컴파일 설치 ## PHP 설치전 선행 작업 cd /usr/local/src/ yum install -y wget vim epel-release yum install -y https://rpms.remirepo.net/enterprise/remi-release-7.rpm yum update -y ## CentOS 7 Default 환경변수설정 echo " " >> /etc/profile echo "####default PATH#####" >> /etc/profile echo "export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:" >> /etc/profile echo "#####################" >> /etc/profile ##.. WEB & WAS/PHP 2023. 3. 16. CentOS 7 PHP 5.6.40 소스 컴파일 설치 ## PHP 설치전 선행 작업 cd /usr/local/src/ yum install -y wget vim epel-release yum install -y https://rpms.remirepo.net/enterprise/remi-release-7.rpm yum update -y ## CentOS 7 Default 환경변수설정 echo " " >> /etc/profile echo "####default PATH#####" >> /etc/profile echo "export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:" >> /etc/profile echo "#####################" >> /etc/profile ##.. WEB & WAS/PHP 2023. 3. 16. 이전 1 2 3 4 5 다음