Monday, November 25, 2019

Drupal 7 - How To Resolve An EasyRec HTTPD Connection Error

Drupal 7 / CentOS 7


How To Resolve An EasyRec HTTPD Connection Error


My thanks to Michael Wales for a great explanation of what might need to be done to resolve this error.

Looks like we need to edit the php.ini file that lives in the /etc directory of the server:

# cd /etc
# ls php.ini
php.ini
# ls -lZ php.ini
-rw-r--r--. root root system_u:object_r:etc_t:s0       php.ini

OK, we found it.  Now we need to edit the php.ini and add this directive:

allow_url_fopen = on

Hold it.  
This directive appears to be already enabled.

;;;;;;;;;;;;;;;;;;
; Fopen wrappers ;
;;;;;;;;;;;;;;;;;;

; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
; http://php.net/allow-url-fopen
allow_url_fopen = On


So what could the problem be?

Well, here's a hint as to the source of the problem:



...and further investigation into the status of the project reveals that the EasyRec Project is Stalled:



I guess the next thing is to figure out How To Install  and Run An EasyRec Server.


REFERENCES:

https://sourceforge.net/projects/easyrec/

https://www.a2hosting.com/kb/developer-corner/php/using-php.ini-directives/php-allow-url-fopen-directive

https://stackoverflow.com/questions/697472/php-file-get-contents-returns-failed-to-open-stream-http-request-failed

No comments:

Post a Comment