Re: apache2 php5 error
On Tue August 17 2010, Steve Kemp wrote:
> On Tue Aug 17, 2010 at 16:00:44 -0400, Paul Cartwright wrote:
> > from httpd.conf:
> > LoadModule php5_module /usr/local/apache2/modules/libphp5.so
>
> Remove that line.
>
> The debian way of loading modules is to use the tools:
>
> a2enmod
> a2dismod
>
> These will create symlinks in /etc/apache2/mods-enabled appropriately
> ensuring you never need to edit httpd.conf.
a2enmod php5, the restarted apache2 and got this:
/etc/init.d/apache2 restart
Restarting web server: apache2 failed!
# tail /var/log/apac*/error.log
[Tue Aug 17 18:49:40 2010] [error] (2)No such file or directory: could not
open transfer log
file /disk2/pictures/www/${APACHE_LOG_DIR}/other_vhosts_access.log.
Unable to open logs
--
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459
Reply to: