How to activate PHP 4?

To execute your PHP scripts with PHP 4:

1) Login to cPanel
2) Under Software/Services section, click "PHP Configuration"
3) In "The ".php" file extension will be processed by", choose "PHP 4"
4) Click "Update"

Now all the .php files of your hosting account will be processed by PHP 4.

NOTE:
It is still recommended that you upgrade your scripts to PHP 5 compatible for better performance and security.

  • 2 Korisnici koji smatraju članak korisnim
Je li Vam ovaj odgovor pomogao?

Vezani članci

What is the database hostname?

If your scripts are installed in our server, please use "localhost" as the database hostname. If...

Where should I install CGI scripts in my account?

All CGI scripts (.cgi, .pl files) should be uploaded to the cgi-bin folder, in your account.Be...

How do I enable/disable PHP register_globals and safe_mode?

To enable/disable register_globals and safe_mode in your account, please Create a php.ini file...

Which scripting languages do you support?

Currently we support PHP 4, PHP 5, CGI (Perl) and Ruby On Rails.

How to enable PHP 5.3?

It is easy to enable PHP 5.3 in your web site:   Create a file .htaccess in the web folder...