I have problems with \"include\" and \"require\"
| From: | Dpt. T�cnico de Readysoft | Date: | Tue, 10 Aug 1999 09:43:01 +0000 |
| Subject: | I have problems with \"include\" and \"require\" | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-3272@lists.php.net to get a copy of this message | ||
Hello Everybody:
First of all excuse me for my poor english.
I downloaded and installed PHP4 , as an Apache\\\'s module.
Apache version is 1.3.6.
To compiled php I typed:
./configure --with-mysql --with-apxs=/usr/sbin/apxs
--with-config-file-path=/etc/httpd
I added to my httpd.conf:
LoadModule php4_module modules/libphp4.so
AddModule mod_php4.c
AddType application/x-httpd-php .php3
AddType application/x-httpd-php-source .phps
I restarted my apache and I saw the info page (phpinfo() ), but when I tried
to see my php pages, using
include \"file.php3\";
always I have the same problem :
The browser said \"The document contains no data\"
I can\'t understant what\'s wrong. When I use php3 all works correct, but when
I change to php4, and I tried to see a page with an include, always I have
the same problem.
Can you help me, plase.
Xavier Rivadulla