Showing posts with label apache2 error. Show all posts
Showing posts with label apache2 error. Show all posts

Thursday, March 13, 2014

Warning: include(): http:// wrapper is disabled in the server configuration by allow_url_include=0
  The web server can't load an external php file, to patch it, go to php.ini file, find allow_url_include=off  and set it to on, restart all apache services and it's done !

Note: it's insecure to allow external files to be included in your web page (see why) so use it on your own risk.

Friday, February 28, 2014

This how to fix
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
In order  to solve this problem You need set the ServerName in httpd.conf file, for example in my case I used "ubuntu" as a server name
  • first goto httpd.conf
#vim /etc/apache2/httpd.conf/
  •  set ServerName attribute to ubuntu
ServerName ubuntu
  • Restart apache2
#service apche2 restart

That's All!