Went to an error 500 in production server while using PHP SoapClient library to connect to some third-party API. The error was really strange, just error 500 and nothing more, even if you are using try catch, you won’t be able to catch and see the error.
Continue reading “PHP SoapClient() gives error 500 and cannot catch the error”
Tag: php
How to change directory permissions in PHP
In general, there is no big problem and it is quite easy to change permissions of a directory to 0777 or something different, you simply do (if you create) mkdir('/project/data/videos', 0777)
but this might not work…
Continue reading “How to change directory permissions in PHP”