LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 07-13-2003, 03:50 PM   #1
mike@wales
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
http://www.trylinuxsd.com but i've gone wrong somewhere. When i try crank nuke up by typing 127.0.0.1/nuke/ 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 127.0.0.1 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 127.0.0.1/nuke/. 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.

thanks
 
Old 07-13-2003, 03:55 PM   #2
green_dragon37
Member
 
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.
Code:
LoadModule php4_module modules/libphp4.so

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

AddType application/x-httpd-php .php
Ian

Last edited by green_dragon37; 07-13-2003 at 03:56 PM.
 
Old 07-14-2003, 01:16 AM   #3
mike@wales
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

</IfModule>

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/libphp4.so into server: /etc/httpd/2.0/modules/libphp4.so: cannot open shared object file: No such file or directory

libphp4.so 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/libphp4.so into server: /etc/httpd/2.0/modules/libphp4.so: 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, 09:20 AM   #4
mike@wales
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!
 
  


Reply


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 10:57 AM
php-nuke blank admin.php zuessh Linux - Software 18 05-03-2005 07:47 PM
Php Nuke!!! FearPasion710 Linux - General 3 10-03-2003 03:43 PM
php-nuke with apache php mysql c0c0deuz Linux - Software 0 03-30-2003 06:23 AM
php nuke GT I.N.C Linux - General 2 08-08-2002 02:03 AM


All times are GMT -5. The time now is 02:46 AM.

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