Re: PHP error when starting Apache, Undefined symbol "pthread_getspecific", what's this???

From: Date: Wed, 01 May 2002 16:16:48 +0000
Subject: Re: PHP error when starting Apache, Undefined symbol "pthread_getspecific", what's this???
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-6805@lists.php.net to get a copy of this message
I did it in another way and it seems to work. I skipped the module config. Do following: Configure Apache 2.x and install it. Configure PHP without the apxs configuration and then installed it. Then i edit the httpd.conf file and added this 4 lines at the bottom of that file: # PHP Config ScriptAlias /php/ "/websrv/progs/php/bin/" AddType application/x-httpd-php .php Action application/x-httpd-php "/php/php" And then it's just restart and test to se if it works. Make sure to have the index.php in httpd.conf file if you are to use the php extension. Test it by adding this line to an empty .html or .php file: <? phpinfo() ?> If it's secure to open up the bin directory above i don't know, but by setting the bin folder in readonly in Apache should be enough. -- Marcus Uddenhed "Marcus Uddenhed" <marcus@soulskater.net> skrev i meddelandet news:20020429091013.62265.qmail@pb1.pair.com... > I get an error when i try to start Apache > when i have made PHP as an module. > > The error says: > > Cannot load /websrv/progrs/apache2/modules/libphp4.so > into server: /websrv/progrs/apache2/modules/libphp4.so: Undefined Symbol > "pthread_getspecific" > > And Apache refuses to start. > > This is how i configured PHP and installed it: > > ./configure --prefix=/websrv/progs/php --with-mysql --with-apxs2=/websrv/pro > gs/apache2/bin/axps > > make > > make install --with-config-file-path=/websrv/progs/php > > The system that i do this on is FreeBSD 4.5 > > > What is wrong, what have i done wrong???? > > > Thanks in advance > > Marcus Uddenhed > marcus@soulskater.net > >

« previous php.install (#6805) next »