Skip to content
Advertisement

Tag: git

Cannot connect database to heroku with PHP

I am not able to connect my database(.sql) file to heroku. I am using PHP for connecting database and frontend of webpage. The heroku page is showing the static site and for login page, it’s showing error while registering new user. It’s working perfectly fine when I run it on xampp server. On clicking submit button of a form on

PhpStorm external tools before commit

I have an External Tools entry php-cs-fixer and I want run it before commit. I found only after, but why after? I need before. I want after work with file, commit it and don’t worry about code style, I want to know that my PhpStorm run external tools php-cs-fixer before committed file. How to add run external tools before commit

Git WebHook will not pull (PHP)

I have a PHP file, hook.php, that looks like this: <?php `cd .. && git pull`; The file is located in /var/www/oliverash.me/site/. However, the git repository that needs to be pulled is /var/www/oliverash.me/. ./site is the folder Apache looks to as the document root. When I run the file in my browser, it does not seem to be pulling the

Advertisement