Re: [PHP] Apache2 and PHP4.2.3 - errors

2002-10-02 Thread Rasmus Lerdorf

PHP doesn't officially support Apache2 at this point.  Go back to Apache1.

On Thu, 3 Oct 2002, Chris Aitken wrote:

 Hi all,

 I have recently upgraded to apache2 on my FreeBSD 4.6 box, and the upgrade
 worked well, the daemon was running and serving pages etc. So I installed
 the latest PHP build in my ports tree (4.2.3) and it compiled no problems,
 but when I added the required lines into my httpd.conf to make it run, I
 get the following error when I try and start apache

 # apachectl start
 Syntax error on line 273 of /usr/local/etc/apache2/httpd.conf:
 Cannot load /usr/local/libexec/apache2/libphp4.so into server:
 /usr/local/libexec/apache2/libphp4.so: Undefined symbol pthread_getspecific


 now line 273 of my httpd.conf file is
 LoadModule php4_modulelibexec/apache2/libphp4.so

 And that file exists, so I really dont know what the problem is.

 Any help on this would be greatly appreciated.



 Chris



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Apache2 and PHP4.2.3 - errors

2002-10-02 Thread Chris Aitken

Hi all,

I have recently upgraded to apache2 on my FreeBSD 4.6 box, and the upgrade 
worked well, the daemon was running and serving pages etc. So I installed 
the latest PHP build in my ports tree (4.2.3) and it compiled no problems, 
but when I added the required lines into my httpd.conf to make it run, I 
get the following error when I try and start apache

# apachectl start
Syntax error on line 273 of /usr/local/etc/apache2/httpd.conf:
Cannot load /usr/local/libexec/apache2/libphp4.so into server: 
/usr/local/libexec/apache2/libphp4.so: Undefined symbol pthread_getspecific


now line 273 of my httpd.conf file is
LoadModule php4_modulelibexec/apache2/libphp4.so

And that file exists, so I really dont know what the problem is.

Any help on this would be greatly appreciated.



Chris



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Apache2 and PHP4.2.3 - errors

2002-10-02 Thread Ionut Ciocirlan

I haven't tried php with apache 2 on linux yet, but the windows distribution
of php has 2 dlls: php4apache.dll and php4apache2.dll; there's nothing in
the documentation about the second dll whatsoever, neither any installation
guide for Apache 2; the guide actually says using the php4apache.dll as a
module, and obviously it didn't work. Looking around I found the second file
and it works perfectly... there should be something like this in the linux
distribution too.
__
Ionut

 PHP doesn't officially support Apache2 at this point.  Go back to Apache1.

 On Thu, 3 Oct 2002, Chris Aitken wrote:

  Hi all,
 
  I have recently upgraded to apache2 on my FreeBSD 4.6 box, and the
upgrade
  worked well, the daemon was running and serving pages etc. So I
installed
  the latest PHP build in my ports tree (4.2.3) and it compiled no
problems,
  but when I added the required lines into my httpd.conf to make it run, I
  get the following error when I try and start apache
 
  # apachectl start
  Syntax error on line 273 of /usr/local/etc/apache2/httpd.conf:
  Cannot load /usr/local/libexec/apache2/libphp4.so into server:
  /usr/local/libexec/apache2/libphp4.so: Undefined symbol
pthread_getspecific
 
 
  now line 273 of my httpd.conf file is
  LoadModule php4_modulelibexec/apache2/libphp4.so
 
  And that file exists, so I really dont know what the problem is.
 
  Any help on this would be greatly appreciated.
 
 
 
  Chris




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php