Category: PHP
Anything related to the PHP language
Upgrading PostgreSQL and PHP
One thing has annoyed me for years, and that is the ports tree refusing me to configure and download newer versions of PHP and PostgreSQL while an older one is installed.
Read More → Upgrading PostgreSQL and PHPUpgrading PHP from 7.0.22 to 7.1.9
I created a shell script which began its simple life as After running the script for a second time and a third time, etc, the script was successively changed to: Restart Apache using service apache24 restart. In the end, PHP 7.0.22 got upgraded to PHP 7.1.9. All is well.
Read More → Upgrading PHP from 7.0.22 to 7.1.9Upgrading lang/php5
to lang/php56
The 20150220 entry in /usr/ports/UPDATING contains no instructions for upgrading lang/php5 to lang/php56, at least not for us compiling our own ports. I learned the hard way using portupgrade what needs to be done. I have summarised my steps into the script below. Use the script as a guide, and if you do run my […]
Read More → Upgradinglang/php5
to lang/php56
Minor difficulties with PHP 5.3.5, php-mysql 5.3.5, and MySQL 5.5.8 on FreeBSD 8, now solved
Something was wrong with the combination of PHP 5.3.5, php-mysql 5.3.5, and MySQL 5.5.8 on FreeBSD 8 earlier this month. Any attempt to run the command php -v resulted in PHP hanging after outputting the “Zend line”. Either kill(1) the process or type C-c to put it out of its misery, but neither action is […]
Read More → Minor difficulties with PHP 5.3.5, php-mysql 5.3.5, and MySQL 5.5.8 on FreeBSD 8, now solved