Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-13-2003, 04:50 PM   #1
LQ Newbie
Registered: May 2003
Posts: 23

Rep: Reputation: 15
Unhappy help i've bungled php-nuke

Hello i'm trying to follow a tutorial on installing php-nuke at but i've gone wrong somewhere. When i try crank nuke up by typing mozilla asks if i would like to open or save an application/x-php file.

Here's what i've done so far:

installed drkwizard

setup apache with web wizard tested it so that brings up the apache page informing that its operational. I've also checked that apache's root files are located at /var/www/html.

Installed php-mod & php-mysql and php-nuke. Checked to see that the directory nuke was installed at /var/www/html/nuke/. I then followed the instructions to make sure both msql and apache were restarted, I even rebooted. According to the instructions typing in the computers address followed by /nuke/ is supposed to bring up the nuke index ie Instead it ask me if i want to save the php file.

I've probably made a mistake somewhere, could someone point it out for me.

Old 07-13-2003, 04:55 PM   #2
Registered: Oct 2002
Location: Lower Alabama
Distribution: Slackware, OpenBSD 3.9
Posts: 344

Rep: Reputation: 31
Do you have these lines in your httpd.conf?? If not, add them and restart apache.
LoadModule php4_module modules/

<Files *.php>
    SetOutputFilter PHP
    SetInputFilter PHP
    LimitRequestBody 524288

AddType application/x-httpd-php .php

Last edited by green_dragon37; 07-13-2003 at 04:56 PM.
Old 07-14-2003, 02:16 AM   #3
LQ Newbie
Registered: May 2003
Posts: 23

Original Poster
Rep: Reputation: 15
I tried adding the ammendments to /etc/httpd/conf/httpd.conf but nothings changed. Interestingly there was only one line in httpd.conf to begin with:

Include conf/addon-modules/php.conf

php.conf = <IfModule mod_php4.c>

AddType application/x-httpd-php .php .php4 .php3 .phtml
AddType application/x-httpd-php-source .phps


When i start up apache from the terminal it loads httpd2. I thought i'd experiment by adding what you've given me to http2.conf. Here's the result

Starting httpd2: Syntax error on line 216 of /etc/httpd/conf/httpd2.conf:
Cannot load /etc/httpd/2.0/modules/ into server: /etc/httpd/2.0/modules/ cannot open shared object file: No such file or directory is located at /usr/lib/apache-extramodules So i tried putting a link in the modules directory so it would pick it up. When i try to load apache i get this:

Starting httpd2: Syntax error on line 216 of /etc/httpd/conf/httpd2.conf:
Cannot load /etc/httpd/2.0/modules/ into server: /etc/httpd/2.0/modules/ undefined symbol: ap_block_alarms.

Anyway i've gone back to the beginning undoing what i've done but leaving the added lines that you've provided in httpd.conf.
Old 07-14-2003, 10:20 AM   #4
LQ Newbie
Registered: May 2003
Posts: 23

Original Poster
Rep: Reputation: 15
I found the cause of the problem . I have apache2 installed and the article is referring to apache. I had installed php_mod but not the apache2-mod_php package. What a silly mistake, shame on me .

Thanks to green_dragon37 for taking the time to respond to my question. Cheers!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP-Nuke? thorn168 Linux - Software 2 06-03-2005 11:57 AM
php-nuke blank admin.php zuessh Linux - Software 18 05-03-2005 08:47 PM
Php Nuke!!! FearPasion710 Linux - General 3 10-03-2003 04:43 PM
php-nuke with apache php mysql c0c0deuz Linux - Software 0 03-30-2003 07:23 AM
php nuke GT I.N.C Linux - General 2 08-08-2002 03:03 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:11 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration