[dev] Compiling PHP for Apache 2

Luciano Ramalho luciano at ramalho.org
Mon Jun 26 17:50:21 PDT 2006


I just noticed I had misspelled the --with-apxs2 switch in my script.

Now I've compiled PHP again, but upon trying to restart Apach2 I hit 
another snag: "undefined symbol: zend_qsort"

Here is the full message:

------
root at arabier:/var/log/apache2# apache2ctl start
Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load:
Cannot load /usr/lib/apache2/modules/libphp5.so into server: 
/usr/lib/apache2/modules/libphp5.so: undefined symbol: zend_qsort
root at arabier:/var/log/apache2#
------

An this is the entire content of /etc/apache2/mods-enabled/php5.load:

------
LoadModule php5_module /usr/lib/apache2/modules/libphp5.so
------

I have verified that libphp5.so is the freshly-built libphp5.so.

Now I am at a really bad spot, because my Apache/PHP installation is 
broken. Will continue searching the web for a solution to the undefined 
symbol problem (have found other reports, no solution so far).

Cheers,

Luciano



-- 
THE ROAD TO WISDOM?
Well, it's plain
and simple to express.
Err and err and err again,
but less and less and less.
— Piet Hein.



More information about the dev mailing list