[OM Cooker] php / apache extensions

Blackcrack blackcrack at blackysgate.de
Sun Jan 24 01:29:36 EST 2016


PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
PHP Warning:  PHP Startup: memcache: Unable to initialize module
Module compiled with module API=20100525
PHP    compiled with module API=20121212
These options need to match
  in Unknown on line 0
Console has to be executed with the same user as the web server is operated
Current user: root
Web server user: apache
-------------------------------------------------------------------------
Execution it's endet. Drücken Sie die Eingabetaste oder Strg+C zum Beenden.
-------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------------------
When you update the version of PHP (especially when going from version 
X.Y to version X.Z), you must update the PHP extensions as well.


This is because PHP extensions are developped in C, and are "close" to 
the internals of PHP -- which means that, if the APIs of those internals 
change, the extension must be re-compiled, to use the new versions.

And, between PHP 5.2 and PHP 5.3, for what I remember, there have been 
some modifications in the internal data-structures used by the PHP 
engine -- which means extensions must be re-compiled, in order to match 
that new version of those data-structures.


How to update your PHP extensions will depend on which system you are using.

If you are on windows, you can find the .dll for some extensions here : 
http://downloads.php.net/pierre/
For more informations about the different versions, you can take a look 
at what's said on the left-sidebar of windows.php.net.

If you are on Linux, you must either :

     Check what your distribution provides
     Or use the pecl command, to re-download the sources of the 
extensions in question, and re-compile them.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ml.openmandriva.org/pipermail/om-cooker_ml.openmandriva.org/attachments/20160124/a385a58d/attachment.html>


More information about the OM-Cooker mailing list