Code:
FreeBSD MACH1 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 19:31:38 UTC 2015 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386
Seems as if I am in a "fail guaranteed" environment trying to install a FAMP stack.
Perhaps and hopefully, someone may spot an error in my attempt or suggest an alternate route.
FAMP <==>
F FreeBSD 10.2 ... O/S
A Apache24-2.4.16_1
M MySQL56-5.6.26
P PHP 5.6.26
Repeated installation of the various components and failures as far as
info.php()returning a blank page and no evident error messages to stdout or in any recognizable log.
Installation Programs -
FreeBSD O/S installation fresh and clean
Apache24 - test out OK as indicated by
apachectl configtest,starts and restarts normally:
Installed programs -
Code:
apache24-2.4.16_1 Version 2.4.x of Apache web server
apr-1.5.2.1.5.4 Apache Portability Library
MySQL56 - installed programs:
Code:
mysql56-client-5.6.26 Multithreaded SQL database (client)
mysql56-server-5.6.26 Multithreaded SQL database (server)
php56-mysql-5.6.14 The mysql shared extension for php
php56-mysqli-5.6.14 The mysqli shared extension for php
php56-pdo_mysql-5.6.14 The pdo_mysql shared extension for php
phpMyAdmin-4.5.0.2 Set of PHP-scripts to manage MySQL over the web
PHP56 - finally decided to throw all 'extensions' into the foray -
Code:
libmcrypt-2.5.8_3 Multi-cipher cryptographic library (used in PHP)
mod_php56-5.6.14 PHP Scripting Language
pear-1.9.4_3 PEAR framework for PHP
pear-PHP_Archive-0.12.0 Create and Use PHP Archive files
php5-extensions-1.7 "meta-port" to install PHP extensions
php56-5.6.14 PHP Scripting Language
php56-bcmath-5.6.14 The bcmath shared extension for php
php56-bz2-5.6.14 The bz2 shared extension for php
php56-calendar-5.6.14 The calendar shared extension for php
php56-ctype-5.6.14 The ctype shared extension for php
php56-curl-5.6.14 The curl shared extension for php
php56-dom-5.6.14 The dom shared extension for php
php56-extensions-1.0 "meta-port" to install PHP extensions
php56-fileinfo-5.6.14 The fileinfo shared extension for php
php56-filter-5.6.14 The filter shared extension for php
php56-gd-5.6.14 The gd shared extension for php
php56-gettext-5.6.14 The gettext shared extension for php
php56-hash-5.6.14 The hash shared extension for php
php56-iconv-5.6.14 The iconv shared extension for php
php56-imap-5.6.14 The imap shared extension for php
php56-json-5.6.14 The json shared extension for php
php56-ldap-5.6.14 The ldap shared extension for php
php56-mbstring-5.6.14 The mbstring shared extension for php
php56-mcrypt-5.6.14 The mcrypt shared extension for php
php56-mysql-5.6.14 The mysql shared extension for php
php56-mysqli-5.6.14 The mysqli shared extension for php
php56-odbc-5.6.14 The odbc shared extension for php
php56-opcache-5.6.14 The opcache shared extension for php
php56-openssl-5.6.14 The openssl shared extension for php
php56-pdo-5.6.14 The pdo shared extension for php
php56-pdo_firebird-5.6.14 The pdo_firebird shared extension for php
php56-pdo_mysql-5.6.14 The pdo_mysql shared extension for php
php56-pdo_odbc-5.6.14 The pdo_odbc shared extension for php
php56-pdo_pgsql-5.6.14 The pdo_pgsql shared extension for php
php56-pdo_sqlite-5.6.14 The pdo_sqlite shared extension for php
php56-pgsql-5.6.14 The pgsql shared extension for php
php56-phar-5.6.14 The phar shared extension for php
php56-posix-5.6.14 The posix shared extension for php
php56-pspell-5.6.14 The pspell shared extension for php
php56-readline-5.6.14 The readline shared extension for php
php56-session-5.6.14 The session shared extension for php
php56-simplexml-5.6.14 The simplexml shared extension for php
php56-soap-5.6.14 The soap shared extension for php
php56-sqlite3-5.6.14 The sqlite3 shared extension for php
php56-tokenizer-5.6.14 The tokenizer shared extension for php
php56-xml-5.6.14 The xml shared extension for php
php56-xmlreader-5.6.14 The xmlreader shared extension for php
php56-xmlwriter-5.6.14 The xmlwriter shared extension for php
php56-zip-5.6.14 The zip shared extension for php
php56-zlib-5.6.14 The zlib shared extension for php
phpMyAdmin-4.5.0.2 Set of PHP-scripts to manage MySQL over the web
Here all the questions come into play especially in the absence of dedicated logs and I cannot put a blank page in that category: I have tried it with both customized and default my.cnf and php.ini {both php.ini-production and php.ini-development} files: I do not know what next to try.
Interface file(s)/changes:
To
httpd.conf
Code:
Listen xxx.xxx.xxx.xxx:80
LoadModule php5_module libexec/apache24/libphp5.so
DirectoryIndex index.php index.html index.htm
Alias /phpmyadmin/ "/usr/local/www/phpMyAdmin/"
<Directory "/usr/local/www/phpMyAdmin/">
Options None
AllowOverride Limit
Require local
Require host xxx.xxx.xxx.xxx
</Directory>
# For parsing php files
AddType application/x-httpd-php .php .htm .html
AddType application/x-httpd-php-source .phps
<FilesMatch "\.php$">
SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
SetHandler application/x-httpd-php-source
</FilesMatch>
After requesting an info.php page, I can harvest from the httpd.error.log, multiple entries of the type ==>
Code:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226-zts/dom.so' - /usr/local/lib/php/20131226-zts/dom.so: Undefined symbol "executor_globals" in Unknown on line 0
PHP Warning: PHP Startup: gd: Unable to initialize module
Module compiled with build ID=API20131226,NTS
PHP compiled with build ID=API20131226,TS
These options need to match
in Unknown on line 0
* the file(s)'/usr/local/lib/php/20131226-zts/dom.so' do exist: The "compiled with build" conflicts apparently only occurred after recompilation of php56 but a similar "Unable to load dynamic library" did exist
I do hope someone can identify some flaw in what I have done so far or can suggest an alternative solution.