Tags "php" Result

Cannot update Laravel 5.4 to 5.5 composer

When I tried to update Laravel 5.5 from 5.4, it is show errors. { "name": "laravel/laravel", "description": "The Laravel Framework.", "keywords": ["framework", "laravel"], "license": "MIT", "type": "project", "require": { "php": ">=7.0", "intervention/image": "^2.4", "laravel/framework": "5.5.*",

it1352 0 2020-10-07

How do PHP releases match "API=yyyymmdd" signature/tag?

Is there a definite and reliable source to find out which PHP release version x.y.z carries/uses which "API=yyyymmdd" signature/tag? Solution The version control repository of PHP is the authoritative source on the correlation between PHP releases and their API date-versions. Assuming bash Fetch PHP. git clone https://github.com/php/php-src.gi

it1352 2 2019-05-08

Composer install missing curl-ext

I am developing some PHP on Ubuntu 14.04.4 LS. Running composer install is failing and I can't figure it out. This was working earlier when I was using PHP 5.5.9, but I had to update to at least 5.6 in order to install phpunit. Running php -v outputs: PHP 5.6.23-1 deb.sury.org~trusty 2 (cli) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.

it1352 0 2020-10-07

Render a Drupal node

I would like to show a node inside another node. So I retrieve the node id of the second node and I would like to render/print/... it inside another node. But I'm not sure how to do this. I've tried drupal_render, node_view, print,... but with no results. Any advice? $nid = $node->field_linked_fiche['und'][0]['nid']; $fullFiche = node_load($nid

it1352 5 2019-05-15

cant install php-devel for php 7.4.1

i cannot install php-devel, when i enter: yum install php-devel Resolving Dependencies --> Running transaction check ---> Package php-devel.x86_64 0:7.4.0-1.el7.remi will be installed --> Processing Dependency: php-cli(x86-64) = 7.4.0-1.el7.remi for package: php-devel-7.4.0-1.el7.remi.x86_64 --> Finished Dependency Resolution Error

it1352 0 2020-09-30

Cron Daemon error With PHP Cron job

So I'm fairly new with Cron Jobs and I've run into a wall with trying to get this specific cron job to work. All I want is for a PHP webpage to be accessed daily. By accessing the PHP page, the cron job will activate the script inside which sends out an email to specific users. Here is the cron job code: php -q /home/sitename/public_html/scripts/e

it1352 2 2019-05-14

Composer require phpoffice/phpspreadsheet doesn't work

I want to write a Script using the package Phpspreadsheet. I am not experience in php. I am trying to add the reference to my script through sudo composer require phpoffice/phpspreadsheet. But it doesn't work. I am getting the error: In stallation failed, deleting composer.json....If have no idea why it is not working. Any idea? Detailed Error: Y

it1352 0 2020-10-31