I have cross compiled LAMP successfully for imx-6.Apache server is also starting independently.But when i am trying to load the module of php using:
LoadModule php5_module /usr/local/apache2/modules/libphp5.so
But it is giving error :
# ./apachectl start
httpd: Syntax error on line 54 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: File not found.
Note:I have checked that /usr/local/apache2/modules/libphp5.so exists with proper permission(0755).
After a lots of research a i was able to generate libphp5.so (by using --with-apxs), but i'm stuck here.Any help would be greatly appreciated.
Problem installing Apache 2 and PHP 5 in Linux
Moderator: General Moderators
Re: Problem installing Apache 2 and PHP 5 in Linux
Any reason you aren't just using the LAMP stack provided by your distro?