Comments on Install PHP 5.3.0/Lighttpd On Debian (Lenny) With Imap, MySQL, Sqlite3 And ImageMagick Support
Install PHP 5.3.0/Lighttpd On Debian (Lenny) With Imap, MySQL, Sqlite3 And ImageMagick Support This tutorial covers the setup of PHP 5.3.0/Lighttpd on Debian (lenny) with imap, mysql, mysqli, sqlite3, ImageMagick and mycrypt support.
7 Comment(s)
Comments
Thank you very much, it is really usefull
Again if you bulgarian here you find howto compile and install php 5.3 on Debian Lenny- http://mpetrov.net/kompilirane-i-instalirane-na-php-53-na-debian-lenny
Hi,
I have written a PHP script to find alexa rank. But its not working on Debian kernel. I have tried it on Redhat Kernel and windows , it works fine.
Please let me know...
Here is the Original Page: http://www.techunits.com/content/2397/how_to_find_alexa_pagerank_with_php
Not meaning to come across as nasty here, but this guide is not correct - it's not the correct Debian way to simply grab some build dependencies and then ./confgure make make install away. You should be building a Debian package from your source and using that to install and maintain your binaries. Doing it the simple way above will just throw binaries all over the place and pollute your system if you need to upgrade it or change your version.
Look for a guide on building Debian packages - you can apt-get source php5 from within Debian and see how they have Debianized the PHP as a package, properly.
M
Tak you for the this nice howto.!
install php5.3.3
just changed
wget http://us3.php.net/get/php-5.3.0.tar.gz/from/this/mirror
to
wget http://us3.php.net/get/php-5.3.3.tar.gz/from/this/mirror
no problems there using the MySQL Vhost
https://www.howtoforge.com/creating-simple-vhosts-with-mod_mysql_vhost-on-lighttpd-debian-etch
with this one NO PROB what so ever Debian 5.0.6 (Lenny)
AND many tanks for the site.! using it allot.!
Regards
Hi,
thanks for your great 'tutorial'.
I'm new to linux.
I've followed your steps (./configure ..... , make , make install )
everything worked ok.
But when I call a phpinfo() it still shows my old version (5.2.x) :(
Even if I restart apache.
After installing following the setup above..by replacing the php version and imagick as below:
http://pecl.php.net/get/imagick-3.0.1.tgz
http://www.php.net/get/php-5.3.7.tar.gz/from/this/mirror
the php-cgi was installed in different directory....whereby you have to change as below:
## FastCGI programs have the same functionality as CGI programs, ## but are considerably faster through lower interpreter startup ## time and socketed communication ## ## Documentation: /usr/share/doc/lighttpd-doc/fastcgi.txt.gz ## http://www.lighttpd.net/documentation/fastcgi.html server.modules += ( "mod_fastcgi" ) ## Start an FastCGI server for php (needs the php5-cgi package) fastcgi.server = ( ".php" => (( ## "bin-path" => "/usr/bin/php-cgi", "bin-path" => "/usr/php/bin/php-cgi", "socket" => "/tmp/php.socket", "max-procs" => 2, "idle-timeout" => 20, "bin-environment" => ( "PHP_FCGI_CHILDREN" => "4", "PHP_FCGI_MAX_REQUESTS" => "10000" ), "bin-copy-environment" => ( "PATH", "SHELL", "USER" ), "broken-scriptfilename" => "enable" )) )