Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: Problem starting apache httpd server with php support |
|
Author |
|
tanzeem1981
Joined: 26 May 2014 Posts: 1 Location: india,Thiruvananthapuram
|
Posted: Mon 26 May '14 13:50 Post subject: Problem starting apache httpd server with php support |
|
|
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: 7398 Location: EU, Germany, Next to Hamburg
|
|
Back to top |
|
|
|
|
|
|