LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-10-2009, 02:33 PM   #1
johnh10000
Member
 
Registered: Nov 2008
Distribution: Ubuntu Lucid Lynx
Posts: 541

Rep: Reputation: 33
php on website


Hi I had a slight problem with apache erlier. Uninstall reinstall.

All seemed fine. But my php stuff don't work it was fine b4

I have either installed or reinstalled the following, what have I missed?

php5
libapache2-mod-php5
php5-cli
php5-common
php5-cgi

we're on a ubuntu jaunty box
 
Old 07-10-2009, 03:09 PM   #2
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,272

Rep: Reputation: 148Reputation: 148
Did you check whether the php modules loaded with apache?

LoadModule php5_module modules/libphp5.so
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
DirectoryIndex index.php

check the above mentioned lines at you httpd.conf
 
Old 07-10-2009, 03:27 PM   #3
norobro
Member
 
Registered: Feb 2006
Distribution: Debian Sid
Posts: 517

Rep: Reputation: 177Reputation: 177
Here's an Ubuntu how to. It shows how to check for loaded modules and the Debian way to load modules
 
  


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
Testing PHP Website without Server/Internet 43r05p4c3 Programming 9 05-17-2006 07:15 AM
php package for website ankit_mcgill Linux - Software 1 09-12-2005 01:24 PM
Best mailer to use for a website with PHP email forms gbkyle Linux - Software 1 07-07-2005 05:00 AM
Converting website from CF to PHP pnellesen Programming 2 02-14-2005 09:40 AM
show PHP-code in website Boby Programming 2 08-02-2004 05:40 PM


All times are GMT -5. The time now is 03:17 PM.

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