php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2575 Can't make libphp3.so
Submitted: 1999-10-20 04:25 UTC Modified: 1999-12-19 18:54 UTC
From: a dot kreicy at aditel dot at Assigned:
Status: Closed Package: Installation problem
PHP Version: 3.0.12 OS: LINUX
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: a dot kreicy at aditel dot at
New email:
PHP Version: OS:

 

 [1999-10-20 04:25 UTC] a dot kreicy at aditel dot at
when i make and make install php it all works fine..no errors,nothing.make test also works great.
BUT there is no and there never has been generated a file named libphp3.so which i need to run php on my server.
so i check out the Makefile..lokks ok to me.
# make libphp3.so
c -o libphp3.so -I. -I.  ./mod_php3.c libmodphp3-so.a  -lm -ldl   -Lpcrelib -lpc
re
make: c: Command not found
make: [libphp3.so] Error 127 (ignored)

this is the one thing not working but the main thig for having php on my server..

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-10-24 12:12 UTC] sas at cvs dot php dot net
Try to reconfigure and recompile PHP. If that does not work, send us your ./configure command.
 [1999-12-19 18:54 UTC] shaneo at cvs dot php dot net
I just tried the latest cvs version of Redhat 6.1 using
these commands, and it worked.  Please try these commands:
  1. How you can install Apache with a statically linked PHP:

    $ gunzip <apache_1.3.X.tar.gz | tar xvf -
    $ gunzip <php-3.0.tar.gz | tar xvf -
    $ cd apache_1.3.X
    $ ./configure --prefix=/path/to/apache
    $ cd ../php-3.0
    $ ./configure --with-apache=../apache_1.3.X
    $ make
    $ make install

    [optionally you now have the chance to prepare or add more 
     third-party modules to the Apache source tree]

    $ cd ../apache_1.3.X
    $ ./configure --prefix=/path/to/apache \
                  --activate-module=src/modules/php3/libphp3.a
    $ make 
    $ make install
    
or use PHP as a DSO:
QUICK INSTALL (DSO - Dynamic Shared Object)
 
 (For this to work, your httpd has to have mod_so enabled.  Check with
  httpd -l)

gunzip php-3.0.x.tar.gz
tar xvf php-3.0.x.tar
cd ../php-3.0.x
./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs --with-xml
make
make install
 At this point you need to edit your httpd.conf file and uncomment the
 PHP AddType line that looks like this:

 AddType application/x-httpd-php3 .php3

You should also add a line to actually load the PHP module.  Something
like this should work:

 LoadModule php3_module        modules/libphp3.so

Then restart your server and it should start parsing .php3 through PHP.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 15:01:32 2025 UTC