Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject:
PostPosted: Tue Apr 05, 2005 3:22 pm 
Offline
Senior Newbie

Joined: Tue Mar 29, 2005 4:44 pm
Posts: 19
so am i doing something wrong?


Top
   
 Post subject:
PostPosted: Tue Apr 05, 2005 5:05 pm 
Offline
Junior Member

Joined: Fri Mar 18, 2005 11:04 pm
Posts: 32
AOL: surferdude18213
Location: the ssh window
*sigh* Hope this is allowed

Ill configure your linode and install phpbb2 for a small fee. PM Me for more details.

_________________
-- Surferdude


Top
   
 Post subject:
PostPosted: Thu Apr 07, 2005 12:08 pm 
Offline
Senior Newbie

Joined: Tue Mar 29, 2005 4:44 pm
Posts: 19
debian is back on...i'm going to *try* as hard as i can to get this working on my own, as I need to learn....


Top
   
 Post subject:
PostPosted: Wed Jul 13, 2005 5:24 pm 
Offline
Newbie

Joined: Wed Jul 13, 2005 5:00 pm
Posts: 2
ICQ: 911
Website: http://www.rscnet.net
WLM: DEATH2MS
Yahoo Messenger: Vectorman211
AOL: Aimsucks
Location: Wisconsin
If PHPMyAdmin works than Apache is parsing PHP fine. One thing to check is a directive in the php.ini file:

Code:
short_open_tag=On|Off


short_open_tag allows you to use <? to open php rather than the long <?php or <script> tags.

It is possible that you have it turned off and PHPBB did not use the full tags. I think php has been enabling short open tags by default for some time now...not sure...Just a thought.

_________________
Control over the use of one's ideas really constitutes control over other people's lives; and it is usually used to make their lives more difficult. -- Richard Stallman


Top
   
 Post subject:
PostPosted: Wed Jul 13, 2005 5:37 pm 
Offline
Senior Member
User avatar

Joined: Sat Oct 16, 2004 11:13 am
Posts: 176
Hey,

If PHPMyAdmin works, PHP *should* be working, but just to be sure:

If you are running Apache 1.3:
Code:
apt-get install libapache-mod-php4
/etc/init.d/apache restart


If you are running Apache 2:
Code:
apt-get install libapache2-mod-php4
/etc/init.d/apache2 restart


If doesn't work, send me username and pass (of course, you should change them later on) and I'll fix it free of charge.


Top
   
 Post subject:
PostPosted: Fri Jul 15, 2005 8:15 pm 
Offline
Newbie

Joined: Sun Jun 19, 2005 5:25 pm
Posts: 4
bd1308 wrote:
phpmyadmin works though on it....which stumped my linux oracle....but phpbb2 doesnt....


That just might be a blessing in disguise.

http://news.netcraft.com/archives/2005/07/08/hosts_ban_phpbb_as_security_issues_persist.html
http://seclists.org/lists/webappsec/2005/Jan-Mar/0479.html


Top
   
 Post subject:
PostPosted: Sat Jul 16, 2005 11:47 pm 
Offline
Senior Member

Joined: Sat Jun 05, 2004 12:49 am
Posts: 333
yea phpbb2 is horrible code and has had alot of nasty exploits in it in the past as well as recently


Top
   
 Post subject:
PostPosted: Mon Jul 18, 2005 1:43 pm 
Offline
Junior Member

Joined: Thu Jun 03, 2004 4:04 pm
Posts: 42
By default phpmyadmin (on debian, right?) installs a private .htaccess file which enables php parsing for the phpmyadmin directory. Here is the default .htaccess file phpmyadmin on debian:

Code:
DirectoryIndex index.php
Options +FollowSymLinks

<IfModule mod_mime.c>
    <IfModule mod_php4.c>
        AddType application/x-httpd-php .php

        php_flag magic_quotes_gpc Off
        php_flag track_vars On
        php_flag register_globals Off
        php_value include_path .
    </IfModule>
    <IfModule mod_php5.c>
        AddType application/x-httpd-php .php
   
        php_flag magic_quotes_gpc Off
        php_flag track_vars On
        php_flag register_globals Off
        php_value include_path .
    </IfModule>
    <IfModule mod_php5_filter.c>
        AddType application/x-httpd-php .php
   
        php_flag magic_quotes_gpc Off
        php_flag track_vars On
        php_flag register_globals Off
        php_value include_path .
    </IfModule>
    <IfModule mod_php5_hooks.c>
        AddType application/x-httpd-php .php

        php_flag magic_quotes_gpc Off
        php_flag track_vars On
        php_flag register_globals Off
        php_value include_path .
    </IfModule>

    <IfModule !mod_php4.c>
    <IfModule !mod_php5.c>
    <IfModule !mod_php5_filter.c>
    <IfModule !mod_php5_hooks.c>
    <IfModule !mod_fastcgi.c>
    <IfModule !mod_fcgid.c>
    <IfModule mod_actions.c>
    <IfModule mod_cgi.c>
        AddType application/x-httpd-php .php

        Action application/x-httpd-php /cgi-bin/php
    </IfModule>
    </IfModule>
    </IfModule>
    </IfModule>
    </IfModule>
    </IfModule>
    </IfModule>
    </IfModule>
</IfModule>


From the behavior you are seeing, it seems like you have php installed and running (since myadmin is parsing properly), but the 'AddType' directive is not getting inserted into the other part of your site that isn't parsing php directly.

Were you using apache1 or apache2? It has been a while since I used debian apache1 so....

On apache2, check out /etc/apache2/mods-enabled and ensure there is a soft link for php4.conf and php4.load. If so I'm all outta suggestions except for perhaps to check out your /etc/apache2/apache2.conf or /etc/apache/httpd.conf and manually insert the AddType directives from above.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group