Hello iam new here. And i have installed Domitiga on my raspberry pi. Iam running version 1.0.000
I have downloaded the wheezy image from the link on the Domitiga site and update via svn.
Now I can control device and things but I can't get the server for web control an iphone control running. Apache is all preinstalled on de image.
On start up from mij rpi I have an error:
Syntax error on line 244 of etc/apache2/apache2.conf : syntax error on line 1 of /etc/apache2/mods-enables/php5filter.load : cannot load /usr/lib/apache2/modules/libphp5filter.so into s...............
Action 'start' failed
I have don nothing this is the error from the image is on start up
Is there somebody who can help me
Regards bob
Cant get webserver runnig
Moderator: RDNZL
Re: Cant get webserver runnig
I don't know why php5filter is installed for you, but I don't have it on my raspberry and don't have any problems so far.
try disabling the module:
sudo a2dismod php5filter
then try starting apache again:
sudo service apache2 start
try disabling the module:
sudo a2dismod php5filter
then try starting apache again:
sudo service apache2 start
Re: Cant get webserver runnig
thanks now is my server running i can connect it by an other pc. but the page looks strange.
i have done all things from the domotiga website for clients again and stil it looks strange.
i have uploaded an screenshot from the page maby somebody can help me
i have done all things from the domotiga website for clients again and stil it looks strange.
i have uploaded an screenshot from the page maby somebody can help me
Re: Cant get webserver runnig
did you copy the config.php.example to config.php and edit it?
Also, you seem to be missing the php5-xmlrpc package.
'sudo apt-get install php5-xmlrpc' should fix that.
Also, you seem to be missing the php5-xmlrpc package.
'sudo apt-get install php5-xmlrpc' should fix that.
Re: Cant get webserver runnig
on which loaction? i have change the config.php at /var/www/domotiga
not the one on ~/domotiga/webclients/domotiga
if i sudo apt-get install php5-xmlrpc do than it says: php5-xmlrpc is already the newest version
not the one on ~/domotiga/webclients/domotiga
if i sudo apt-get install php5-xmlrpc do than it says: php5-xmlrpc is already the newest version
Re: Cant get webserver runnig
i have change the config.php on /var/www/domotiga i dont have change the ~/domotiga/webclients/domotiga config.php.exemple file.
i have set mij docs into the domotiga server webclient to /var/www not to default ~/domotiga/www
and i have enable webclient in domotiga sever.
i have enamble the xml-rpc in domotiga server
when i do: sudo apt-get install php5-xmlrpc i get package allready installed and up to date
so i dont have installed apache2 php5 libapache2-mod-php5 php5-xmlrpc by my self (it was allready in the image) is there an way i can test of everything is correctly installed?
i have set mij docs into the domotiga server webclient to /var/www not to default ~/domotiga/www
and i have enable webclient in domotiga sever.
i have enamble the xml-rpc in domotiga server
when i do: sudo apt-get install php5-xmlrpc i get package allready installed and up to date
so i dont have installed apache2 php5 libapache2-mod-php5 php5-xmlrpc by my self (it was allready in the image) is there an way i can test of everything is correctly installed?
Re: Cant get webserver runnig
Ok, looks like your apache is not parsing the PHP files, now that I look at it again
It's acting as if the index.php file is just a plain html file (you don't have an index.htm or index.html in your /var/www/domotiga, do you?)
check if the php5 module is already enabled:
'sudo a2enmod php5'
if it wasn't configured already, you have to restart the apache2 service after that:
'sudo service apache2 restart'
If it was already enabled, you are probably missing the handler for .php files in the config somewhere.
That setting should be in /etc/apache2/mods-available/php5.conf
That file should contain something like this:
(and more btw)
It's acting as if the index.php file is just a plain html file (you don't have an index.htm or index.html in your /var/www/domotiga, do you?)
check if the php5 module is already enabled:
'sudo a2enmod php5'
if it wasn't configured already, you have to restart the apache2 service after that:
'sudo service apache2 restart'
If it was already enabled, you are probably missing the handler for .php files in the config somewhere.
That setting should be in /etc/apache2/mods-available/php5.conf
That file should contain something like this:
Code: Select all
<FilesMatch ".+\.ph(p[345]?|t|tml)$">
SetHandler application/x-httpd-php
</FilesMatch>
Re: Cant get webserver runnig
no i dont have an index.htm or index.html file in my /var/www/domotiga is this right?
by sudo a2enmod php5 i get an error: module php5 does not exist.
now i do sudo apt-get install php5 and is says unable to locate package php5
by sudo a2enmod php5 i get an error: module php5 does not exist.
now i do sudo apt-get install php5 and is says unable to locate package php5
Re: Cant get webserver runnig
correct, you should NOT have index.html or index.htm.
It looks like you forgot the 'sudo apt-get install apache2 php5 libapache2-mod-php5 php5-xmlrpc' or it didn't run correctly. You should have a php5 module for apache (libapache2-mod-php5 package)
Did you follow the apache install from http://www.domotiga.nl/projects/domotig ... l_Optional ?
It looks like you forgot the 'sudo apt-get install apache2 php5 libapache2-mod-php5 php5-xmlrpc' or it didn't run correctly. You should have a php5 module for apache (libapache2-mod-php5 package)
Did you follow the apache install from http://www.domotiga.nl/projects/domotig ... l_Optional ?