PHP Web Hosting

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi everyone,

I am new to PHP and I am trying to learn about using PHP to connect to
a MySQL database using PEAR modules. My current web hosting provider
compiles the PEAR modules into PHP so the code in many of the books I
have been using will not work. So I have 3 questions:

1. Is my web hosting company doing something unusual?
2. Can anyone recommend a web hosting company that uses PHP5, MySQL and
PEAR in a Linux environmnet?
3. Can anyone recommend an online tutorial or a book that discusses PHP
coding with PEAR in a compiled environment?

Thanks very much!

Re: PHP Web Hosting

Quoted text here. Click to load it

No.  However, you can always install your own PEAR modules in
your own web space, if you don't administer the server.  The PEAR
installation documentation explains how.


Re: PHP Web Hosting

Kimmo Laine wrote:
Quoted text here. Click to load it

Unless next_page.php generates PHP, the script with this include will
only get HTML.

Quoted text here. Click to load it


    if (isset($_GET['foo'])) {
      echo '<?php echo $_GET[\'foo\']; ?>';
    } else {
      echo '<?php echo \'Not available\'; ?>';

File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot

Re: PHP Web Hosting wrote:
Quoted text here. Click to load it

I don't use pear too much, but I am currently using NetworkRedux  
( and very happy with them.  PHP5.1.

Site Timeline