Category Archives: php

PHP Startup: Unable to load dynamic library php_openssl.dll

You might get the error: “PHP Startup: Unable to load dynamic library php_openssl.dll. The operating system cannot run %1“, when you are trying to start the apache server in the error.log file. Basically what this error is trying to mention … Continue reading

Posted in php, windows | Tagged , , | Leave a comment

How to remove all comments in a file

If you are ever stuck in situation where you want to remove all the comments regardless of what they are in a source file. Here’s a small command that you can issue in VIM. It is for pattern search and … Continue reading

Posted in Tips, linux, php | Leave a comment

php header() function not working!

I was going nuts to find the problem why did the header() function didn’t redirect my page in some instance and did in others! Luckily I found this function ‘headers_sent()’ which will tell you if at any given point any … Continue reading

Posted in php | Leave a comment

Fatal error: Unable to read X bytes in file.php

If you got this error Fatal error: Unable to read X bytes in file.php, then: You have encoded your php files using Zend Encoder and uploaded to the server but gives you this error. This problem occurs due to your … Continue reading

Posted in php, zend | Leave a comment