Hi there,
I'm trying to compile a custom helloworld-type extension, but I can't seem to get the thing to compile wth debug and multi-thread options. Here is what I'm doing:
cd to php-5.2.1/ext/hello
phpize
./configure --enable-debug --enable-multi-thread
gmake clean
gmake
cp modules/hello.so /usr/lib64/php/modules/
...but when I restart apache I get the following in my error logs:
Warning: PHP Startup: hello: Unable to initialize module
Module compiled with module API=20060613, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=1, thread-safety=1
These options need to match
What the heck am I doing wrong?
Thanks for any help!
Compiling modules -- SOLVED
Moderator: General Moderators
Compiling modules -- SOLVED
Last edited by brighama on Sun May 27, 2007 12:06 pm, edited 1 time in total.