php-install Digest 2 Oct 2001 13:04:26 -0000 Issue 485

Topics (messages 4462 through 4466):

Re: php 4.01, mySQL 3.23, Redhat 7.1 db connection
        4462 by: Mike Dick

PHP and both cgi and module, using nonexistent php.ini files...
        4463 by: Eric D Nielsen
        4464 by: Rasmus Lerdorf

Can I get some help with adding gdlib support to my php installation??
        4465 by: Iván Milanez Castellanos

Apache / SSL install problem
        4466 by: Mike Robinson

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 ---
Gary,

Redhat comes with an additional RPM that you can install, named
php-mysql-4.0.xxxx that will add the support you want.
See http://www.redhat.com/swr/i386/php-mysql-4.0.4pl1-9.i386.html for more
info, but the file should be on your Redhat CD.

>From the page above:
The php-mysql package contains a dynamic shared object that will add
MySQL database support to PHP.  MySQL is an object-relational database
management system.  PHP is an HTML-embeddable scripting language.  If
you need MySQL support for PHP applications, you will need to install
this package and the php package.

Hope that helps,
Mike
"Gary" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I installed mySQL 3.23 (works), php 4.01 from RPM (works) on Redhat 7.1
>
> When I try to access a db from a php script using mysql_connect it says
> "Fatal error: Call to undefined function: mysql_connect() in..."
>
> From reading it looks like the php RPM install didn't specify to use mySQL
> (yeah I'm new to this).
>
> The instructions I found at
> http://www.php.net/manual/en/faq.installation.php#AEN62909 specify php3.
>
> Are there installation instructions for php4? If I need to, how do I
remove
> php and start over again?
>
>
> Thanks,
>
>
> Gary
>
>


--- End Message ---
--- Begin Message ---
I am trying to install sf-genericinst (SourceForge Generic Install) which wants both
module and cgi versions of php installed for various tasks.  I have installed both
versions.  The cgi version has been confirmed to work.  The module version has not as 
apache is very much not happy.  Part of the sf-genericinstall setup script fails while
executing php scripts (cgi invocation) because it is not using the correct include 
path.

Both modules were configured with --with-config-file-path=stuff/apache/conf and the 
php.ini
file is placed in that directory.  There is no other php.ini file in the system. there 
are
the -dist and -optimized in the php install directory.  I have added the needed paths 
to 
the php.ini file in apache/conf/ but the script still fails and when it lists the 
include
path is does not contain the added directories.

Where is the cgi version sourcing its php.ini from?  Is it simply not using one?  How 
do I
make it use one?

Many thanks
Eric Nielsen
--- End Message ---
--- Begin Message ---
phpinfo() tells you exactly where it is looking for php.ini

On Mon, 1 Oct 2001, Eric D Nielsen wrote:

> I am trying to install sf-genericinst (SourceForge Generic Install) which wants both
> module and cgi versions of php installed for various tasks.  I have installed both
> versions.  The cgi version has been confirmed to work.  The module version has not as
> apache is very much not happy.  Part of the sf-genericinstall setup script fails 
>while
> executing php scripts (cgi invocation) because it is not using the correct include 
>path.
>
> Both modules were configured with --with-config-file-path=stuff/apache/conf and the 
>php.ini
> file is placed in that directory.  There is no other php.ini file in the system. 
>there are
> the -dist and -optimized in the php install directory.  I have added the needed 
>paths to
> the php.ini file in apache/conf/ but the script still fails and when it lists the 
>include
> path is does not contain the added directories.
>
> Where is the cgi version sourcing its php.ini from?  Is it simply not using one?  
>How do I
> make it use one?
>
> Many thanks
> Eric Nielsen
>
>

--- End Message ---
--- Begin Message ---
I've recently migrated my site to PHP, and everything works fine but I
installed a statlog tool made in PHP that uses gdlib to make dinamic images
in order to make graphs of the stats on my site.

My problem is that when I compiled PHP I had no need for the gdlib support
and didn't compile it in, so now that I need it I go to the gdlib page and
download the gdlib source, and the jpeg support source, and the png support
source and follow the instructions but I still don't have graphics support
enabled on my PHP build, in fact if I do a phpinfo() I get that the
compilation instructions are with-apache and with-mysql, and some other
things but not the gdlib support.

Please help.

TIA.

Iván


--- End Message ---
--- Begin Message ---
I added mod_ssl to Apache-1.3.20 on a Redhat-7.1 box running
php-4.0.6. I initially forgot to reinstall php after adding mod_ssl
and got the usual warnings about -DEAPI when starting apache.

I recompiled php-4.0.6 from a new tarball. Now apache dies when I
try and start it with ssl support, won't start at all and nothing in the
logs.

Starting it without ssl and it works fine.
PHP was configured with apxs.

I've done this dozens of times without a problem.
What did I miss this time around, any clues?  Thanks.

Mike Robinson



--- End Message ---

Reply via email to