php-install Digest 4 Dec 2002 13:53:07 -0000 Issue 1146

Topics (messages 9301 through 9305):

a bit lost.....
        9301 by: marco penca
        9304 by: marco penca

problems starting executing php
        9302 by: Eugene Sherbin

Re: HELP!!!- Install Issue-HELP STILL NEEDED
        9303 by: Bob Butkins

PHP as mod with MySQL
        9305 by: Jim Bartlett

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message --- thanks for the answers about php....
i have 5 virtual running fine on w2 apache2.4 they run fine... basically i made the sites in the old way... now i downloaded nuke to play a bit with it. i had never have problems with images and cgi, and i know is a very simple answer but i have read through the directives and i don see hoe, in a directory that is cgi (php executable), how can i call images and make the server not to try to exec them? is with handler directive? i don`t see it....
it start to execute fine but call the images and says "file not executable"

thanks in advance...
marco
--- End Message ---
--- Begin Message --- thanks for the answers about php....
i have 5 virtual running fine on w2 apache2.4 they run fine... basically i made the sites in the old way... now i downloaded nuke to play a bit with it. i had never have problems with images and cgi, and i know is a very simple answer but i have read through the directives and i don see hoe, in a directory that is cgi (php executable), how can i call images and make the server not to try to exec them? is with handler directive? i don`t see it....
it start to execute fine but call the images and says "file not executable"

thanks in advance...
marco
--- End Message ---
--- Begin Message ---
Hello, I'm currently running apache 1.3 win32 and php in a zip version 4.2.3, i 
finally got the sapi to start in apache... however it tries to save them instead of 
running them thru apache... i'm trying a simple code like <? phpinfo(); ?> 

thanks for your help
--- End Message ---
--- Begin Message ---
Still having a problem as follows:
I am still getting error messages related to
this line in the httpd.conf:

"AddModule php4_module /usr/lib/apache/libphp4.so"

or 

"LoadModule php4_module /usr/lib/apache/libphp4.so"

Both return error messages indicating that either Apache

cannot Load or Add the module.

I have confirmed that the path

"/usr/lib/apache/libphp4.so" is correct, and that the

libphp4.so is located there.

Any other ideas?

BobV





"Jerry M . Howell II" <[EMAIL PROTECTED]> wrote in message 
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I also have the following in my httpd.conf file
> 
> LoadModule php4_module        libexec/libphp4.so
> 
> AddModule mod_php4.c
> 
> <IfModule mod_php4.c>
>         AddType application/x-httpd-php .php .php4 .php3 .phtml
>         AddType application/x-httpd-php-source .phps
>     </IfModule>
> 
> <IfModule mod_dir.c>
>     DirectoryIndex index.html index.htm index.shtml index.php index.cgi
> </IfModule>
> 
> You probably won't need all of these. I think, if I'm not mistaken you'll
> need
> LoadModule php4_module        libexec/libphp4.so (or whatever the mod name is)
> 
> AddModule mod_php4.c ( same,depends on the name of the c file)
> 
> AddType application/x-httpd-php .php .php4 .php3 .phtml
> (you can exclude any extensions you won't use)
> 
> IfModule mod_dir.c>
>     DirectoryIndex index.html index.htm index.shtml index.php index.cgi
> </IfModule>
> 
> you only need to add index.php if you plan to make it a default index page
> 
> also I think the order and area in the httpd.conf file maters so you might wanna
> do a google search and find out. hope this helps
> 
> On Mon, 2 Dec 2002 20:46:09 -0800
> "Bob Butkins" <[EMAIL PROTECTED]> wrote:
> 
> > I am running the following:
> > Red Hat 7.3 Kernel 2.4.18-3
> > Apache 1.3.27
> > MySQL 3.23.53a rpm binary
> > PHP 4.2.3
> > 
> > Apache is running fine and serving up web pages.
> > 
> > When I run the PHP test page, it indicates PHP is not running.
> > 
> > The httpd.conf file has this line in Section2:
> > AddType application/x-httpd-php .php
> > 
> > I am not sure PHP has been installed correctly, since Apache is not starting
> > it up.
> > Where should PHP files be installed?
> > On install of PHP, they were extracted into the folder for the domain that
> > is using
> > PHP.
> > 
> > I am eventually wanting to get VBulletin installed (it was working
> > previously,
> > but I had to reformat server drives).
> > 
> > PLEASE RESPOND ASAP...I have a deadline that is critical!!
> > 
> > Thank You.
> > [EMAIL PROTECTED]
> > 
> > 
> > 
> > 
> > -- 
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> > 
> > 
> > 
> 
> 
> -- 
> Jerry M. Howell II
--- End Message ---
--- Begin Message ---
I am running Red Hat 7.2. I have MySQL 3.23.x installed from RPM's. I
compiled Apache 1.3x and mod_auth_mysql. Now I need to compile PHP as a
module for Apache (via apxs) but when I do, I get a nice little warning at
the end. It states if I am using PHP with other MySQL modules (ie
mod_auth_mysql) I must point PHP to my MySQL dir instead of using built-in
support. But MySQL is spread out over 6 or more directories (/var/lib/mysql,
/usr/lib/mysql, /usr/bin, etc). Which directory should I point to?

Note: I tried using a purely RPM install on RedHat 8.0, but then the
PostNuke install script (install.php) will not advance beyond the first page
(Set Language). Older versions of the components (those in RH 7.2) seem to
work better, the install script works fine.

Thanks for any help.

Jim.


--- End Message ---

Reply via email to