logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: Problem starting apache httpd server with php support
Author
tanzeem1981



Joined: 26 May 2014
Posts: 1
Location: india,Thiruvananthapuram

PostPosted: Mon 26 May '14 13:50    Post subject: Problem starting apache httpd server with php support Reply with quote

I have recently compiled apache httpd -2.2.27 from source with the following steps

cd httpd-2_x_NN
./configure --enable-so
make
make install

Later i configured and builded php source code with the following steps
cd ../php-NN
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
make
make install

I edited my httpd.conf and added the following to it
LoadModule php5_module modules/libphp5.so
<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>

nd run the following command to start apache
/usr/local/apache2/bin/apachectl start
I get the following error message
httpd: Syntax error on line 56 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: OnUpdateLong
--------------------------------------------
My httpd.conf file is as below
------------

Admin note:
httpd.conf removed, see forum rules and use a paste bin
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7288
Location: Germany, Next to Hamburg

PostPosted: Wed 28 May '14 22:15    Post subject: Reply with quote

I found a few maybe helpful links

http://linuxian.com/2012/11/02/error-while-loading-php-module-undefined-symbol-onupdatelong/
http://serverfault.com/questions/387274/compile-php5-4-for-apache-php5-3-already-apt-get-installed
http://forum.directadmin.com/showthread.php?t=46728
Back to top


Reply to topic   Topic: Problem starting apache httpd server with php support View previous topic :: View next topic
Post new topic   Forum Index -> Other Software