#44353 [Fbk->Opn]: https loads in apache, fails on cli. http fine

2008-03-14 Thread jmatthies at townleyandassociates dot com
 ID:   44353
 User updated by:  jmatthies at townleyandassociates dot com
 Reported By:  jmatthies at townleyandassociates dot com
-Status:   Feedback
+Status:   Open
 Bug Type: CGI related
 Operating System: hp/ux 11.11
 PHP Version:  5.2.5
 New Comment:

p -n  gives identical results:

Warning: file_get_contents(): SSL: No such file or directory in
/opt/hpws/apache /htdocs/t.php on line 2
Warning: file_get_contents(): Failed to enable crypto in
/opt/hpws/apache/htdocs /t.php on line 2
Warning: file_get_contents(https://www.google.co.uk/ig?hl=en): failed
to open st ream: No such file or directory in
/opt/hpws/apache/htdocs/t.php on line 2


Previous Comments:


[2008-03-13 12:18:28] [EMAIL PROTECTED]

Works fine for me. Try running the CLI binary without loading any
php.ini:

# php -n test.php




[2008-03-06 18:03:56] jmatthies at townleyandassociates dot com

Description:

simple php file:

https://www.google.co.uk/ig?hl=en'); ?>

works fine when loaded in apache 2.0.58. When i run it via the cli, I
get:

Warning: file_get_contents(): SSL: No such file or directory in 
Warning: file_get_contents(): Failed to enable crypto in 

If I change it to http://, it works in apache and the cli

Configure Command =>  './configure'  '--prefix=/opt/hpws/apache/php'
'--enable-soap' '--with-libxml-dir=/usr/local'
'--with-openssl=/usr/local' '--with-openssl-dir=/usr/local'
'--enable-ipv6' '--with-apxs2=/opt/hpws/apache/bin/apxs' 
'--with -unixODBC=shared,/opt/unixODBC'

php -m shows the openssl module loaded. php -i shows similar output to
phpinfo() through apache in regards to openssl info.


Reproduce code:
---
https://www.google.co.uk/ig?hl=en'); ?>

Expected result:

load the web page in question

Actual result:
--
Warning: file_get_contents(): SSL: No such file or directory in
/opt/hpws/apache /htdocs/t.php on line 2
Warning: file_get_contents(): Failed to enable crypto in
/opt/hpws/apache/htdocs /t.php on line 2
Warning: file_get_contents(https://www.google.co.uk/ig?hl=en): failed
to open stream: Invalid argument in /opt/hpws/apache/htdocs/t.php on
line 2






-- 
Edit this bug report at http://bugs.php.net/?id=44353&edit=1



#44353 [NEW]: https loads in apache, fails on cli. http fine

2008-03-06 Thread jmatthies at townleyandassociates dot com
From: jmatthies at townleyandassociates dot com
Operating system: hp/ux 11.11
PHP version:  5.2.5
PHP Bug Type: CGI related
Bug description:  https loads in apache, fails on cli. http fine

Description:

simple php file:

https://www.google.co.uk/ig?hl=en'); ?>

works fine when loaded in apache 2.0.58. When i run it via the cli, I
get:

Warning: file_get_contents(): SSL: No such file or directory in 
Warning: file_get_contents(): Failed to enable crypto in 

If I change it to http://, it works in apache and the cli

Configure Command =>  './configure'  '--prefix=/opt/hpws/apache/php'
'--enable-soap' '--with-libxml-dir=/usr/local' '--with-openssl=/usr/local'
'--with-openssl-dir=/usr/local' '--enable-ipv6'
'--with-apxs2=/opt/hpws/apache/bin/apxs' 
'--with -unixODBC=shared,/opt/unixODBC'

php -m shows the openssl module loaded. php -i shows similar output to
phpinfo() through apache in regards to openssl info.


Reproduce code:
---
https://www.google.co.uk/ig?hl=en'); ?>

Expected result:

load the web page in question

Actual result:
--
Warning: file_get_contents(): SSL: No such file or directory in
/opt/hpws/apache /htdocs/t.php on line 2
Warning: file_get_contents(): Failed to enable crypto in
/opt/hpws/apache/htdocs /t.php on line 2
Warning: file_get_contents(https://www.google.co.uk/ig?hl=en): failed to
open stream: Invalid argument in /opt/hpws/apache/htdocs/t.php on line 2


-- 
Edit bug report at http://bugs.php.net/?id=44353&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=44353&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=44353&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=44353&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=44353&r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=44353&r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=44353&r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=44353&r=needscript
Try newer version:http://bugs.php.net/fix.php?id=44353&r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=44353&r=support
Expected behavior:http://bugs.php.net/fix.php?id=44353&r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=44353&r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=44353&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=44353&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=44353&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=44353&r=dst
IIS Stability:http://bugs.php.net/fix.php?id=44353&r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=44353&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=44353&r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=44353&r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=44353&r=mysqlcfg