Warning PHP startup
Posted by: jonny (---.ias.bredband.telia.com)
Date: November 09, 2013 06:00PM

Every time I start the WAMP server I get 'Warning PHP startup' and in php_error.log there are two lines of 'PHP Warning: PHP Startup: in Unknown on line 0'.
I have to manually click the 'OK' button to continue the start up process.
How do I get rid of this warning?

Jonny

Options: ReplyQuote
Re: Warning PHP startup
Posted by: Otomatic (Moderator)
Date: November 09, 2013 06:24PM

Hi,

We need to modify the 'wamp\scripts\config.inc.php' file so that depending on the version of PHP used essential files for extensions are properly copied into the apache/bin folder.

In 'wamp\scripts\config.inc.php' file, replace all the contents of array
$phpDllToCopy = array (
....
....
....
);
by
$phpDllToCopy = array (
	'fdftk.dll',
	'fribidi.dll',
	'icudt51.dll', //[modif oto] - Additions to avoid unknown error PHP 5.5.5
	'icuin51.dll',
	'icuio51.dll',
	'icule51.dll',
	'iculx51.dll',
	'icutest51.dll',
	'icutu51.dll',
	'icuuc51.dll',
	'icudt50.dll', //[modif oto] - Additions to avoid unknown error PHP 5.5
	'icuin50.dll',
	'icuio50.dll',
	'icule50.dll',
	'iculx50.dll',
	'icutest50.dll',
	'icutu50.dll',
	'icuuc50.dll',
	'icudt49.dll', //[modif oto] - Additions to avoid unknown error PHP 5.3/5.4
	'icuin49.dll',
	'icuio49.dll',
	'icule49.dll',
	'iculx49.dll',
	'icutest49.dll',
	'icutu49.dll',
	'icuuc49.dll',
	'libeay32.dll',
	'libmhash.dll',
	'libmysql.dll',
	'libsasl.dll', //[modif oto] - Additions to avoid unknown error
	'msql.dll',
	'libmysqli.dll',
	'ntwdblib.dll',
	'php5activescript.dll',
	'php5isapi.dll',
	'php5nsapi.dll',
	'ssleay32.dll',
	'yaz.dll',
	'libmcrypt.dll',
	'php5ts.dll',
	'php4ts.dll',
	);
It may be necessary to stop and restart WampServer twice.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Warning PHP startup
Posted by: jonny (---.ias.bredband.telia.com)
Date: November 09, 2013 08:35PM

Hi,

I did as you told me but the same warnings still occur.
My server is Wampserver2.4-x86.exe

Jonny

Options: ReplyQuote
Re: Warning PHP startup
Posted by: jonny (---.ias.bredband.telia.com)
Date: November 10, 2013 10:28AM

And OS is WinXP + SP3 swedish.

Options: ReplyQuote
Re: Warning PHP startup
Posted by: Otomatic (Moderator)
Date: November 10, 2013 11:14AM

Hi,

It could be that Windows XP, even SP3, is a little too old for certain extensions. For example Apache 2.4 compiled VC11 can not run on WXP.
On the other hand, are you up to date regarding the redistribuable packages VC10 ?
See : [forum.wampserver.com]

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.