|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[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.. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 10:00:01 2025 UTC |
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.