Sponsored Content
The Lounge What is on Your Mind? Saturday May 4th the Forums Will Briefly Break Testing PHP 5.6 to PHP 7.0 Post 303034690 by Neo on Thursday 2nd of May 2019 11:49:31 AM
Old 05-02-2019
Saturday May 4th the Forums Will Briefly Break Testing PHP 5.6 to PHP 7.0

On Saturday May 4th the forums will briefly break when I switch our Apache PHP 5.6 module to PHP 7.0.

Previously, I had two sites set up for testing the migration, but for many reasons, the second site has additional issues unrelated to PHP 7.0 so it is hard to debug on a different site and make solid progress.

So, this Saturday when the site is quiet, I will run a2dismod php5.6; a2enmod php7.0 and see what breaks and what logs, and what does not break.

Then, depending on the severity of the breaks, I will turn PHP 5.6 back on with a2dismod php7.0; a2enmod php5.6, bringing the site back to normal.

I have already made a number of changes in the PHP code in preparation, but I'm sure things will break, the error logs will fill and I'll have more work to do in the next round.
These 5 Users Gave Thanks to Neo For This Post:
 

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Check if a day eg: saturday is the Last saturday of the month!

Hi, I need to develop a script to check for the day. If the day is a Saturday then the script should check if the Saturday is the last Saturday of the month so that certain set of instruction can be executed is it is the last Saturday. I do not want to use the crontab as this needs to be part... (9 Replies)
Discussion started by: jobbyjoseph
9 Replies

2. Shell Programming and Scripting

Stress testing php files at Unix/Linux Command line

Hi, Your great help is very appreciated. I am looking for any Unix command or tool for doing Stress/Load test of php files at command prompt. I tried torture.pl but it is not working after20 concurrent threads/users. as it is very urgent for me..please suggest ur ideas asap. thanks (5 Replies)
Discussion started by: Malleswari
5 Replies

3. Shell Programming and Scripting

cron to get executed on 2nd and 4th saturday of every month

Hi , i need to reboot a server during 2nd and 4th saturday every month. i have come up with the below cron 30 17 8-14 * * if ; then /rebootscript; fi # to reboot every second saturday 30 17 22-28 * * if ; then /rebootscript; fi # to reboot every fourth saturday I am wondering why it... (3 Replies)
Discussion started by: chidori
3 Replies

4. Red Hat

Update php 4.3 RPM to php 5.3.3 php

Dear All, My redhat version is: # cat /etc/redhat-release Red Hat Enterprise Linux AS release 4 (Nahant Update 4) # # uname -a Linux cotapplication3.cot.com 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux # I want to update my php from: # php... (1 Reply)
Discussion started by: monojcool
1 Replies
MAIN(3) 								 1								   MAIN(3)

main - Dummy formain(3)

	There  is  no  function  named	main(3)  except  in  the  PHP  source.	In  PHP  4.3.0,  a  new  type  of error handling in the PHP source
       (php_error_docref) was introduced. One feature is to provide links to a	manual	page  in  PHP  error  messages	when  the  PHP	directives
       html_errors (on by default) and docref_root (on by default until PHP 4.3.2) are set.

	Sometimes  error messages refer to a manual page for the function main(3) which is why this page exists. If you discover such a reference,
       please file a bug report, indicating the PHP function caused the error that linked to main(3) and it will be fixed and properly documented.

       Known errors that point to main(3)

       +----------------+-----------------------------+
       | Function name	|			      |
       |		|			      |
       |		| No longer points here as of |
       |		|			      |
       +----------------+-----------------------------+
       |  include(3)	|			      |
       |		|			      |
       |		|	     5.1.0	      |
       |		|			      |
       |include_once(3) |			      |
       |		|			      |
       |		|	     5.1.0	      |
       |		|			      |
       |  require(3)	|			      |
       |		|			      |
       |		|	     5.1.0	      |
       |		|			      |
       |require_once(3) |			      |
       |		|			      |
       |		|	     5.1.0	      |
       |		|			      |
       +----------------+-----------------------------+
       html_errors, display_errors.

PHP Documentation Group 														   MAIN(3)
All times are GMT -4. The time now is 01:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy