Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Remi Collet:
PHP 7.0 as Software Collection
Mar 26, 2015 @ 11:15:48

Remi Collet has a new post today talking about the next major release of the PHP language - PHP 7 - and how it, in its current state, can be installed now as an RPM from the "remi" repository as a software collection.

RPM of upcoming major version of PHP 7.0, are available in remi repository for Fedora 20, 21, 22 and Enterprise Linux 6, 7 (RHEL, CentOS, ...) in a fresh new Software Collection (php70) allowing its installation beside the system version. As I strongly believe in SCL potential to provide a simple way to allow installation of various versions simultaneously, and as I think it is useful to offer this feature to allow developers to test their applications, to allow sysadmin to prepare a migration or simply to use this version for some specific application, I decide to create this new SCL.

Instructions for the installation (via yum) are included and a list of some things "to be noticed" about the setup are also included.

tagged: php7 software collection fedora enterprise linux rpm yum install remi repository

Link: http://blog.famillecollet.com/post/2015/03/25/PHP-7.0-as-Software-Collection

Wes Ray's Blog:
Configuring Fedora 12 PHP/MySQL Server with Nginx and reverse proxy to Apache
Nov 17, 2010 @ 14:15:37

Wes Ray has posted a step-by-step guide to help you get your Fedora server up and running with PHP, MySQL and the Nginx web server. He also sets up Apache as a reverse proxy for the web requests.

Ok so I'm going to make this article quick, simple and to the point. Fuck the bullshit, lets get ya'll setup with nginx with a reverse proxy to apache in less than an hour. Now this article is made for VPS type system such as linode or slicehost. We're starting at the point in which you have Fedora 13 actually installed, base system.

He goes through the steps to install all of the needed packages - nginx, PHP, MySQL - and then how to configure nginx to serve up your websites. He notes that the important part is the location of the container to get PHP working. Setting up Apache is a simple one-line change to the httpd.conf and he even includes the installation of APC, mlocate and fail2ban.

tagged: install tutorial mginx apache mysql fedora linux

Link:

Carson McDonald's Blog:
Building HipHop PHP for Fedora 12 on 64 bit and 32 bit Systems
Feb 23, 2010 @ 12:15:42

Carson McDonald has just released a guide for getting the highly-anticipated release from Facebook, HipHop PHP, up and running on Fedora 12 systems (both 32 and 64 bit flavors).

The first thing to note is that they are only supporting 64 bit systems officially. [...] I'm going to assume at first that you are using a 64 bit system and then end with what you need if you are still using a 32 bit system.

He used an EC2 instance to substitute for a local 64 bit machine, but it works all the same. He includes the commands (package changes) to get the machine where it needs to be to perform the HipHop install and how to get the latest HipHop source from github. Most of the install is handled via packages, but you will need to get into the HipHop source a bit and change a few things for this issue. With everything in place you can run a cmake/make on the source and wait for the resulting binary to be created.

He's condensed down this whole process into one script for those that want a simpler solution.

tagged: facebook hiphop fedora 64bit 32bit tutorial

Link:

Rob Richards' Blog:
PHP, Oracle and SELinux
Dec 20, 2007 @ 14:41:00

Rob Richards mentioned in a previous book review about some of the issues he was having getting the Oracle extension enabled on his Fedora 8 system. Well, he's come back after doing some more testing/compiling and has found some resolution to his issues.

I really didn't need to get it running, but the sheer fact that I tried it and it wouldn't work, pissed me off enough to spend some time getting it resolved. Hopefully this helps anyone else having the same problem. I am currently using instant client 11.1, but I did try the 10.2 version with the same results.

He steps through the process he followed - tracking down the missing libaio files, correcting an issue with SELinux loading the Oracle libraries and his realization: he just needed to allow text relocation. Included in the post are the command line calls that'd need to be made to make it all happen.

tagged: oracle selinux compile fedora redhat linux install oracle selinux compile fedora redhat linux install

Link:

Rob Richards' Blog:
PHP, Oracle and SELinux
Dec 20, 2007 @ 14:41:00

Rob Richards mentioned in a previous book review about some of the issues he was having getting the Oracle extension enabled on his Fedora 8 system. Well, he's come back after doing some more testing/compiling and has found some resolution to his issues.

I really didn't need to get it running, but the sheer fact that I tried it and it wouldn't work, pissed me off enough to spend some time getting it resolved. Hopefully this helps anyone else having the same problem. I am currently using instant client 11.1, but I did try the 10.2 version with the same results.

He steps through the process he followed - tracking down the missing libaio files, correcting an issue with SELinux loading the Oracle libraries and his realization: he just needed to allow text relocation. Included in the post are the command line calls that'd need to be made to make it all happen.

