First of all php errors are not logged in apache error log. PHP errors are logged seperately. if you want to custom define error log file for your apache errors you can use virtualhost directive in apache httpd config file If you do not specify an ErrorLog directive within a <VirtualHost> container, error messages relating to that virtual host will be logged here. If you *do* define an error logfile for a <VirtualHost> container, that host's errors will be logged there. If you want to change the default log file for php error then use "error_log" directive to define the path. "error_log" is located in php.inifile. -- Fahad Pervaiz www.ecommerce-xperts.com