Hi,
First post on here after using cPanel for 4 years!
I tried to update my VPS to Apache 2.4 this evening, and it completes the upgrade, and installed PHP 5.4.14 at the same time.
Once done, all my PHP sites break, with errors regarding to preg_match()
OpenCart site:
Warning: preg_match(): Compilation failed: unknown option bit(s) set at offset -1 in /home/z22se/public_html/shop/system/helper/utf8.php on line 155
XenForo site:
Server Error
preg_match(): Compilation failed: unknown option bit(s) set at offset -1
XenForo_Application::handlePhpError()
preg_match() in XenForo/Input.php at line 193
XenForo_Input::_doClean() in XenForo/Input.php at line 179
XenForo_Input->filterSingle() in XenForo/ControllerPublic/Forum.php at line 65
XenForo_ControllerPublic_Forum->actionIndex() in XenKingDir/ControllerPublic/Forum.php at line 19
XenKingDir_ControllerPublic_Forum->actionIndex() in XenForo/FrontController.php at line 310
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
XenForo_FrontController->run() in /home/z22se/public_html/forum/index.php at line 13
I've rolled back to Apache 2.2 andn PHP 5.4.14 and all is working again. I've tried to Google for this, but haven't come across anything so far.
Any suggestions as to what could be breaking?
Thanks,
Matt
First post on here after using cPanel for 4 years!
I tried to update my VPS to Apache 2.4 this evening, and it completes the upgrade, and installed PHP 5.4.14 at the same time.
Once done, all my PHP sites break, with errors regarding to preg_match()
OpenCart site:
Warning: preg_match(): Compilation failed: unknown option bit(s) set at offset -1 in /home/z22se/public_html/shop/system/helper/utf8.php on line 155
XenForo site:
Server Error
preg_match(): Compilation failed: unknown option bit(s) set at offset -1
XenForo_Application::handlePhpError()
preg_match() in XenForo/Input.php at line 193
XenForo_Input::_doClean() in XenForo/Input.php at line 179
XenForo_Input->filterSingle() in XenForo/ControllerPublic/Forum.php at line 65
XenForo_ControllerPublic_Forum->actionIndex() in XenKingDir/ControllerPublic/Forum.php at line 19
XenKingDir_ControllerPublic_Forum->actionIndex() in XenForo/FrontController.php at line 310
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
XenForo_FrontController->run() in /home/z22se/public_html/forum/index.php at line 13
I've rolled back to Apache 2.2 andn PHP 5.4.14 and all is working again. I've tried to Google for this, but haven't come across anything so far.
Any suggestions as to what could be breaking?
Thanks,
Matt