[PHP] Compiling php for MySQL and Apache 2 Newbie

2004-01-14 Thread James Marcinek
Hello Everyone,

I'm still having problems compiling the latest version of PHP. I have
several issues

- The apache 2 that was installed was from a Red Hat package. From what I
can tell it is configured in a manner that is similar to the
with-apxs2filter. The configuration file that point to this kind of
installation is already configured in apache. However there is no perl
script apxs of any kind.

My question is can somebody tell me how to set up the configure to include
apache 2 and MySQL without the apxs?

When I do a whereis mysql I get the following:

mysql: /usr/bin/mysql /usr/lib/mysql /usr/include/mysql /usr/share/mysql
/usr/share/man/man1/mysql.1.gz

When I do a whereis httpd (The RH distro uses httpd instead of apachectl
BUT it is still there as well):

httpd: /usr/sbin/httpd /etc/httpd /usr/lib/httpd
/usr/share/man/man8/httpd.8.gz

Before I was getting function not defined when I called the mysql_connect
function, now the page is blank. I can still run php scripts that do not
interact with a database with no problems.

Any help is appreciated,

Thanks

James

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Compiling php for MySQL and Apache 2 Newbie

2004-01-14 Thread R'twick Niceorgaw
Hi James,

James Marcinek wrote:

Hello Everyone,

I'm still having problems compiling the latest version of PHP. I have
several issues

- The apache 2 that was installed was from a Red Hat package. From what I
can tell it is configured in a manner that is similar to the
with-apxs2filter. The configuration file that point to this kind of
installation is already configured in apache. However there is no perl
script apxs of any kind.

  

install httpd-devel package. I believe it contains the apxs module.

HTH
R'twick Niceorgaw

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php