Skip to content

Instantly share code, notes, and snippets.

@travispaul travispaul/notes.txt
Last active Feb 2, 2019

What would you like to do?
httpd -X
<b>Warning</b>: PHP Startup: Unable to load dynamic library '' (tried: /opt/pkg/lib/php/20170718/ (dlopen(/opt/pkg/lib/php/20170718/, 9): Symbol not found: _executor_globals
Referenced from: /opt/pkg/lib/php/20170718/
Expected in: flat namespace
in /opt/pkg/lib/php/20170718/, /opt/pkg/lib/php/20170718/ (dlopen(/opt/pkg/lib/php/20170718/, 9): image not found)) in <b>Unknown</b> on line <b>0</b><br />
php72-pdo_mysql-7.2.4 = PHP extension for PHP Data Objects (MySQL)
php72-pdo-7.2.4 = PHP extension for PHP Data Objects (base)
php72-mysqli-7.2.4 = PHP5 extension for MySQL 4.1 and later databases
php-7.2.4 = PHP Hypertext Preprocessor version 7.2
ap24-php72-7.2.4 = Apache (apache24) module for PHP7.2
httpd.conf additions:
LoadModule php7_module lib/httpd/
<VirtualHost *:80>
ServerName phptest
ErrorLog logs/phptest-error_log
CustomLog logs/phptest-access_log common
DocumentRoot "/Users/tpaul/phptest"
<Directory "/Users/tpaul/phptest">
DirectoryIndex index.php
Require ip
<FilesMatch \.php$>
SetHandler application/x-httpd-php

This comment has been minimized.

Copy link

commented Feb 2, 2019

@travispaul Hello, I'm seeing a similar problem with pkgsrc on Linux (PHP 7.1 works fine), did you find any cause or even a workaround for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.