Hai,
I am installing apache 2.2.3 version in solaris /usr/local,and PHP 5 in /usr/local/include
For PHP configuration i given like this:
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs –with-mysql=/usr/local/mysql –with libxml2-dir=/usr/local/include/libxml2 –with-zlib
then make and make install .
cp php.ini-dist /usr/local/lib/php.ini
then in /usr/local/apache2/conf/httpd.conf file i added below lines:
AddType application/x-httpd-php-source .php .phtml
AddType application/x-httpd-php-source phps
LoadModule php5_module modules/libphp5.so
AddHandler php5_script php
DirectoryIndex index.html index.php index.html.var
AddType text/html php
AddModule mod.php5.c
By Starting /usr/local/apache2/bin/apachectl start -apache server i am facing the error :
httpd:Syntac error on line54 of /usr/local/apache2/conf/httpd.conf:Cannot load /usr/local/apache2/modules/libphp5.so into server:ld.so.1:/usr/local/apache2/bin/httpd:fatal:relocation error:file /usr/local/apache2/modules/libphp5.so :symbol zend_error:refrenced symbol not found
I cant able to start my server,
pls help me
Regards
Babu