Skip to content
Advertisement

Tag: apache2

AH01630: client denied by server configuration in Django

My website is working but it is not displaying static files present in my project folder. I am getting this error AH01630: client denied by server configuration: /home/ubuntu/project/static/js/homepage.js, referer: http://test.com/home/ Here is the configuration for static in my .conf file: I have followed answers online and added Require all granted but still no luck. My other sites are up and

PHP Thread compilation not working

I am attempting to use pthreads with Apache FPM. Step 1. After installing and recompiling php according to: https://blog.programster.org/ubuntu16-04-compile-php-7-2-with-pthreads The server works as expected and I can run pthreads from CLI. Step 2. Then I need to run threads from a web server so I followed the instructions from: https://antrecu.com/blog/run-php7-fpm-apache-mpmevent-ubuntu-1604 After sudo service apache2 restart && sudo service php7.0-fpm restart:

PHP popen Application cannot open shared object

I’ve created a simple C++ Application with the boost framework. The Application is running correct from the command line. After this I’ve created a PHP file with a popen to this binary. After visiting the website I’ve got the following error message from apache2/error_log System is openSuse Linux. Steps done: Insert lib path to /etc/ld.so.conf and running ldconfig Answer You

Advertisement