phpbb cry for help
22 Replies
Error messages
Versions of MySQL, PHP and Apache
Your linode information (ram,xfer etc)
http://tmi.reactornet.net/phpBB2
newest of everything….php4 mysql apache1something
You probably need to install libapache-modphp4 – it's called something like that.
@asura:
Hrm.. I shouldn't be able to view the directory like that–it should point me to the index.php file automatically. I think the directory options are messed up. If you have a
section in your httpd.conf, remove it. Apache shouldn't need it.
His problems are because he doesn't have the php mod installed for apache, so apache doesn't see a .php file as text/html.
@pclissold:
You need to install the package php4. already done man….already done.
@bd1308:
so what do i need to edit……???
Sounds to me like the real problem here is you need to go back and read the Apache, PHP, MySQL, and phpBB2 manuals… no offense intended, but none of us can help you set it up unless you know a few basic things about how all 4 of those software packages work together and can narrow down what's not working to 2-3 problems rather than 50 while we attempt to blindly guide you through every single step to get all four up and running.
@bd1308:
so what do i need to edit……???
This is for Debian Woody
apt-get install php4
Edit /etc/apache/httpd.conf
LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
AddType application/x-httpd-php .php
DirectoryIndex index.php
phpmyadmin works though on it….which stumped my linux oracle….but phpbb2 doesnt….
Ill configure your linode and install phpbb2 for a small fee. PM Me for more details.
short_open_tag=On|Off
shortopentag allows you to use 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.
If PHPMyAdmin works, PHP should be working, but just to be sure:
If you are running Apache 1.3:
apt-get install libapache-mod-php4
/etc/init.d/apache restart
If you are running Apache 2:
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.
@bd1308:
phpmyadmin works though on it….which stumped my linux oracle….but phpbb2 doesnt….
That just might be a blessing in disguise.
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.