Neps Posted March 11, 2009 Report Share Posted March 11, 2009 funkcija file_get_contents() - kas jaanokonfiguree apache un php lai shii funkcija vareetu dabuut datus no HTTPS? Saprotams, ka apache ir ar ssl uzinstaleets un nokonfigureets url wrapper=on. Kas veel vajadziigs? Quote Link to comment Share on other sites More sharing options...
Roze Posted March 11, 2009 Report Share Posted March 11, 2009 PHP jakompilē ar openssl ( --with-openssl ) Quote Link to comment Share on other sites More sharing options...
Neps Posted March 11, 2009 Author Report Share Posted March 11, 2009 jau dariits Quote Link to comment Share on other sites More sharing options...
Klez Posted March 11, 2009 Report Share Posted March 11, 2009 (edited) a kas nestrādā ? http://lv.php.net/manual/en/wrappers.http.php Edited March 11, 2009 by Klez Quote Link to comment Share on other sites More sharing options...
Neps Posted March 11, 2009 Author Report Share Posted March 11, 2009 PHP Notice: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? i Quote Link to comment Share on other sites More sharing options...
Neps Posted March 11, 2009 Author Report Share Posted March 11, 2009 un tad, kad tas ir iepaziits par https raadaas fopen(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? Quote Link to comment Share on other sites More sharing options...
bubu Posted March 11, 2009 Report Share Posted March 11, 2009 Paskaties phpinfo() outputu vai tur uzrādās https pie supportētajiem wrapperiem ("Registered PHP Streams"). Quote Link to comment Share on other sites More sharing options...
Neps Posted March 11, 2009 Author Report Share Posted March 11, 2009 neuzraadaas gan Quote Link to comment Share on other sites More sharing options...
Neps Posted March 13, 2009 Author Report Share Posted March 13, 2009 php.exe -i > txt.txt uzraada: phpinfo() PHP Version => 5.2.9-1 System => Windows NT ANIXWRKS-1058- 5.1 build 2600 Build Date => Mar 5 2009 20:01:54 Configure Command => cscript /nologo configure.js "--enable-snapshot-build" "--enable-debug-pack" "--with-snapshot-template=d:\php-sdk\snap_5_2\vc6\x86\template" "--with-php-build=d:\php-sdk\snap_5_2\vc6\x86\php_build" "--with-pdo-oci=D:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8=D:\php-sdk\oracle\instantclient10\sdk,shared" "--enable-htscanner=shared" "--without-pi3web" Server API => Command Line Interface Virtual Directory Support => enabled Configuration File (php.ini) Path => C:\WINDOWS Loaded Configuration File => C:\WINDOWS\php.ini Scan this dir for additional .ini files => (none) additional .ini files parsed => (none) PHP API => 20041225 PHP Extension => 20060613 Zend Extension => 220060519 Debug Build => no Thread Safety => enabled Zend Memory Manager => enabled IPv6 Support => enabled Registered PHP Streams => php, file, data, http, ftp, compress.zlib, compress.bzip2, https, ftps, zip Registered Stream Socket Transports => tcp, udp, ssl, sslv3, sslv2, tls Registered Stream Filters => convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.*, bzip2.* bet phpinfo() uzraada: Registered PHP Streams php, file, data, http, ftp, compress.zlib Registered Stream Socket Transports tcp, udp nevaru iebraukt kur ir kljuuda Quote Link to comment Share on other sites More sharing options...
bubu Posted March 13, 2009 Report Share Posted March 13, 2009 php.ini fails ir tas tas gan phpinfo(), gan komandrindā? Quote Link to comment Share on other sites More sharing options...
Neps Posted March 13, 2009 Author Report Share Posted March 13, 2009 atradu fishku: 1. phpinfo() Loaded Configuration File D:\PHP\php.ini <iisto PHP jaaizveelaas 2. Environment variables OPENSSL_CONF=C:\usr\local\ssl\openssl.cnf < jaanoraada cnf fails PHPRC=D:\PHP\php.ini < var noraadiit var nenoraadiit 3. php.ini extension=php_openssl.dll < paarbaudam vai taadas fails tur vispaar skalojaas extension_dir=D:\PHP\ext < parasti php direktorijaa 4. apache httpd.conf LoadModule ssl_module modules/mod_ssl.so < nu jaabuut bez ; PHPIniDir "D:/PHP/" < taapeec PHPRC vareeja nenoraadiit LoadModule php5_module "D:/PHP/php5apache2_2.dll" < lai apacis php atrod protams, ka apache un php jaabuut ar ssl supportu jau uzinstaleetiem! Klanos un veelreiz klanos - nepagaaja ne nedeelja ka tiku skaidriibaa! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.