tagged: oracle selinux compile fedora redhat linux install oracle selinux compile fedora redhat linux install

Link:

HowTo Forge:
Fedora 8 Server Setup - LAMP, Email, DNS, FTP, ISPConfig - Page 6
Nov 12, 2007 @ 10:32:00

On the HowTo Forge website, there's a new tutorial that walks through the complete steps of setting up a Fedora 8 linux server with a full LAMP stack complete with email, DNS, FTP and ISPConfig support. They call it the "Perfect Server".

This is a detailed description about how to set up a Fedora 8 server that offers all services needed by ISPs and hosters: Apache web server (SSL-capable), Postfix mail server with SMTP-AUTH and TLS, BIND DNS server, Proftpd FTP server, MySQL server, Dovecot POP3/IMAP, Quota, Firewall, etc. This tutorial is written for the 32-bit version of Fedora 8, but should apply to the 64-bit version with very little modifications as well.

It's a seven page process with plenty of screenshots and settings to help make the installation nice and easy.

tagged: howto tutorial lamp fedora linux setup email dns ftp ispconfig howto tutorial lamp fedora linux setup email dns ftp ispconfig

Link:

HowTo Forge:
Fedora 8 Server Setup - LAMP, Email, DNS, FTP, ISPConfig - Page 6
Nov 12, 2007 @ 10:32:00

On the HowTo Forge website, there's a new tutorial that walks through the complete steps of setting up a Fedora 8 linux server with a full LAMP stack complete with email, DNS, FTP and ISPConfig support. They call it the "Perfect Server".

This is a detailed description about how to set up a Fedora 8 server that offers all services needed by ISPs and hosters: Apache web server (SSL-capable), Postfix mail server with SMTP-AUTH and TLS, BIND DNS server, Proftpd FTP server, MySQL server, Dovecot POP3/IMAP, Quota, Firewall, etc. This tutorial is written for the 32-bit version of Fedora 8, but should apply to the 64-bit version with very little modifications as well.

It's a seven page process with plenty of screenshots and settings to help make the installation nice and easy.

tagged: howto tutorial lamp fedora linux setup email dns ftp ispconfig howto tutorial lamp fedora linux setup email dns ftp ispconfig

Link:

HowTo Forge:
Installing Lighttpd With PHP5 And MySQL Support On Fedora 7
Oct 05, 2007 @ 10:33:00

The HowTo Forge website has a new installation tutorial posted today showing how to get the combination of Lighttpd, PHP5, MySQL and Fedora 7 up and running.

Lighttpd is a secure, fast, standards-compliant web server designed for speed-critical environments. This tutorial shows how you can install Lighttpd on a Fedora 7 server with PHP5 support (through FastCGI) and MySQL support.

There's about six steps to the process, including getting all of the packages. Thankfully, there's very little configuration you'll need to do. Since Lighttpd uses the FastCGI component to load in PHP support, there's no need for compiling. It's as easy as grabbing the packages and making them play nicely together. Configuration file changes (examples) are included to almost make it as easy as a cut & paste.

tagged: fedora tutorial install php5 mysql lighttpd package configure fedora tutorial install php5 mysql lighttpd package configure

Link:

HowTo Forge:
Installing Lighttpd With PHP5 And MySQL Support On Fedora 7
Oct 05, 2007 @ 10:33:00

The HowTo Forge website has a new installation tutorial posted today showing how to get the combination of Lighttpd, PHP5, MySQL and Fedora 7 up and running.

Lighttpd is a secure, fast, standards-compliant web server designed for speed-critical environments. This tutorial shows how you can install Lighttpd on a Fedora 7 server with PHP5 support (through FastCGI) and MySQL support.

There's about six steps to the process, including getting all of the packages. Thankfully, there's very little configuration you'll need to do. Since Lighttpd uses the FastCGI component to load in PHP support, there's no need for compiling. It's as easy as grabbing the packages and making them play nicely together. Configuration file changes (examples) are included to almost make it as easy as a cut & paste.

tagged: fedora tutorial install php5 mysql lighttpd package configure fedora tutorial install php5 mysql lighttpd package configure

Link:

Secunia.com:
Fedora update for PHP
Sep 25, 2007 @ 08:52:00

Via this Secunia advisory posted today, there's information about the update the Fedora Linux group has made to the PHP package included in their distribution. According to the release:

This fixes some vulnerabilities, which can be exploited by malicious, local users to bypass certain security restrictions and by malicious people to bypass certain security restrictions and cause a DoS (Denial of Service).

The original advisory post has more details on what the update fixes as well as the link to download the RPM packages to update your system. You can either manually download them or use the "yum" system to handle things a bit more automatically.

tagged: fedora linux update package security vulnerability secunia fedora linux update package security vulnerability secunia

Link: