LinuxQuestions.org
Help answer threads with 0 replies.
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 05-26-2009, 02:10 AM   #1
AuzJ
LQ Newbie
 
Registered: Apr 2009
Posts: 8

Rep: Reputation: 0
Apache2 and php5 issues!


Hey all,

I am attempting to get the latest version of apache2 to work with php-5.2.9. I have tried and tried again but am unable to get it working. I am currently running 9.10 Ubuntu.

What I have tried so far:
125 sudo apt-get install php5 libapache2-mod-php5
161 ./configure --prefix=/usr/local/php5 --enable-pdo
166 ./configure --prefix=/usr/local/php5 --enable-pdo --with-sqlite=shared --with-pdo-sqlite=shared --wit --with-apxs2=/usr/local/apache2/bin/apxs --enable-sqlite-utf8
169 ./configure --prefix=/usr/local/php5 --enable-pdo --with-sqlite=shared --with-pdo-sqlite=shared --with-zlib --enable-track-vars --with-apxs2=/usr/local/apache2/bin/apxs --enable-sqlite-utf8 && make && make install
237 sudo apt-get install libapache2-mod-php5 php5-cli php5-common php5-cgi
240 sudo apt-get install libapache2-mod-php5 php5-cli php5-common php5-cgi
241 sudo apt-get uninstall libapache2-mod-php5 php5-cli php5-common php5-cgi
242 sudo apt-get install libapache2-mod-php5 php5-cli php5-common php5-cgi

Thus far no success. I have spent considerable time looking online for a tutorial/guide that works but have found none that work. If you could point me in the right direction, it would be greatly appreciated.

Thanks for any help,
J
 
Old 05-27-2009, 02:27 PM   #2
barghota
Member
 
Registered: Jul 2003
Location: Cairo, Egypt
Distribution: CentOS, RHEL, Debian, FreeBSD
Posts: 94

Rep: Reputation: 38
What's the output of

Quote:
sudo apt-get install apache2 php5 libapache2-mod-php5
 
  


Reply

Tags
php5 apache


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
apache2+php5 sunescan Linux - Software 2 12-18-2008 04:54 AM
Apache2 and php5 barrythai Mandriva 2 05-08-2007 08:09 AM
Apache2 and PHP5 SpiderIRE Linux - Software 3 09-30-2005 03:25 PM
Apache2 and PHP5 rul3r Slackware 7 09-11-2005 05:21 PM
Apache2 + PHP5.0.3 24jedi *BSD 1 07-21-2005 03:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:49 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
Open Source Consulting | Domain Registration