-
Notifications
You must be signed in to change notification settings - Fork 2
Home
- Introduction
- Installation
-
- Windows
-
- Linux
- Introduction :
AtomePHP
is a DOFUS 1.29.1
emulator written entirely in PHP
, fully developed by the team, from scratch (not based on any other emulator), the AtomePHP
goal is to open a way for Web developers and to give them the opportunity to delve deeper into the world of emulators without having to change their favorite language.
- Installation :
a. Windows :
-
Download the latest verison of PHP
5.6.0RC1-ThreadSafe
(http://windows.php.net/downloads/qa/php-5.6.0RC1-Win32-VC11-x86.zip) -
Unzip the content of the archive in the bin/php directory
-
Download the latest version of
pThreads
(http://windows.php.net/downloads/pecl/releases/pthreads/2.0.7/php_pthreads-2.0.7-5.6-ts-vc11-x86.zip) -
Copy
pthreadVC2.dll
located in the archive pthreads in thebin/php
directory and thephp_pthreads.dll
file inbin/php/ext
NOTE: If there is an error related to msvcr110.dll
download the latest version of Visual C + +
(http://www.microsoft.com/fr-FR/download/details.aspx?id=30679)
b. Linux :
sudo apt-get install gcc make libzzip-dev libreadline-dev libxml2-dev libssl-dev libmcrypt-dev libcurl4-openssl-dev lib32bz2
cd /usr/local/src
wget http://www.php.net/distributions/php-<version>.tar.gz
tar zxvf php-<version>.tar.gz
cd /usr/local/src/php-<version>
./configure --prefix=/usr --with-config-file-path=/etc --enable-maintainer-zts --with-mysql --with-mysqli --with-pdo-mysql --with-readline --enable-mbstring --enable-zip --enable-sockets --enable-sysvsem --enable-sysvshm --with-mhash --with-pcre-regex --with-gettext --enable-bcmath --enable-json --enable-pcntl --with-pear
make -j4 && make -j4 install
-
cp php.ini-development /etc/php.in
i pecl install pthreads
echo "extension=pthreads.so" >> /etc/php.ini