PDA

View Full Version : 10.04 virtual host php not executing?



castles
April 30th, 2010, 12:44 PM
I upgraded karmic to lynx today and I'm stuck with some weird behaviour with one of my virtual hosts. The virtual hosts under /var/www/site work but my virtual host for DAVICAL which points to /usr/share/davical/htdocs/ doesn't.

Navigation to any html pages works but php files just show up blank!

Has there been a configuration change in lynx for virtual hosts outside of /var/www?

ghost_ryder35
April 30th, 2010, 03:20 PM
I upgraded karmic to lynx today and I'm stuck with some weird behaviour with one of my virtual hosts. The virtual hosts under /var/www/site work but my virtual host for DAVICAL which points to /usr/share/davical/htdocs/ doesn't.

Navigation to any html pages works but php files just show up blank!

Has there been a configuration change in lynx for virtual hosts outside of /var/www?

do you get any error messages in /var/log/apache2/access.log or /var/log/apache2/error.log ?

castles
May 1st, 2010, 12:41 AM
Nothing in access.log

The following is tail error.log...


PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/mcrypt.ini on line 1 in Unknown on line 0
[Fri Apr 30 22:25:29 2010] [notice] Apache/2.2.14 (Ubuntu) DAV/2 SVN/1.6.6 PHP/5.3.2-1ubuntu4 with Suhosin-Patch configured -- resuming normal operations
[Fri Apr 30 22:30:44 2010] [notice] caught SIGTERM, shutting down
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/mcrypt.ini on line 1 in Unknown on line 0
[Fri Apr 30 22:30:46 2010] [notice] Apache/2.2.14 (Ubuntu) DAV/2 SVN/1.6.6 PHP/5.3.2-1ubuntu4 with Suhosin-Patch configured -- resuming normal operations
[Sat May 01 03:02:49 2010] [notice] Graceful restart requested, doing restart
[Sat May 01 03:02:49 2010] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/mcrypt.ini on line 1 in Unknown on line 0
[Sat May 01 03:02:49 2010] [notice] Apache/2.2.14 (Ubuntu) DAV/2 SVN/1.6.6 PHP/5.3.2-1ubuntu4 with Suhosin-Patch configured -- resuming normal operations
[Sat May 01 09:32:31 2010] [error] [client 118.209.4.183] File does not exist: /usr/share/davical/htdocs/favicon.ico


Do you think mcrypt is the problem?

castles
May 1st, 2010, 12:48 AM
well its not mcrypt comments.. I just changed the hash to a ; and reboot Apache.. now there are no errors but still a blank page.

Update: I just got it to work.. all I needed to do was comment out the following in my virtual host config:


# php_value open_basedir 1
# php_value error_reporting "E_ALL & ~E_NOTICE"

Maelvon
July 20th, 2010, 10:30 PM
Commenting in my vhost the php_value for open_basedir and error_reporting works for me.

I've also change the port to 5432 in /etc/postgresql/8.4/main/postgresql.conf

Yes, the Lucid upgrade is complete. But it seems I've lost my davical users. Where are they stored ? I've used the create-database.sh script for postgresql 8.4, is the 8.3 database somewhere ?

jimmybarcelona
September 14th, 2010, 09:10 PM
well its not mcrypt comments.. I just changed the hash to a ; and reboot Apache.. now there are no errors but still a blank page.

Update: I just got it to work.. all I needed to do was comment out the following in my virtual host config:

This worked perfectly for me. What do those lines mean?

bjk03
December 2nd, 2010, 03:03 PM
Never mind I found my issue