
Originally Posted by
end.soldire
i did your road , and can fix my problem.
please tell to me for what do i to add curl and mbstring and ioncube and zend to my server.
when did by easy apache added (curl , mbstring, ion ,...) , i hade again thsi problem : not any handle for php 5 , i cant choose, nothing
Curl, Mbstring, Ioncube, and Zend Optimizer generally don't have any
conflicts with one another in terms of known compile problems in Apache
so if your Apache build is failing, it is either because of other options
you selected that are causing problems or it could also be that there
is something wrong with your server such as missing library files or
core utilities required for a proper compiler build environment.
Does EasyApache show any error messages towards the end of
the build log or anything you notice on screen that looks like it
might be an error message? If I saw that, I might be able to tell
you more specifically what the problem is on your server.
Another option is not using EasyApache and manually building PHP ...
If you would like to manually build PHP, I can tell you how to do that
but I am getting the sinking feeling that may be more than you are
used to handling and wonder if it might be better for me to just go
and check to see if you have some sort of problem with your server
and just go compile the PHP for you.
If you want to try to manually build, here is the basics for what you ask:
1. Create a test PHP script page with a phpinfo() screen:
Code:
<?php phpinfo(); ?>
2. Looking at your test page in your web browser, take a note of and
copy down all the ./configure options shown, you'll need those later.
3. Update standard system components and libraries:
Code:
# yum upgrade
# yum install gcc glib* libexif libjpeg* libpng* gifl* libmcrypt libgcrypt coreutils make bzip* freetype*
# cpan
-- install CPAN
-- reload CPAN
-- exit
# /scripts/checkperlmodules
# /scripts/upcp
4. Install curl for your server (since you said you wanted it) ...
Code:
# yum install curl*
5. Get a copy of PHP from the PHP.NET download site and compile:
Code:
# cd /usr/local/src
# wget http://us3.php.net/get/php-5.2.10.tar.gz/from/this/mirror
# tar zxvf ./php-5.2.10.tar.gz
# cd php-5.2.10
# ./configure !!!put your current options here!!! --with-curl --with-curl-wrappers --enable-mbstring
# make
# make test
# make install
6. Next, get a copy of Zend Optimizer ...
Code:
Go to http://www.zend.com/en/downloads/ and download
the appropriate version of "Zend Optimizer" for your server
and transfer that file to your server.
Zend has a self installer program that will do everything for
you so all you need to really do is run the install program you
download and pretty much just click on through everything as
the default choices on everything are usually correct.
7. Install Ioncube ...
Code:
Go to http://www.ioncube.com/loaders.php to find the
appropriate Ioncube loader for your server type.
Ioncube also has an installer that you can use. Really
all you need to do is simply add an "extension" line to you PHP.INI
located in /usr/local/lib to load the ioncube loader and their
installer will do that for you
If you did everything correctly, restart apache
Code:
service httpd restart
That's pretty much how to do the installation you ask manually ....