Quantcast
Channel: Web – Programming and Technology
Browsing latest articles
Browse All 64 View Live

Image may be NSFW.
Clik here to view.

Increase the maximum file size upload in PHP

Sometimes you need to increase the default 2 megabyte maximum upload file size. The maximum size you can upload to a server using PHP is defined by 2 values: Upload max file size: upload_max_filesize...

View Article



Image may be NSFW.
Clik here to view.

Install PHP 7.0 in Mac OS X with MacPorts

I’ve used this process to install PHP 7.0 with MacPorts along side with PHP 5.6. First make sure Mac OS X included Apache server is stopped: $ sudo launchctl unload -w...

View Article

Image may be NSFW.
Clik here to view.

Adding PHP 7.0 support in Plesk

First thing you need to do is update to Plesk 12.5 (currently 12.5.30). For that you have to go to Server options, “Plesk->Updates and Upgrades” and then go to “Install or Upgrade Product”. You may...

View Article

Image may be NSFW.
Clik here to view.

Remove a WordPress action in child theme

If you want to remove a WordPress action that was added in the parent theme like this: function fusion_insert_og_meta() { ... } add_action( 'wp_head', 'fusion_insert_og_meta', 5 ); It’s VERY important...

View Article

Image may be NSFW.
Clik here to view.

Install MongoDB and the PHP driver in CentOS

Install MongoDB server Create the /etc/yum.repos.d/mongodb-org-3.0.repo file with this content: [mongodb-org-3.0] name=MongoDB Repository...

View Article


Image may be NSFW.
Clik here to view.

Multiple class inheritance with Doctrine ODM in Symfony: One collection for...

When you use Doctrine ORM in Symfony all the data is stored in tables having every row the same columns. Storing different type of entities in the same table is not posible (AFAIK). But MongoDB can...

View Article

Image may be NSFW.
Clik here to view.

Use HTTPS protocol in WordPress 4.4+ for srcset attribute

I’ve started using “Let’s Encrypt” in multiple sites I manage. Just after installing it for this blog I noticed that all images didn’t load because they were originally linked with HTTP. This was easy...

View Article

Image may be NSFW.
Clik here to view.

Exit maintenance mode in WordPress when an update fails

To exit maintenance mode in WordPress when an update fails is as easy as deleting the .maintenance file from the root folder. Fixing the update problem is another history… The post Exit maintenance...

View Article


CentOS “Error: php-mysql conflicts with php-mysqlnd” updating with PHP 7.0

If you get an error about a conflict between php-mysql and php-mysqlnd when updating CentOS packages after installing and activating the PHP 7.0 remi package source like this one: # yum -y install...

View Article


Image may be NSFW.
Clik here to view.

Fix “There is no suitable CSPRNG installed on your system” in Plesk

After updating paragonie/random_compat you may get this error. This is caused because version 2.0 stopped using OpenSSL and now it uses /dev/urandom which may not be readable by your PHP configuration....

View Article
Browsing latest articles
Browse All 64 View Live




Latest Images