1 (edited by jokibear 2012-10-17 03:32:23)

Topic: PHP module installation crashed Apache

==== ==== Required information ====
- iRedMail version: 0.8.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: FreeBSD 9.0-CURRENT
- Related log if you're reporting an issue:
====
Hi,

in the beginning everything went like a charm. But then I wanted to add owncloud (http://owncloud.org/) to my server, which required some additional PHP modules.
After installation of these modules apache didn't start anymore.
I made some research on the errors and made following changes in /usr/local/etc/apache22/httpd.conf:

I removed the '#' in front of
LoadModule mysql_auth_module  libexec/apache22/mod_auth_mysql.so and added
LoadModule wsgi_module libexec/apache22/mod_wsgi.so

Apache works now again, but shows me

You don't have permission to access /mail on this server.

Also it's not processing PHP anymore. I attached the httpd-error.log, it's a mess.

Something totally went wrong.

Could you help me please?

Thanks very much!!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: PHP module installation crashed Apache

It reports "PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/xsl.so' - Cannot open "/usr/local/lib/php/20100525-debug/xsl.so" in Unknown on line 0", please remove the single quotes and try again?

P.S. It's better to paste short log in forum post directly instead of attaching a file, easier for others to help check the log.