[PHP-INSTALL] LoadModule & AddModule From: Antonio Carlos Ribeiro Faria (consultor <email protected>)
Date: 06/25/00

HI!

I've just installed PHP4 but it's no running.

1 - There where no errors in compilation, but many warnings.
2 - At the installation process 2 lines were added to my httpd.conf:

<IfDefine SSL>
LoadModule ssl_module modules/libssl.so
LoadModule php4_module lib/apache/libphp4.so (1st line)
</IfDefine>

<IfDefine SSL>
AddModule mod_ssl.c
AddModule mod_php4.c (2nd line)
</IfDefine>

3 - Those lines are out from the lfDefine now and, when I try to restart
HTTPD, I got the following error:

Syntax error on line 385 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/lib/apache/libphp4.so into server:
/etc/httpd/lib/apache/
libphp4.so: cannot open shared object file: Arquivo ou diretório não
encontrado

4 - After creating /etc/httpd/lib/apache/ and copying libphp4.so to it, I
tried to open a HTML file with:

<script language="PHP"> print "Hello"; </script>!!!<br>

result:

!!!

and

<?php print "Hello"; ?>!!!<br>

result:

!!!

5 - When I try to access a .php file MSIE5 allways shows a save/open file
dialog.
6 - SSI and CGI are running correctly in my server.
7 - Here is my .htaccess file:

Options Indexes FollowSymLinks Includes
AddType application/x-httpd-cgi .cgi
Addtype text/x-server-parsed-html .html
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

I've tried also:

AddType application/x-httpd-php4 .php

but the result is allways the same: nothing.

8 - I've seen that there's no mod_php4.so file in /usr/lib/apache, is that
normal? I have a mod_php4.c but I don't know how to compile it, I even don't
know if I must compile it...

Thanks in advance,

Antonio Carlos
consultor <email protected>

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-install-unsubscribe <email protected>
For additional commands, e-mail: php-install-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>