DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 10th September 2012
unixjingleman unixjingleman is offline
Fdisk Soldier
 
Join Date: Jan 2011
Posts: 70
Thanked 0 Times in 0 Posts
Default 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
And:
Code:
<IfModule dir_module>
    DirectoryIndex index.php index.html
</IfModule>
The UID and GID of the directories and file in /usr/local/www/apache22/data were preserved accross the rsync and mapp to the correct values of root and wheel. The permission are also correct and the same as those on the Linux server.
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.
Reply With Quote
 

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 03:32 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick