[wikka-community] Fatal error: Call to undefined function: session_name() in /srv/www/htdocs/wikka/wikka.php on line 303

DJockheck at gauselmann.de DJockheck
Mon Apr 28 10:03:00 GMT 2008


Hi!

I have checked my installation an seen that the "AddType" options is 
existing in a file called /etc/apache2/conf.d/php4.conf :
--- cut ---
<IfModule sapi_apache2.c>
        AddType application/x-httpd-php .php .php3 .php4 .phps .phtml 
.phpt
        DirectoryIndex index.php
        DirectoryIndex index.php3
        DirectoryIndex index.php4
</IfModule>
--- cut ---

 I have another php-application that is working fine (mantis). When I 
comment out the "AddType"-line mantis is not working anymore, so it seems 
apache uses this file. Now I removed the comment-sign again and restarted 
apache. It still offers my php-file for download.

phpinfo says:
--- cut ---
System  Linux aslixp03 2.6.5-7.308-smp #1 SMP Mon Dec 10 11:36:40 UTC 2007 
x86_64
Build Date      Jan 17 2008 09:47:31
Configure Command       './configure' '--prefix=/usr' 
'--datadir=/usr/share/php' '--mandir=/usr/share/man' '--bindir=/usr/bin' 
'--libdir=/usr/share' '--includedir=/usr/include' '--sysconfdir=/etc' 
'--with-_lib=lib64' '--with-config-file-path=/etc' 
'--with-exec-dir=/usr/lib64/php/bin' '--disable-debug' 
'--enable-inline-optimization' '--enable-memory-limit' 
'--enable-magic-quotes' '--enable-safe-mode' '--disable-ctype' 
'--disable-session' '--without-mysql' '--disable-cli' '--without-pear' 
'--with-openssl' '--with-apxs2=/usr/sbin/apxs2-prefork' 
'x86_64-suse-linux'
Server API      Apache 2.0 Handler
Virtual Directory Support       disabled
Configuration File (php.ini) Path       /etc/php.ini
PHP API         20020918
PHP Extension   20020429
Zend Extension  20021010
Debug Build     no
Thread Safety   disabled
Registered PHP Streams  php, http, ftp, https, ftps 
--- cut ---

regards
Detlef Jockheck
-- 
################################
# Email: djockheck at gauselmann.de
################################

community-bounces at wikkawiki.org schrieb am 28.04.2008 11:43:25:

> 
> Do you have LoadModule and AddType directives on your httpd.conf ?
> 
> You may need to **try to** add these directives:
> 
>     LoadModule php_module "/:path:to:/php4apache2.dll"
>     AddType application/x-httpd-php .php .php5 .php4 .php3 .phtml .phpt
> 
> _______________________________________________
> WikkaWiki Community mailing list
> community at wikkawiki.org
> http://mail.wikkawiki.org/mailman/listinfo/community_wikkawiki.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.wikkawiki.org/pipermail/community_wikkawiki.org/attachments/20080428/beeef1d5/attachment.html 



More information about the community mailing list