*.php files are not processed by apache/php
say I hav test.php with "<html><body><HR><?php echo "hello php";
?><HR></body></html>"
then I only see the two <HR>'s.
I' use
apache-1.3.20.tar.gz
php-4.0.6.tar.gz
mod_perl-1.25.tar.gz
unptarring . . .
configuring/making apache
./configure --enable-modules=most --enable-shared=max
make
make install
now apache is in /usr/local/apache situated.
so when I run /usr/local/bin/apachectl start, apache works.
configuring.making mod_perl
perl Makefile.PL
configuring/making php4-4.0.6
./configure --with-mysql=/usr
--with-apxs=/usr/local/apache/bin/apxs [
--with-config-file-path=/usr/local/apache ]
make
make install
check on /usr/local/apache/conf/httpd.conf
LoadModule perl_module libexec/libperl.so
LoadModule php4_module libexec/libphp4.so
AddModule mod_perl.c
AddModule mod_php4.c
AddType application/x-httpd-php .php .php3 .phtml
AddType application/x-httpd-php-source .phps
copy the php.ini-dist to /usr/loca/lib/php.ini
and finally /usr/local/apache/bin/apachectl stop
and /usr/local/apache/bin/apachectl start
when I open an *php file (see above) I don't see anything of php code..
Further information : the /usr/local/apache/logs/error.log says the
modules perl and php are loaded
and operation is normal.
In the /usr/local/apache/logs/access.log no metion is made of the
opening of the *php file.
I thing apache indeed call the php module to process the *php file, but
then nothing happens.
I've seen this problem has attracted the attention of many other people,
but no satisfying answer is given.
Is there someone who has knowledge of the php stuff and can help me how
to solve this ?
many thanks in advance.
Harry van Rijn
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]