My linux distro is Arch Linux. I first noticed this error when trying to send emails using the PHP mail() function. Testing with a simple mail-test.php file with the mail() function sends the email when called from the command line, but will not send when using http://localhost/mail-test.php. I get the same error both times, but only using the command line sends the email.
I get the error:
PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/libphp5.so' - /usr/lib/php/modules/libphp5.so: cannot open shared object file: No such file or directory at Unknown#0
Using ls /usr/lib/php/modules shows the file does not exist, and searching the system results in /usr/lib/httpd/modules/libphp5.so existing.
php-apache is installed and apache serves php sites just fine. (tested with a test php file containing <?php phpinfo(); ?>)
I can't seem to find the cause of this error though. Any help is appreciated, thanks!