Am Mo, den 02.08.2004 schrieb Paul um 12:40: > I'm having all hecks worth of problems trying to get php to talk to > mysql under Fedora Core. > > I have the php-mysql rpm installed... > > I have altered the /etc/php.ini file to include the line > > extension=mysql.so That is wrong! See /etc/php.d/ --> mysql.ini > and have altered the httpd.conf file to include > > LoadModule mysql_auth_module modules/mod_auth_mysql.so For what do you need mysql_auth in combination with phpBB? > Alias /phpBB2 /web/phpBB2 This is anywhere in your Apache DocumentRoot? > <Directory /web/phpBB2> > AddType application/x-httpd-php .php .php3 .phtml This is globally set in /etc/httpd/conf.d/php.conf. > Options Indexes +Includes FollowSymLinks > order deny,allow > deny from all > allow from all > </Directory> > > <Files /web/phpBB2/config.php> > order deny,allow > deny from all > </Files> > > So everything should be happy. However, it's not working. httpd starts > happily. apachectl configtest -> OK? What does /var/log/httpd/error_log report? Create an document info.php in the DocumentRoot with following content: <? phpinfo(); ?> and check it's output if you call the file within your browser. > What do I need to do to get php to talk to mysql? I need to get phpBB2 > set up and running PDQ! Nothing. Install the httpd, mysql-server and php-mysql packages and it runs without any modifications out of the box. > Paul Alexander -- Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13 Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.6-1.435.2.3.ad.umlsmp Serendipity 16:43:40 up 1 day, 22:08, load average: 0.18, 0.20, 0.29
Attachment:
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil