|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
FAMP+Wordpress jail not working anymore
Hi there
I was running FAMP+wordpress in a jail with 8.2-RELEASE. I always follow this guide to set up the wordpress database in mysql. I upgraded to 8.3-RELEASE, recently. Apache22 and Mysql start with no problems(inside this FreeBSD jail). I had to import the mysql database from my Linux web server to this new 8.3-RELEASE jailed mysql and that went o.k. I also had to rsync /var/www/html on the Linux web server to /usr/local/www/apache22/data in the jail. Everything worked fine on the 8.2-RELEASE. During the upgrade i accepted the merges of the config files. So i ended up with the same config files for the most part. The only lines that were added to httpd.conf were: Code:
AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps Code:
<IfModule dir_module> DirectoryIndex index.php index.html </IfModule> The problem is that when i access the site held in this FreeBSD jail, from another host on the network, i get a strange response to the browser in question. A small window pops up and it says: You have chosen to open index.php, which is a .php file 395 bytes. When i don't specify /index.php in the URL it sometimes gives me the .php source for index.php. I don't understand what's going on, but hope that it is just an apache22 config mistake. I think mod_cgi.c is supposed to be handling php execution, as this server does not require speed. All the ports were installed into the jail after syncing the ports tree. And yes PHP5-Mysql is installed. I really dunno what to do. Any help would be great. Thank you very much Last edited by unixjingleman; 10th September 2012 at 06:58 PM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't import mysql wordpress into jail | unixjingleman | FreeBSD General | 4 | 25th July 2012 09:05 PM |
NAUTILUS does not display /etc/fstab contents anymore | vermaden | FreeBSD General | 0 | 13th April 2011 06:58 AM |
My keyboard is not working properly anymore in OpenBSD | newbsdied | OpenBSD General | 2 | 4th November 2010 11:20 PM |
Can't passwd on all accounts anymore | ck2323 | FreeBSD General | 1 | 7th October 2009 03:28 AM |
Network not working in my jail. | krreagan | FreeBSD Security | 7 | 5th May 2008 11:43 PM |