Re: how to install php as module
| From: | Ruprecht Helms | Date: | Thu, 09 Feb 2006 08:05:27 +0000 |
| Subject: | Re: how to install php as module | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-16996@lists.php.net to get a copy of this message | ||
Mark Galbreath wrote:
Apache does not compile the module, PHP does. When you configure httpd, be sure the --enable-mod.so switch is included. When you configure PHP, be sure to --without-cgi and --with-apxs2=/usr/local/apache2/bin/apxs (or wherever httpd is installed). When you <make install> php, it will place the libphp4.so in /usr/local/apache2/modules and enter a "loadmodule php4_module modules/libphp4.so" in the httpd.conf file. YouActualy I have problems in the apache configuration I get the following error: Cannot load /www/libexec/libphp4.so into server: /www/libexec/libphp4.so: cannot open shardd object file: No such file or directory How can I fix the problem. And how can I get shure that a libphp4.so will be stored in the libexec-subdirectory. The apache is compiles by using modules=so Regards, Ruprecht