Technology Insights

Generate A GPG Key To Sign RPM Packages Created Using rpmbuild On CentOS Linux

I have been playing around with building RPM packages today on CentOS because I needed to upgrade curl and the latest version available on CentOS didn’t have the features I needed to use. One of the things that had come h up during the RPM build process and the RPM package installation process using yum was the fact that your RPM packages should be signed. Signing RPM packages gives them some validity and will allow others to install them without having to modify their yum.conf file. Below I describe how to generate a GPG key to be used to sign RPM packages created using the rpmbuild command. First below is a message that will be received when attempting to install unsigned packages using yum with the default yum configuration.

Technology Errors

PHP Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 491520 bytes) in /path/to/file

I received the below error during the process of a ZenCart shopping cart upgrade. The error was noticed when navigating through the ZenCart store admin via a web browser. I wanted to post a resolution because I wasn’t able to locate the exact resolution to my answer online and it took me awhile to locate the issue. Most of the resolutions I located on the Internet talked about modifying the post_max_size or other options located in the php.ini file however no matter what I changed these to I ended up receiving the same error.

Error: PHP Fatal error:  Allowed memory size of 25165824 bytes exhausted (tried to allocate 491520 bytes) in /path/to/file