[PHP] PHP suddenly stops working on FreeBSD

2006-05-10 Thread Paul Waring
I restarted Apache this morning in order to allow some new virtual hosts to be recognised, and now I've got a problem whereby all of my PHP scripts are being served up as source code instead of being executed by the web server. I don't know why this is, as far as I'm aware I haven't changed

Re: [PHP] PHP suddenly stops working on FreeBSD

2006-05-10 Thread rouvas
On Wednesday 10 May 2006 16:58, Paul Waring wrote: I restarted Apache this morning in order to allow some new virtual hosts to be recognised, and now I've got a problem whereby all of my PHP scripts are being served up as source code instead of being executed by the web server. I don't know

Re: [PHP] PHP suddenly stops working on FreeBSD

2006-05-10 Thread Jochem Maas
Paul Waring wrote: I restarted Apache this morning in order to allow some new virtual hosts to be recognised, and now I've got a problem whereby all of my PHP scripts are being served up as source code instead of being executed by the web server. I don't know why this is, as far as I'm aware I

Re: [PHP] PHP suddenly stops working on FreeBSD

2006-05-10 Thread Paul Waring
On 10/05/06, Jochem Maas [EMAIL PROTECTED] wrote: the php may be being loaded in via an include conf file do you havbe a line in httpd.conf that start with 'Include' ? Only one, and that includes some virtual host files (I don't think those are the problem, as Apache usually complains if

Re: [PHP] PHP suddenly stops working on FreeBSD

2006-05-10 Thread Jochem Maas
Paul Waring wrote: On 10/05/06, Jochem Maas [EMAIL PROTECTED] wrote: the php may be being loaded in via an include conf file do you havbe a line in httpd.conf that start with 'Include' ? Only one, and that includes some virtual host files (I don't think those are the problem, as Apache

Re: [PHP] PHP suddenly stops working on FreeBSD

2006-05-10 Thread Richard Collyer
Paul Waring wrote: Some version numbers in case it helps: php -v PHP 4.4.2 (cli) (built: May 10 2006 14:40:03) Copyright (c) 1997-2006 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies httpd -v Server version: Apache/2.0.58 Server built: May 7 2006 10:42:02 Does

Re: [PHP] PHP suddenly stops working on FreeBSD

2006-05-10 Thread Paul Waring
On 10/05/06, Riemer Palstra [EMAIL PROTECTED] wrote: These are rather recent versions of both, so I'm suspecting an upgrade was done recently which didn't make PHP all that happy. This is PHP built from the port /usr/ports/lang/php4? Go to that dir, type 'make config', make sure the APACHE knob

Re: [PHP] PHP suddenly stops working on FreeBSD

2006-05-10 Thread Paul Waring
On 10/05/06, Richard Collyer [EMAIL PROTECTED] wrote: Does this do the same with PHP5? Remember mod_php5 has gone from ports so lang/php5 then make config and select build apache option. I've no idea whether it does that with PHP5, but I'm not ready to upgrade to that version yet (perhaps over

Re: [PHP] PHP suddenly stops working on FreeBSD

2006-05-10 Thread Matt
Just in case you ever need to check the configure line again in the future, you can get at it (even if you've built through the FreeBSD ports) through a phpinfo page. The third section on that page is labeled Configure Command and lists all the options used during the build. Matt On 5/10/06,