Error while starting Apache after compiling PHP and Curl

Hello,

I am facing an issue while starting the apache server after compiling php and curl.
Below are the versions i am using.

php-5.2.17
httpd-2.2.17
curl-7.16.0
CentOS5.5x64

Compiling above packages without curl working very fine but when trying to compile php with curl below error is occurring on starting the Apache

httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/
local/apache2/modules/libphp5.so: undefined symbol: curl_module_entry

This issue is solved.
I just try below steps to resolve the issue.

make clean
make 
make install
1 Like