townsbg wrote:My attempts at updating php on the 1.7 install either resulted in apache not starting or weren't recognized by the phpbb installer.
Nobbie wrote:townsbg wrote:and import the old data.
We need a more precisely description of what you tried there.
download your desired version of php binary from http://windows.php.net/download/ website. download Thread Safe binary zip version. Unzip the downloaded version of the PHP in a separate folder. Please make sure that your new php folder name is not "PHP". May be you can use filder name as the version name. For example for php 5.4 you can use php54.
Copy the new php folder into your xampp folder. Now go to yourxampp/apache/conf/extra folder. Open file httpd-xampp.conf from the folder extra. Change the following variables:
Variable PHPINIDir to be / Varaible LoadModule to be //php5apache2_2.dl
Save the file httpd-xampp.conf. Restart your XAMPP apache server. If your server get restarted successfully then your server php version is upgraded.
Download the latest binary version of PHP (make sure to get the .zip package not the installer)
De-archive it to a directory
Overwrite the contents of directory in the php subfolder of your XAMPP installation directory.
Overwrite the contents of the directory apache\bin with the newer versions.
Now the trick: take the files which have a '_2' in their names (for example php5apache2_2.dll or php5apache2_2_filter.dll), copy them in the apache\bin subdirectory and remove the '_2' part, overwriting the existing files. This is necessary because by XAMPP uses Apache version 2.2 and the files with the 2 prefix are built for Apache 2.0, so you must take the files build for the newer version (which has a different plugin interface) and rename them in the filenames XAMPP expects.
NOTE: there are two directories to be updated with new version of files, namely php sub-directory and apache/bin sub-directory, inside XAMPP installation.
Altrea wrote:townsbg wrote:My attempts at updating php on the 1.7 install either resulted in apache not starting or weren't recognized by the phpbb installer.
For good reasons updating any of the single components is not supported with XAMPP.
Altrea wrote:That really helps a lot. What am I suppose to do?
phpMyAdmin - Error
Error during session start; please check your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser.
Welcome to phpMyAdmin
MySQL said: Documentation
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
Nobbie wrote:As long as you do not provide any of these errors (full description!), as long you wont get any help. Error messages are not meant for "decoration" or similar, they are meant for help in order to find the error reason.
Warning  Creating default object from empty value - Line: 311 - File: C:\xampp\htdocs\mybb\admin\index.php PHP 5.4.31 (WINNT)
File Line Function
C:\xampp\htdocs\mybb\admin\index.php 311 errorHandler->error
Warning  Illegal string offset 'flash_message' - Line: 134 - File: C:\xampp\htdocs\mybb\admin\inc\class_page.php PHP 5.4.31 (WINNT)
File Line Function
C:\xampp\htdocs\mybb\admin\inc\class_page.php 134 errorHandler->error
C:\xampp\htdocs\mybb\admin\modules\home\index.php 40 DefaultPage->output_header
C:\xampp\htdocs\mybb\admin\index.php 483 require
Users browsing this forum: No registered users and 48 guests