Installing PHP

From: Max Nokhrin (mno11_at_lycos.com)
Date: 11/30/03


Date: Sun, 30 Nov 2003 02:26:49 -0500

Hello everyone.

I'm trying to install and setup PHP 4.3.4 on RedHat 7.3 running Apache
1.3.29. I've successfully built Apache and PHP and Apache works great
independently. However, as soon as I add

LoadModule libexec/libphp4.so

I cannot start Apache anymore. It gives me the ever popular error:

"undefined symbol: pthread_getspecific"

I've searched Google, but there was no real solution that I was able to
find. When building Apache, I used the standard config settings except
for a custom prefix and --enable-module=so.

When building PHP, I had a whole list of config options, but the most
important were --with-apxs=<path_to_apxs>, --disable-cli,
--disable-pear, --with-mysql and many more. After reading some
suggestions to use --with-apache instead, I tried that, but the stupid
thing refused to find httpd.h! I specified the base path to Apache,
being /usr/local/apache, I have it /usr/local/apache/include (which is
where httpd.h actually is!) and I even gave it
/usr/local/apache/include/httpd.h (for the sake of testing everything).
Nothing worked.

Can anyone help me out? Is my installation of Apache messed up?

Thanks a lot,
Max



Relevant Pages

  • RE: [PHP] Question before upgrading to 5
    ... We only use php for intranet applications I create, ... so the server is basically dead at nights, which is when I do most of my ... so your going to shut down apache on ... install of apache would allow you to do. ...
    (php.general)
  • Re: [SLE] updating to PHP5
    ... while running PHP 5 for my stuff. ... managed by SuSE staff where you can download latest apache with all ... SLES 9 doesn't need PHP for its default configuration. ... Thus, it seems possible to remove PHP4, install a new Apache instance, PHP5 ...
    (SuSE)
  • RE: Problem with apache, php and mysql after FC4 upgrade: SegmentationFault ...
    ... the config options are that php/apache is seeing for php... ... this will install in the default dirs.... ... i'm curious to know if the rpms for php with FC4 are somehow screwed up... ... > Group apache ...
    (Fedora)
  • Re: Can not get Php (4.4 - Windows) configured to open secure URLs (https)
    ... to do something more in php or in Apache httpd.conf? ... To use the CSR and key generation functions from PHP, you will need to install an openssl.cnf file. ... The Windows environment variable OPENSSL_CONF is set to C:\OpenSSL\bin\openssl.cnf (and that is where I have installed OpenSSL. ...
    (comp.lang.php)
  • Re: PHP4 - Apache2 - MySQL What am I missing *FIXED*
    ... Now, i am working on a network management system using php4,mysql and apache, ... so that our form variables could be send to php ... >> Can someone queue me in on what I missed on the MySQL capability install? ... Faculty Of Computer Science, ...
    (Debian-User)