grabnoob.blogg.se

Moveing from php 5.2 to 5.3
Moveing from php 5.2 to 5.3











moveing from php 5.2 to 5.3

Should output similar to the following: php-cli- php-common- php- Great, let’s move on. Confirm your version of PHP is the CentOS 6.7 default. ScriptAlias /php-fastcgi/ /usr/local/php-5.3.26/bin/ This article is assuming that you are running the CentOS 6.7 default version of PHP 5.3. I have been using the following configuration on CentOS-5.9 SetEnv PHPRC /var/www/cgi-bin/php_5_3_14/ However, after having added what I think are the correct directives to the VirtualHost, the site still is not using PHP 5.3, it continues to work, using PHP 5.2 (the version setup as an Apache module). If I run it with a script it works correctly. I also downloaded and compiled PHP 5.3.14 successfully to the point where I have the php-5.3.14/sapi/cgi/php-cgi executable built and ready to go. I've followed a couple tutorials to the point where I have Apache/PHP 5.2 installed and working as a module. One of the sites uses features only available in PHP 5.3, and I have sites that need 5.2, so I'd like to run only the site that need PHP 5.3 on over CGI. Using PHP features that aren’t compatible with 5. PHP v5.3 helps a lots, but PHP 5.4 brought a couple of great little features that we like to use. PHP 4 is outdated and WordPress is not much tested to run on it any longer (not as much as PHP 5 by far at least). In fact, WordPress runs better on PHP 5 than it does on PHP 4.

moveing from php 5.2 to 5.3

#Moveing from php 5.2 to 5.3 upgrade

The Apache server I have setup is Apache 2.2.3 with PHP 5.2.10 running as an Apache module. We find that developing PHP in anything less that PHP 5.4 to be a pain in the proverbial. Current and updated versions should be compliant and you should not run into any problems when you upgrade your hosting to a recent PHP version like PHP 5.2.x or 5.3.x. I've been trying to setup my development server to serve one of my Apache virtual hosts over CGI using PHP 5.3.14.













Moveing from php 5.2 to 5.3