Hi.
I've installed Apache 1.3.27 and PHP 4.3.0 on RedHat Linux 8.0.
These are the steps I've done.

Apache:
# ./configure –enable-module=so
# make
# make install
# httpd -l to verify the presence of http_core.c e mod_so.c
in /usr/local/apache/conf/httpd.conf:
1.modify DocumentRoot
2.modiffy User e Group
3.modify ServerName
PHP:
#./configure –with-apxs
#make
#make install
I verify in /usr/local/apache/conf/httpd.conf the presence of:
LoadModule php4_module libexec/libphp4.so
I add AddType application/x-httpd-php .php in httpd.conf
I copy the original php.ini-dist in /usr/local/lib/php.ini

I restart httpd.
After that, when I open a HTML page containing a minimal PHP script, I can see any output at all.
I've tried:
<? echo 'Hello world'; ?>
<script language="PHP">
echo 'Hello world';
</script>.
<? print 'Hello world'; ?>
<script language="PHP">
print('Hello world');
</script>.

Command line PHP interpreter works fine.
#lsof tells me that httpd is using libphp4.so.

I can't undestand where is my mistake.
Thanks for any help or idea.
Marco.


--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to