I suggest you to use the iot-devkit image, could you post the output of running the command uname -a on this image?
For the iot-devkit image you have to use the repository from: http://iotdk.intel.com/repos/2.0; are you using this repo?
For the uClibc image you have to use the repo from http://repo.opkg.net/galileo
The problem you are having could be with a conflict between the repositories you are using, please use the correct repo and install apache2 and lighttpd. For modphp, I suggest you to install the package from source: php.net · GitHub
Once you have installed the packages from the right source, try again with apache2, if you get the same problems please post the errors you are getting.
Hi FGT. Alex suggests the procedure that i've already tried, but apache2 won't start due to httpd's pid error.
Hi CMata_Intel! This is the the output of uname -a (using full iot dev kit image):
"Linux galileo 3.8.7-yocto-standard #1 Tue Sep 29 22:16:33 GMT 2015 i586 GNU/Linux"
About the repos, i use only all, i586 and clinton from repo.opkg.net/galileo. So, i must add also all and i586 from iotdk.intel.com/repos/2.0/iotdk?!
About the repos, i use in basefeeds.conf all, i586 and clinton from repo.opkg.net/galileo; in iotdk.conf i use iotdk.intel.com/repos/2.0/iotdk.
With a clean OS (iot devkit), the installation of apache2 (with option --force-overwrite, due to the error "But that file is already provided by package * libc6-utils") returns:
Adding system startup for /etc/init.d/apache2.
Starting web server: apache2/usr/sbin/apachectl: line 79: 755 Segmentation fault $HTTPD "$@"
I've solved using the image for SD, installing with opkg modphp and apache. I've solved the error pid httpd following this tutorial.
It's good to know at least that the method suggested by AlexT_Intel does not work.
I'll try to get time to experiment and let you know in case I find something interesting adn/or useful.