개발 스크랩 메모/PHP
php 에 posix 설치
렉사이
2020. 12. 20. 23:52
php-m cmd 를 실행할 때 POSIX 가 나타나지 않았지만, 나는 phpinfo () 에서 그것을 보았다.
enable POSIX = shared on Linux with Plesk 9.
기본적으로 나는 포식스 함수를 사용할 수 없다http://www.php.net/manual/en/ref.posix.php
존재하지 않습니다:
if (function_exists('posix_getuid')) { echo "posix_getuid available"; } else { echo "posix_getuid not available"; // this prints in my server. }
누가 나에게 어떻게 설치하는지 가르쳐 줄 수 있습니까?감사합니다.
[PHP Modules] bz2 calendar ctype curl date dbase dom exif fileinfo filter ftp gd geoip gettext gmp hash iconv imap ionCube Loader json libxml mbstring mcrypt memcache mhash mysql mysqli openssl pcntl pcre PDO pdo_mysql pdo_sqlite readline Reflection session shmop SimpleXML sockets SPL sqlite standard tokenizer wddx xml xmlreader xmlwriter xsl zip zlib
대답
나는 해결 방법을 찾았다.
yum install php-process
이 가방은 php posix 를 지원합니다.