Welcome, Guest. [ Log In ]
'PHP' Help Folder   PHP
Search KBase


Related Links:
· MySQL
· PHP.NET
· Do you support ASP?

Top 13 in this Area:
1. What's the difference between PHP-CGI and PHP as an Apache module?
2. PHP Security
3. Compiling your own custom PHP
4. Can I run a phpbb forum (message board) on my site?
5. Do you support this PHP module or extension?
6. Do you support PHP? PHP3? PHP4? PHP5?
7. What extension should my php files have?
8. How Do I Install Gallery 1.4?
9. How do I switch my PHP between running as a CGI and an Apache module?
10. Do you support PEAR with your PHP?
11. Do you have netPBM installed?
12. Turning off register_globals for a specific domain/directory
13. Do you have curl installed in your php?

 
PHP Description
PHP is a scripting language - similar to ASP - which allows you to make dynamic web pages easily. Usually it is used in conjunction with a MySQL database to make for nice data-driven, interactive content. DreamHost supports PHP4 on all plans.

There are two ways to run PHP at DreamHost.. as a regular CGI (the default configuration, highly recommended), or as an Apache Module (not recommended).

Please note, PHP does not work in WebDAV-enabled directories.

Last updated: Jul 26, 2004.

Sub-Areas of PHP
Folder Extra Info
Question Turning off register_globals for a specific domain/directory
Some scripts require that the register_globals setting be turned off in order to work. By default, register_globals is enabled on all DreamHost-hosted domains. UNLESS you have php5 on.. for php5 reg... (more)
Question Do you support PEAR with your PHP?
Yes! PEAR is included in the default distribution of PHP as of 4.3.0, which we have (at least.. actually a more recent version) installed on all servers! Just run the command pear list on your... (more)
Question What's the difference between PHP-CGI and PHP as an Apache module?
There are two ways you can choose to have your PHP executed at DreamHost. The default for new customers is now PHP-CGI. This is by far the preferred method. The benefits of running PHP-CGI are: ... (more)
Question How do I switch my PHP between running as a CGI and an Apache module?
Of course you've already read all about the differences in PHP-CGI and PHP as an Apache module, right? And you know that the default set up is as PHP-CGI, which is heavily preferred, right? If you... (more)
Question How Do I Install Gallery 1.4?
These instructions require shell access. Steps : Untar the archive into your desired location. From the shell, inside the gallery dir run the command sh ./configure.sh Point your browser ... (more)
Question Do you have curl installed in your php?
We sure do! It should just work with your php scripts, including php-cgi. And here's the CURL Information: libcurl 7.9.5 (OpenSSL 0.9.6c) (ipv6 enabled)
Question Compiling your own custom PHP
If you need to use PHP modules we do not support, you can (if you're lion-mettled) compile PHP in your home directory and tell PHP scripts to use this binary instead of the default system PHP binary. ... (more)
Question PHP Security
If you are having trouble with PHP commands like backticks (``), system(), exec(), passthru(), and others that spawn external commands, or are having trouble with errors like: open_basedir Restri... (more)
Question Do you have netPBM installed?
We sure do! This is set up on all of our servers. This is in the usual place as all of our binaries: /usr/bin, so your scripts shouldn't have any trouble executing this.
Question Can I run a phpbb forum (message board) on my site?
You sure can! Phpbb is free, open source software for running a forum. Phpbb runs on MySQL, so you can use any DreamHost plan to run your very own forum on your website using this exciting, highl... (more)
Question Do you support this PHP module or extension?
We support a fair number of PHP modules. Here's a list of some of them: calendar ctype curl GD (Version 2, TTF, GIF, PNG, JPG, PNG, WBMP, XMB) mysql overload pcre xml zli... (more)
Question Do you support PHP? PHP3? PHP4? PHP5?
Yes, yes, yes and yes! Support for PHP4 is a standard feature on all DreamHost accounts.. by default we are running 4.3.10 on all servers. You can also turn PHP5 (as a CGI, not an apache module) on ... (more)
Question What extension should my php files have?
Our servers are configured to recognize files with the extensions .phtml , .php , .php3 , .php4 , or .pcgi as PHP. If your PHP files aren't working, it may be that you haven't named them with a... (more)
Link PHP.NET