[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] Does Qube3 come with MySQL support in PHP? [was: (no subject)]
- Subject: Re: [cobalt-developers] Does Qube3 come with MySQL support in PHP? [was: (no subject)]
- From: Hendrik Runte <cobalt@xxxxxxxxxx>
- Date: Fri Apr 6 05:40:53 2001
- List-id: Discussion Forum for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
>
>
> Hi, I have the same problem and this answer is OK. Now my question is my
> Qube have PHP v4.0.1, Can I use .php3 files?
>
> Please help me
>
> Thanks
>
> Rod
Hi Rod,
I'm not familiar with the cobalt php packages on Qubes, but PHP4.0.1
supports the following suffixes:
.php
.php3
.php4
.phps
The latter one is exlusively used for displaying source codes.
If you want to know wether your Qube supports these file types, have a look
at both /etc/httpd/conf/http.conf and /etc/httpd/conf/srm.conf
In one of these two apache config files you'll find something like this:
# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
DirectoryIndex index.html index.htm index.shtml home.html home.htm index.php
index.php3 index.phps index.phtml
If it looks like this, your Qube will run files with these extensions.
Further settings can be made in php.ini
Just have try: create a .php3 file and test it. Please note that there are
some (little) differences between Version 3 and 4 of PHP. See
http://www.php.net and http://www.zend.com
Regards,
Hendrik.