I have installed ser on RedHat 8.0/i686 and I' m trying to run serweb over Apache 2.0.40 and PHP 4.2.2 (both they are the default versions installed by RH 8.0).
I have made all (I hope) the adjustments in the .php and .conf files, but when I' m trying to open the /serweb/admin/index.php file (either by Mozila on the same PC, or by IE 5 on a Win-XP PC), I only see the code of the file. However, the code is not shown from the very first line, but always from the same point, 3 or 4 line below the first one.
Thanks in advance for any help or idea.
regards, George
Hello,
On 5/8/2003 12:05 PM, George KAPELIOS wrote:
check your httpd.conf to see if Apache handles correctly the mime type for .php files. There should be present something like:
LoadModule php4_module modules/libphp4.so AddType application/x-httpd-php .php
The path to the PHP module on the right hand side of the LoadModule directive must be valid for your system.
Best regards, Daniel
Another reason might be the php configuration. serweb makes use of short tags (<? ?>) rather than <?php ?>.
Your php.ini file has a line with
short_open_tag = off|on
in it. set this to on if it is currently off.
Stephan
| -----Original Message----- | From: serusers-admin@iptel.org [mailto:serusers-admin@lists.iptel.org]On | Behalf Of George KAPELIOS | Sent: 08 May 2003 11:06 | To: serusers@lists.iptel.org | Subject: [Serusers] See code when browse serweb files | | | I have installed ser on RedHat 8.0/i686 and I' m | trying to run serweb over Apache 2.0.40 and PHP 4.2.2 | (both they are the default versions installed by RH | 8.0). | | I have made all (I hope) the adjustments in the .php | and .conf files, but when I' m trying to open the | /serweb/admin/index.php file (either by Mozila on the | same PC, or by IE 5 on a Win-XP PC), I only see the | code of the file. However, the code is not shown from | the very first line, but always from the same point, 3 | or 4 line below the first one. | | Thanks in advance for any help or idea. | | regards, | George | | _______________________________________________ | Serusers mailing list | serusers@lists.iptel.org | http://lists.iptel.org/mailman/listinfo/serusers