Server error: Connection reset by peer | End of script output before headers
Viewed 2447 times since Mon, Feb 28, 2022
I managed to solved this by adding FcgidBusyTimeout . Just in case if anyone have similar issue with me. Here is my settings on my apache.conf: <VirtualHost *:80> ....... <IfModule mod_fcgid.c> FcgidBusyTimeout 3600 <...
Read More
ImageTTFtextBlur $> Is there any way to make image with text shadow in PHP with GD?
Viewed 1769 times since Thu, Sep 17, 2020
Reference: https://stackoverflow.com/questions/35012542/is-there-any-way-to-make-image-with-text-shadow-in-php-with-gd
Read More
Using PHP “openssl_encrypt” and “openssl_decrypt” to Encrypt and Decrypt Data
Viewed 1334 times since Sun, Oct 4, 2020
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 <?php //$key is our base64 encoded 256bit key that we created earlier. You will probably store and define this key in a config file. ...
Read More
Where is path for rh-php73 in CentOS
Viewed 779 times since Fri, Feb 5, 2021
PHP Warning: PHP Startup: Unable to load dynamic library ’curl’
Viewed 774 times since Thu, Feb 3, 2022
simply copy libcrypto-1_1-x64.dll, libssh2.dll, libssl-1_1-x64.dll and nghttp2.dll from the PHP folder into the apache bin folder. Ref:https://www.titanwolf.org/Network/q/7f78aa5c-6ba2-41ed-8644-5c9366426eea/y
Read More
"End of script output before headers" in Apache + PHP
Viewed 613 times since Sun, Feb 27, 2022
The issue was that the request was timing out before the script completed, due to a long-running database query. So that generic End of script output before headers error can be caused by server timeouts as well as file permissions...
Read More
How to Install ionCube Loader in CentOS 7
Viewed 519 times since Fri, Feb 5, 2021
zend_extension = /usr/lib64/php/modules/ioncube_loader_lin_5.4.so
Read More
How do you define a PHP include as a string?
Viewed 495 times since Sun, Oct 4, 2020
<?PHP function return_output($file){ ob_start(); include $file; return ob_get_clean(); } $content = return_output('some/file.php')Reference:https://stackoverflow.com/questions/2150194/how-do-you-define-a-php-include-as-a...
Read More