Skip to content

Instantly share code, notes, and snippets.

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

Embed
What would you like to do?
ap24-php72
httpd -X
<b>Warning</b>: PHP Startup: Unable to load dynamic library 'pdo.so' (tried: /opt/pkg/lib/php/20170718/pdo.so (dlopen(/opt/pkg/lib/php/20170718/pdo.so, 9): Symbol not found: _executor_globals
Referenced from: /opt/pkg/lib/php/20170718/pdo.so
Expected in: flat namespace
in /opt/pkg/lib/php/20170718/pdo.so), /opt/pkg/lib/php/20170718/pdo.so.so (dlopen(/opt/pkg/lib/php/20170718/pdo.so.so, 9): image not found)) in <b>Unknown</b> on line <b>0</b><br />
Installed:
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/mod_php7.so
<VirtualHost *:80>
ServerName phptest
ServerAdmin admin@domain.com
ErrorLog logs/phptest-error_log
CustomLog logs/phptest-access_log common
DocumentRoot "/Users/tpaul/phptest"
<Directory "/Users/tpaul/phptest">
DirectoryIndex index.php
Require ip 127.0.0.1
<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>
</Directory>
</VirtualHost>
@mmoll

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.