PHP
PHP 5.3.x and Date Error in Drupal
After i've upgraded my PHP to the latest version, i found there is a problem with my PHP date function.
here is the error example :
"warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function.
Here is the fastest way to fixed this issue.
Login as root into your server
Edit php.ini
#pico /usr/local/etc/php.ini
How To Upgrade PHP5 To Latest Version FreeBSD Without PCRE Error
I just found this problem when i trying to upgrade my PHP 5.2.x to PHP Latest 5.3.x.
When i trying to upgrade all PHP5 extension i found that there is a problem with the PHP PCRE.
Here is the error :
============================================================================
In file included from /usr/local/include/php/main/../main/php_config.h:2764,
from /usr/local/include/php/Zend/zend_config.h:1,
How To Fixed Fatal error: failed to convert frame to gd image problem using ffmpeg
Yesterday i have a problem with my php-ffmpeg it shows "failed to convert frame to gd image" from one of my web applications
So after searching and testing here is the solution to fixed this issue :
First, make sure your php supported gd (compiled with gd)
#php -i | grep gd
Install re2c
How To Compile PHP 5.3.x To Support Perl Extensions
What is PECL Perl ?
PECL Perl is extension embeds Perl Interpreter into PHP. It allows execute Perl files, evaluate Perl code, access Perl variables and instantiate Perl objects.
In this tutorial i will describe how to compile PECL perl with PHP 5.3.x
I found that latest pecl perl-1.0.0.tgz can't compile with PHP 5.3.x
How To Install HTTPD PHP and MySQL OpenSUSE 11.1 x86_64
In This Tutorial, We will start to install and configure Apache Webserver, PHP and Mysql from Source / tar.gz in O/S OpenSUSE 11.1 x86_64 bit O/s
If you are searching how to install apache php and mysql for linux o/s 32bit, please click HERE
So I assume you already have OpenSUSE11 installed, up and running.
This tutorial also can be implemented in other O/S such as : Centos and Fedora or other 64bit Linux O/S.
Login into your server with root access.
How To Configure PHP To Support Korean Encode
In This Tutorial i want to configure my PHP to support korean encode.
here is a short tutorial how to do that
In order to support other encode we need to reconfigure PHP with mbstring
Login into the server as root
Configure PHP 5.3.0 with mbstring
#cd /root/php-5.3.0
#./configure --enable-mbstring
#make && make install
Modify php.ini
#vi /etc/php.ini
How to Install and Configure Anon Proxy Server
What is Anon Proxy Server ?
Anon Proxy server is A fast http, https, socks caching proxy server. Easy web based configuration, optional p2p anonymous mode.
Requirements:
- PHP
- Apache Web Server
Download and Unzip Anon Proxy server
Login into the server with root
$cd /var/www/html
How to Install Nginx, PHP-FPM, MySQL and Xcache in FreeBSD 7.2
what is nginx ?
nginx (pronounced as "engine X") is a lightweight, high performance web server/reverse proxy and e-mail (IMAP/POP3) proxy, licensed under a BSD-like license. It runs on UNIX, GNU/Linux, BSD variants, Mac OS X, Solaris, and Microsoft Windows[1].
What is php-fpm ?
PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busy sites.
Installing MySQL
How To Configure PHP To Support Mcrypt
In this tutorial i will write a short tutorial to install PHP to support Mcrypt.
If you are searching about Installation Apache, PHP and Mysql.
Please directly click this url http://www.wowtutorial.org/tutorial/172.html
MCrypt is a replacement for the old crypt() package and crypt(1) command, with extensions. It allows developers to use a wide range of encryption functions, without making drastic changes to their code. It allows users to encrypt files or data streams without having to be cryptographers.
Configure Apache 2.2, PHP with Mod_FCGI Module In FreeBSD Ports
In This tutorial, I assume you already have Apache 2.2, PHP 5.2.11 and MySQL 5.1.40 installed in your FreeBSD server using FreeBSD Ports.
I Will try to reconfigure PHP to using Mod_FCGI / FastCGI instead of using mod_php5.
mod_fcgid has a new process management strategy, which concentrates on reducing the number of fastcgi server, and kick out the corrupt fastcgi server as soon as possible. It is a binary compatibility alternative to Apache module mod_fastcgi; so your existing fastcgi programs do not need to be recompiled. mod_fcgid supports suEXEC.
Recent blog posts |
Recent comments
1 day 17 hours ago
1 week 2 hours ago
1 week 1 day ago
2 weeks 2 days ago
4 weeks 1 day ago
4 weeks 2 days ago
4 weeks 6 days ago
5 weeks 1 day ago
5 weeks 2 days ago
6 weeks 2 days ago