LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Apache2 and php5 issues! (https://www.linuxquestions.org/questions/linux-software-2/apache2-and-php5-issues-728516/)

AuzJ 05-26-2009 02:10 AM

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

barghota 05-27-2009 02:27 PM

What's the output of

Quote:

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


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